On 2/16/07, jeffrey morin <[EMAIL PROTECTED]> wrote:
> i remember reading somewhere that you can control font size easier if you
> set 1em = 65%? i don't recall exactly what the number was and i can't find
> where i read it. i want to say it was andy budd but does anyone know what i
> am talking about and why that is useful? any help would be great

You're looking for 62.5%. Based on the cross-browser de-facto standard
of 16px for "medium", a base font-size of 62.5% will give you an em of
10px, a nice round number. This means 1em = 10px, 1.4em = 13px, 32em =
320px, and so on. It's also extremely useful for elastic layouts.

The 62.5% number was entered into the annals of CSS history by Richard
Rutter in his 2004 post, "How to size text using ems,"
http://www.clagnut.com/blog/348/


-- 
Craig, www.focalcurve.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to