Gunlaug Sørtun wrote:
>> http://www.msu.edu/~maziak/umg/temp.html
> 
> It's the old 'layering' bug in IE/win. Often mixed up with the
> 'hasLayout'[1] bug, but 'layering' and 'Layout' isn't the same thing.
> Those two bugs just happens to strike "in pairs" quite often in IE's
> rendering engine, which may make it a bit confusing.
>  
> A quick test by wrapping the whole thing in a div with a
> background-color, and with or without a 1px padding, reveals that
> 'collapsing margins'[2] is part of IE's problem.
> The first and last case is caused by IE getting the layering wrong when
> the default margins on those paragraphs overshoot the invisible box
> without a padding, while it's ok when those margins are forced back
> inside the invisible box by the padding.
> 
> The anchor inside the table would need a similar prevention of
> 'collapsing margins' - inside the 'table td' itself.
> 
> IE6 gets it all wrong with regards to the CSS specs, but the effect of
> the 'collapsing margins' on the case is clearly visible and pretty
> identical in all browsers. It's just the default-size of those
> paragraph-margins that may vary from browser to browser.
>  
> Anyway, Ingo has already "killed" the IE-bug by adding 'position:
> relative' to the anchor. This affects the 'layering' in IE6 so the
> overshooting (not really clipped) part of the anchor becomes visible on
> top of the 'collapsed margins'. Then we can forget about those
> 'collapsing margins' with regard to the original case.
> 
> 
> [1]http://www.satzansatz.de/cssd/onhavinglayout.html
> [2]http://www.w3.org/TR/CSS21/box.html#collapsing-margins


Franky, Cem, Georg,

this gives a lot of sense to the missing border problem. The bug (I 
thoughtlessly killed) seems to occur quite often, a quick search 
revealed these threads:

http://archivist.incutio.com/viewlist/css-discuss/62453
http://archivist.incutio.com/viewlist/css-discuss/61374

and I can remember reading of some more problems with borders not 
appearing on hover in inline menus.

Ingo

-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to