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-17-2005, 04:51 PM   PM User | #1
DimFish
New Coder

 
Join Date: Feb 2005
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
DimFish is an unknown quantity at this point
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.
DimFish is offline   Reply With Quote
Old 05-17-2005, 06:44 PM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
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..
_Aerospace_Eng_ is offline   Reply With Quote
Old 05-17-2005, 07:13 PM   PM User | #3
JamieR
Senior Coder

 
JamieR's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 3,161
Thanks: 0
Thanked 5 Times in 5 Posts
JamieR is on a distinguished road
Global Whitespace reset has always worked for me - that should fix your problem
__________________
-Jamie
JamieR 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 12:15 AM.


Advertisement
Log in to turn off these ads.