changed it to ID, was fiddling around with the code and uploaded the wrong version.
problem is that in FF, the wrapper color disapppears on the top of the box and on the bottom of the box. the space occupied by the wrapper does not, just the background color. in IE, the background color shows up.
something else that is strange, if I use Firebug and highlight the wrapper, the wrapper starts 20px down from the top of the page. there is no margin or padding on the wrapper and should be at the top of the screen, the #box has a margin of 20px which seems to be affecting how the wrapper is displaying. I know I can get around this situation by specifying padding: 20px on the wrapper but I would like to know why this is happening.
it shows on top and bottom of the box in IE7, but not in FF3.5, why?
Al
should be
problem is that in FF, the wrapper color disapppears on the top of the box and on the bottom of the box. the space
occupied by the wrapper does not, just the background color. in IE, the background color shows up.
I will attach images
IE:
[attachment=1]IE_image.JPG[/attachment]
FF:
[attachment=0]FF_image.JPG[/attachment]
Al
of the page. there is no margin or padding on the wrapper and should be at the top of the screen, the #box has a
margin of 20px which seems to be affecting how the wrapper is displaying. I know I can get around this situation by
specifying padding: 20px on the wrapper but I would like to know why this is happening.
Al
Try this for now:
* {margin: 0;
padding: 0;
}
Al
Basically what is happening is the containing div is collapsing. Just add overflow:hidden; to #wrapper.
Al