[thelist] CSS, Fonts and User Preferences

rudy r937 at interlog.com
Fri Mar 30 19:15:32 CST 2001


> one method is to use relative units, the first one
> probably being %... other units include em...
>
> another approach is to do some scripting:

pay no attention to the designer behind the curtain

> Now it's very important on this site (which is an intranet)
> to respect the user's choice of font size.

in that case the best method is not to mention font size at all

style sheet font face is rendered reliably by all browsers, font size isn't

so use font-family but don't say anything at all about font-size, and the
user will be able to resize to their preferred font size *as per normal*
using the browser

> The old code uses the <FONT attribute with
> relative sizes (+1, -2, etc..) to achieve that effect.

then use <big> and <small> instead (and yes, they can be nested)

also use <h1> through <h6> and <em> and <strong> as appropriate

lather, rinse, repeat

rudy





More information about the thelist mailing list