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 Coder
    Join Date
    Feb 2005
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to get shot of white gap in footer in WinIE6.

    Hi,

    In Win IE6, at the bottom of the footer, I get a white bar about 5px high just before the bottom of the window. (doesn't appear in Firefox, Safari etc).

    Here's the page:
    http://www.stridetraining.co.uk/

    Here's the CSS:

    #footer {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-style: normal;
    color: #333333;
    margin: 0;
    padding: 0;
    clear: both;
    text-align: left;
    height: 40px;
    }

    http://www.stridetraining.co.uk/css/stridecss1.css

    It's all been a bit hit and miss on this site, so I am expecting to have just done something a bit shoddily. Can anyone spot how to get rid of the white space?

    Many thanks,

    Andrew.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    This is possibly a margin problem with your paragraphs, or it could be the IE whitespace bug. Make sure your closing and beginning tags are on the same line, or IE6/win will possibly pick up a slight linebreak due to white space. I always add this bit to the very top of my CSS
    Code:
    * {
    margin:0;
    padding:0;
    }
    That sets all padding and margin to 0, you then of course would have to add padding or margin where needed manually.
    Last edited by _Aerospace_Eng_; 05-17-2005 at 08:33 PM.

  • #3
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Global Whitespace reset has always worked for me - that should fix your 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
    •