SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast Elmiee's Avatar
    Join Date
    Oct 2005
    Location
    England
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Container in Mozilla

    SITE HERE
    If you look at it in IE it looks fine, but in firefox the container doesn't seem to stretch which leaves the content to carry on by itself, I've tried a few things that I think might have worked, but havn't!

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Try this:

    Code:
    html>body #container {height: auto;} /* Mozilla Height Fix */

  3. #3
    SitePoint Enthusiast Elmiee's Avatar
    Join Date
    Oct 2005
    Location
    England
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do I replace 'html,body {height: 100% } ' on the CSS File, or do I put that in the #container section? I tried both, but didn't seem to work

  4. #4
    SitePoint Wizard drhowarddrfine's Avatar
    Join Date
    Aug 2005
    Posts
    3,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Google for "clearing floats". FF is acting properly. IE is screwing up by extending the div.

  5. #5
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


Bookmarks

Posting Permissions

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