#top { background: url(../images/bg.gif) repeat-x; margin:auto; }
<div id=top>Top</div>
body{ margin: 0px;}#top { position: fixed; background: #5f5f5f; height: 30px; width: 100%; margin: 0 auto;}
Im creating a top bar like you see on Facebook but not to have anything in it. I think it just adds to the design.
However it only streches 1000px. Any way of making it struck all the way across the page?
Thanks
Ben
http://jsfiddle.net/vjQ4s/
you just want a banner across the top of the page?
always on top?
Any chance of a screenshot?
I've tested this on different browsers and it goes all the way across
HTML
CSS