-
HTML Background.
Hey,
Im doing a myspace design and i need to put a background that repetas downwards. k im a noob at html so dont laugh :)
{background}
body
{ font-size: 1px;
line-height: 1px;
background-color: 000000;
background-image: url("http://img236.imageshack.us/img236/9...kgroundfz2.jpg");
background-repeat: repeat-n;
background-position: top center;
font-family: Arial, sans-serif;
color: ffffff;
}
What have i done wrong cos it dont work. Its probs something realy simple but im thick lol :)
-
HTML Code:
<body background="http://img236.imageshack.us/img236/9080/backgroundfz2.jpg">
Simple as ;)
-
Or... change repeat-n to repeat-y (i think)
:)
-
repeat-n does not exist
its either
repeat-x (horizontally)
repeat-y (vertically)
no-repeat (place image only once)
-
HTML Code:
body
{font-size: 1px;
line-height: 1px;
background-color: #000000;
background-image: url ("http://img236.imageshack.us/img236/9080/backgroundfz2.jpg");
background-repeat: repeat-y;
background-position: top center;
font-family: Arial, sans-serif;
color: #ffffff;
}
You missed the '#' infront of the colours and repeat-n doesnt exist :)