best font-size setting?

well theres px, em, pt, and the relational CSS commands (like x-large, cant remember what the actual title is)...but which is the best? ive heard that IE doesnt allow px to be increased/decreased, and ive also heard somewhere that pt messes up sometimes when resizing...ive never used em, and ive never really heard all that much about it...doesnt W3C recommend the relational attributes? however, if someone has their setting on Medium and i set my attributes to x-small, theyd have to resize it anyways to see it probably...

so anyways, im confused, anyone got some insight on which will allow for the most accessibility?Your best bet is to just leave them alone but if you must then use percents.

And points only really work on the printed page. Browsers think in terms of pixels and they don't know how many pixels there are to a point so they just guess.oh right, forgot totally about percents....you set it as a percentage of the user's default setting, right?I personally prefer using pixels for screen and point for print. The problem with pecent occurs because it is inherited by desendants.

For example, if you have body { font-size: 80%}
and in HTML
<body>
<div>
<p>This text is 51.2% (0.8*0.8*0.8) of the normal text height</p>
</div>
</body>

Ems faces the same problem in IE.

And the problem with px is that resizing is a pain for IE users.(BTW, it is incorrect that you cannot change font size in IE.
Tools > Internet Options... > [Accessibility] has the option of "Ignore Font Sizes Specified on the Web Page").
 
Back
Top