Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    New Coder
    Join Date
    Apr 2007
    Location
    Silicon Valley California
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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)

  • #3
    New to the CF scene
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you. That seems to have fixed the problem!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •