PDA

View Full Version : Favour.



Aflux
29-11-2007, 04:54 PM
Can someone make this here image;

http://www.fovq.com/site/november_2007/topbarbg.gif

Repeat along the top of a page with no gaps using CSS then I'd be much grateful.

I've had an **** of a time with this.

Florx
29-11-2007, 05:03 PM
body
{
background-color: #F0F1F1;
background-image: url(http://www.fovq.com/site/november_2007/topbarbg.gif);
background-repeat: repeat-x;

}

craigg.
29-11-2007, 05:03 PM
// CSS
#top {
background: url(http://www.fovq.com/site/november_2007/topbarbg.gif);
repeat: repeat-x;
margin: 0px;}




<!-- HTML -->
<div id="top"></div>


you may want to add height to it. I wasnt too sure if you wanted it on the background of the page or as a div. Use the above if you want it as the main background.

RYANNNNN
29-11-2007, 05:10 PM
body {
margin: 0px;
}
div#top {
background: #000 url("images/topbarbg.gif") repeat-x;
height: 50000px;
}

Aflux
29-11-2007, 05:11 PM
Thanks both - been a while since I've coded anything, bit rusty ;)

Want to hide these adverts? Register an account for free!