Forum Moderators: not2easy

Message Too Old, No Replies

Header Image Replicating itself

         

renet

7:31 pm on Aug 28, 2008 (gmt 0)

10+ Year Member



I have a header image but when putting in css file it replicates itself across the top of the header. I do not see any 'repeat' code that would cause this.

body { margin:1px; font-size:0.8em; line-height:16px; background-color:#000000; font-family: "Trebuchet MS", "Myriad Pro", Arial;}
a { color:#000000;}
a:hover { text-decoration:none;}
#container { background: url(images/) 0 50px #000000;}
#header { background: url(images/header.jpg ) #000000; }

Regards,

David

Demaestro

7:38 pm on Aug 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It is set to repeat by default you have to tell it not to repeat.

#header {
background: url(images/header.jpg ) #000000;
background-repeat:no-repeat;
}

renet

10:45 pm on Aug 28, 2008 (gmt 0)

10+ Year Member



Thank you,

That was too easy of a fix!

Regards