Posted by Jim Moe on 05/30/07 07:26
Maxx Pollare wrote:
>
> Unfortunately I couldn't get Google to give me a simple page that gives
> me a relationship between Em and Pixels, as in "What the hell is an Em,
> and how big is it in pixels?". So far I've scraped the experimental CSS
> layouts twice because I can't things to work right with Em...
>
The default setting for browsers is 1 em = 16 pixels. The user has the
option to change that value to suit their preference.
Normally you would set font-size:100% for <body> and adjust the other
font sizes from there using per-cents or ems. There is really no need to
know the actual pixel setting for an em, it's all relative to the user's
preferred font size.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
[Back to original message]
|