On Thu, 19 Mar 2009 09:03:15 -0700
Came this utterance formulated by Kenny Leu to my mailbox:

> D'oh!
> 
> I should've read that link above before posting...
> 
> To redeem myself:
> EM:
> - always relative to font size
> - fonts affect absolute widths of things set with EM! (e.g. could
> cause horizontal scroll)
> - however, relative widths are not affected.
> e.g. if a particular sentence fits all on one line, it will always fit
> on one line even if the font is changed to be very large.
> 

But this is dependant on at least one other factor. Fonts on the user
computers, different fonts have different letter widths. So the sentence
width may vary with regard to a set EM container width.

> PERCENT:
> - always relative to containing block (could be parent font as well)
> - this means that containing blocks can get very crowded.
> 

-- 
Michael

All shall be well, and all shall be well, and all manner of things shall
be well

 - Julian of Norwich 1342 - 1416
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to