Previous Message
Next Message

Re: [css-d] [OT?] Optimal page widths for reading on a CRT

Sent by John Lewis on 4 May 2003 05:05


Caio wrote on Saturday, May 3, 2003 at 5:33:49 PM:

> (but don't go around setting a max-width of 40em, it doesn't work
> like that. em is the width of the widest char. Typically 'M',
> occasionally 'W'.)

1em is equal to the font-size, which is unrelated to the width of any
characters. For example, if the current font-size is 14px, 40em is
equal to 560px, no matter the width of the M or W (if the font even
contains those two characters).

<http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-length>

-- 
John Lewis

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: