...

View Full Version : Margin-bottom issue in Firefox



pianistsk8er
05-24-2007, 11:33 PM
I have building my website, and a particular problem with the way that Firefox renders the pages of the site's forum has given me some grief. On all other parts of the site, there is some margin-bottom space between the bottom of the main container and the bottom of the browser window. But in Firefox (at least on Mac), the bottom of the container seems to stick to the bottom of the browser window. The CSS file is in common, but there are additional ones for the forum.

An example link is the forum's index: http://www.chopinmusic.net/forum/

If anyone could take a look at the code and give me a clue as to what's going on, I'd be quite thankful!

Thanks in advance,
PianistSk8er

cyberlogi
05-25-2007, 12:04 AM
It seems that Firefox ignores the bottom margin when there isn't another element before the close of the body. If you add

body
{
padding-bottom: 8px;
}

you can get your padding back. (at least in FF on PC)

pianistsk8er
05-25-2007, 04:07 AM
Thank you. That seems to have fixed the problem! :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum