[thelist] css units
Timothy J. Luoma
lists at tntluoma.com
Fri Oct 25 14:58:00 CDT 2002
John Snavely wrote:
> What's the standards-friendly way of sizing fonts?
>
> em, ex or px or pt or "small"?
% / EM good, except can be multiplied (.8em inside .8em is now .64 of
your original EM) and some consider 1em too large on
some browsers
EX no one uses EX
PX good, except it can't be resized on IE/Windows which
makes it inaccessible
PT ONLY FOR PRINT CSS
"absolute" font keywords best, in that they do not get too small,
they do not compound, and they can be resized
see
http://diveintoaccessibility.org/day_26_using_relative_font_sizes.html
on how you can use font keywords while still dealing with older browsers
that may need PX
TjL
--
Now showing: Zen and the Art of Beta Testing
Brother, can you spare a dime? (Opera selling for $29)
OperaBlog: Beyond30 http://tntluoma.com/beyond30
Other Stuff http://tntluoma.com/
More information about the thelist
mailing list