Previous Message
Next Message

Font sizing in Opera vs Firefox/IE

Sent by Gunlaug_Sørtun on 21 February 2005 05:05


Felix Miata wrote:
> Gunlaug Sørtun wrote:
>> Just keep line-heights as percentage or unitless values, since
>> pixels on line-height is "frozen values" in some browsers.
> 
> Line-height specified by any value except unitless is frozen in all 
> standards-compliant browsers. Whether you use ex, px, pt, % or any
> other unit at all, the computed value is the value that will inherit.

That's one side of it, and correctly so.

What I meant with "frozen values" can be seen in IE6 and Opera, if
line-height is set in pixels. That line-height isn't computed at all, no
matter how one define 'compute'.
- In IE6 (and older - don't know about IE7 yet) a line-height of 14px
stays at 14 pixels even when font-size is ignored in accessibility mode.
Looks a bit "odd" when fonts starts overlapping as one steps up their size.
- In Opera 7.54 (and older and possibly also newer) the same thing
happens for "minimum font size". Nice overlap with a 28px font, and
line-heights at 14px. Makes good read...

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/
Previous Message
Next Message

Message thread: