Re: About font sizes
> Percentage also allows the author to respect the user's font size preference
That's not true if I use a percentage that specifies a non-existent font size.
We are back to the crap shoot. The only way a percentage has any correlation to
a user preference is if that percentage is 100%. Otherwise you never know what
you're going to get - that is not respecting the user's preferences.
If I specify 125% for h2, which should be about 20px, I can only hope there is a
corresponding font with a 20px definition. Maybe there is something close, but
maybe there isn't. For all I know, the browser may not change the font size at
all.
So it makes absolutely no sense to use percentages.
The only way to give the user control over font size is to not specify any.
The goal here is simply to allow the user to adjust the font size if he desires.
It makes no difference whatsoever if a web page defines font size in percentage
or px if the user's browser can scale the font size. If all the mainstream
browsers have the ability to scale px then you are better off using px to ensure
proper presentation of the page.
> Percentage also allows the author to respect the user's font size preference
That's not true if I use a percentage that specifies a non-existent font size.
We are back to the crap shoot. The only way a percentage has any correlation to
a user preference is if that percentage is 100%. Otherwise you never know what
you're going to get - that is not respecting the user's preferences.
If I specify 125% for h2, which should be about 20px, I can only hope there is a
corresponding font with a 20px definition. Maybe there is something close, but
maybe there isn't. For all I know, the browser may not change the font size at
all.
So it makes absolutely no sense to use percentages.
The only way to give the user control over font size is to not specify any.
The goal here is simply to allow the user to adjust the font size if he desires.
It makes no difference whatsoever if a web page defines font size in percentage
or px if the user's browser can scale the font size. If all the mainstream
browsers have the ability to scale px then you are better off using px to ensure
proper presentation of the page.
Comment