logo       

Re: understanding scaling factors for % and EM: msg#01264

Subject: Re: understanding scaling factors for % and EM
> http://www.w3.org/TR/REC-CSS2/fonts.html#value-def-absolute-size
> recommends a 1.2 scaling factor for "absolute" font sizes, and suggests
> a base font size of 12.
>
> Here's what I came up with:
>     large = 14.4px
>   medium = 12px


Your conversion chart uses the wrong length unit. The spec says:
"if the 'medium' font is 12pt, the 'large' font could be 14.4pt"

You used pixels, "relative to the viewing device", instead of points, "the
points used by CSS2 are equal to 1/72th of an inch".


Tim

_______________________________________________
css-discuss [css-discuss@xxxxxxxxxxx]
http://three.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning



<Prev in Thread] Current Thread [Next in Thread>