View Full Version : font-size

01-24-2004, 03:47 PM
in the css file, in the font-size property, I want to have two different values:

1- I want to make it size 2
2- I want to specify it "smaller" in order to discard the browser default - whatever it may be.

How can I do that without causing a conflict since both are considered under "font-size" property?


01-24-2004, 03:54 PM
What do you mean by 'size 2'? 2 pixels? 2 points? 2 ems?

You want to override the browser default? What about those people who have difficulty seeing? They'll be used to the text being a certain size, right? Don't change that.

01-24-2004, 04:03 PM
size two meaning 2 pt.

since with 'smaller' at 2pt, it will be readable, it's ok.

I know most of the user's settings thru web stats, so this will not be a major change.

is it possible?

01-24-2004, 04:31 PM
Web stats do not show the font setting on the visitor's browser.
You do not know what is readable to your user and what is not.
To make your site readable, leave your default font at 100% or 1em. Scale your headings from there.
If your site font looks too big to you - change YOUR browser settings.
If you want to make an extra step and make your site more user friendly (there are users who do not know how to adjust their browser setting) - allow them to set font size and family to their preference (see the customization wiget on my site for an example).