Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-24-2007, 10:33 PM   PM User | #1
pianistsk8er
New to the CF scene

 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
pianistsk8er is an unknown quantity at this point
Margin-bottom issue in Firefox

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
pianistsk8er is offline   Reply With Quote
Old 05-24-2007, 11:04 PM   PM User | #2
cyberlogi
New Coder

 
Join Date: Apr 2007
Location: Silicon Valley California
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
cyberlogi is an unknown quantity at this point
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)
cyberlogi is offline   Reply With Quote
Old 05-25-2007, 03:07 AM   PM User | #3
pianistsk8er
New to the CF scene

 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
pianistsk8er is an unknown quantity at this point
Thank you. That seems to have fixed the problem!
pianistsk8er is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:27 PM.


Advertisement
Log in to turn off these ads.