Michal Cizmazia wrote:
> IE 7 or 6 is missing border line, if position relative is used and 
> line-height is not set to normal as shown in this example:
> 
> http://cim.szm.sk/border-relative.html

Interesting.

It has more to do with the line-height /range/ than the actual
line-height value or unit. IE/win seems to have a preset range for what
becomes visible for certain elements under certain conditions, and that
doesn't change unless we force it.

IE/win is in need of a 'hasLayout'[1] trigger on h2. Then it can handle
any line-height above a certain value (1.29em in your case), showing
border with 'position: relative' in place.
Smaller line-height values don't require a 'hasLayout' trigger, as they
are within the "normal" range for IE/win.

Really small line-height values (less than actual text-height) will only
work properly when such a 'hasLayout' trigger is _removed_, or else the
text gets clipped at the element-edges.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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