Tim Luoma wrote:
> >peekaboo bug, the clear bug.
Bill Creswell wrote:
> I don't think it is either. Your picture is height 122, but if you set your
> div#top to 122px, the position is consistent in IE6/Moz, probably lower than
> you expected. (like IE's original position.
> > IE6 blows it again
> Hey - I like IE6 and so does 46% of the world! Just cause some guys in a
> think tank come up with a (fabulous) idea like CSS positioning, doesn't mean
> A giant can turn overnight.
Consider that MS is a member of that 'think tank', not an outsider
being imposed upon. So the continuing failure of MS to support
standards that others seem to have no problem with does irk
a few people, yes. I personally believe this 'giant' can be moved
with the proper application of pressure. Witness the box model.
About Tim's problem, it's a form of the guillotine bug. An element,
#top, has a floated image but no clearing element after. You can't
see the element 'cause it's the same color as the BG, but the
jumping box is held down by that #top element. Since the float
can't legally hold the bottom of #top down, it remains for a
'height' declaration to do it. (However, I think the hacked IE
value may be incorrect)
A height is okay, but IE doesn't leave it at that, insisting against
the specs that a float always enclose the float, even without a cleared
element. There's talk of including this behavior into the specs,
and perhaps that's a good idea, but right now IE does it automatically,
and the method used is full of bugs.
One bug is how hovering certain links can 'toggle' the IE enclosing
effect on and off. It needs a change to the link, such as a different
BG, or a text change to 'style' or 'weight'. BTW, some text changes
don't toggle the effect.
(sorry I haven't made this a real demo yet, too damn lazy)
I say if MS is going to go its own way it better be done right.
Sadly we are discussing IE, and that did not happen.
Tim, put a cleared element in with that float, and then re-tweak
the layout. The jump will no longer occur.
| Perennial student + Impractical joker + CSS junkie = Big John |
| XXXX <http://users.rraz.net/mc_on_the_rocks/testpage/pie.html> XXXX |
| XXXXXXXXXXXXX <http://users.rraz.net/mc_on_the_rocks/> XXXXXXXXXXXX |
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.