Quote:
Originally Posted by JSWolf
Please don't tell us that you do what a lot of publishers do (wrongly) and use a font size of small? The best way to do it for most people is to not set a font size for the main body text and let the reading software use the default font size (most default to 1em).
The term larger is meaningless. It's x-small, small, large, x-large or xx-large.
|
No, I don't use the font-size attribute for general text. However, I do use "font-size:x-large;" (or some such) for <h2> tags, assuming that these are relative to the user-selected font size which should be "font-size:normal;".
Is that wrong? If so, how do I go properly about increasing and decreasing the sizes of fonts for headers etc relative to the user's font size?
Quote:
Originally Posted by Jellby
A <relative-size> keyword is interpreted relative to the table of font sizes and the font size of the parent element. Possible values are: [ larger | smaller ]. {...}
But It's better to give an explicit relative size, in percent or em.
|
How do I use this? Don't think I've seen it before, and I can't find much info on it. Found
this discussion though.
Thanks!