Reputation: 20775
I have this example here.
I'd like you to follow these steps:
I want to know how to fix it so the grey bar continues across the whole page.
Upvotes: 1
Views: 113
Reputation: 9567
Use min-width
on the bar itself with the same width as the content in it...
I don't know what kind of cross browser compatiblity you want but this should work in IE7 > . Any more would make this a lot more complex.
Example here:
http://jsfiddle.net/sg3s/hrN5F/
Edit, this might solve it for older versions of IE too, can't test it though http://jsfiddle.net/sg3s/hrN5F/2/
Upvotes: 1
Reputation: 690
Instead of using css to set your bgcolor
and border
, use an image 1px wide and however high you need it to be.
`background:url('images/bg.gif') repeat-x;`
Be sure to include a 1px bottom border inside your bg
image.
Upvotes: 1