
Originally Posted by
Geezer D
Any clue why FF has the bigger open space at the bottom?
Code:
#outerbox {
background: url(images/main_header.jpg) no-repeat center top;
width: 950px;
margin:120px auto 0px;
}
The large open space at the bottom is generated from your #outerbox margin. To remove it, you need to specify the bottom margin separately from the top. Margin: 120px auto applies a 120 pixel margin to both the top and bottom. Adding a third number to the margin attribute will apply a separate margin value to the bottom margin.
Looking at your code, Firefox is displaying it properly while IE is doing it's own thing.
Hope this helps!
Ben
Bookmarks