On 6/16/06, Anthony Baker <[EMAIL PROTECTED]> wrote:
>
> Hey Folks,
>
> Am wondering if someone has any info on this for me.
>
> Have been looking to different font sizing methods
...
> Does anyone have a favorite method?

I'll give you my favorite, which seems to work allright.

html { font-size:100.01%; /* fixes some browser bugs */ }

body { font-size:1em; /* always */ }

optional: #container { font-size:.9em; /* if I must */ }

everything thereafter is in em. I avoid hundredths (.95 for example)
because browsers round ems to a pixel size and hundredths can round
differently in different browsers. Tenths are a little more
predictable.

And I guess you could use percents just as well as ems, but I like ems.

and yes, I think I have seen that starting with font-size:small can
have problems in certain browsers, so there you go.

-- 
-- 
Christian Montoya
christianmontoya.com ... portfolio.christianmontoya.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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