Sent by Holly Bergevin on 13 July 2004 01:01
From: "Matt Tibbits" [EMAIL-REMOVED]>
>I have a little bug in IE6
> hovering over the link seems to expand the page
>footer
>The 1st example is here where the footer is actually expanded :
>http://mtibbits.tripod.com/ietestbroke.htm
>
>And here, where there is 1 extra list link, the page seems to expand pushing
>the footer down :
>http://mtibbits.tripod.com/ietestbroke2.htm
Hi Matt -
Well, one of these was pretty easy but the other one is a real head-scratcher. Okay, easy one
first.
For this page - ietestbroke2.htm - if you'll add 1px bottom padding to a (new) selector for
.contents, the expanding should stop.
Now, for the other page, in which the footer is just taller than it is in other browsers -
ietestbroke.htm - I found that for every additional pixel of top-padding added over 1 pixel, IE
actually doubles the amount of top padding it applies. This does not seem to be the case with bottom
padding.
You can adjust the padding on that div, something like -
padding: 2px 3px;
and there will only be 1px difference in the display between IE and Moz. Alternately, you can keep
your padding the same and add -
height: 1%;
to that div, and IE will quit doubling the top padding. However, there will still be 1px difference
in the display betewen IE and Moz. This time, IE is smaller...
Your choice, weird bug...
hth,
~holly
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/