On Tue, 27 Aug 2002 10:14:15 +1200, Duncan O'Neill wrote:
>Timothy J. Luoma wrote:
>> Camp 1: Pixels are more reliable than EMs or % or keywords or absolute
>> sizes in that just about no browser screws up pixels. Therefore, use
>> Pixels.
>>
>> Camp 2: Pixels are bad for accessibility as they cannot be resized in
>> IE/Win 5 and 5, which by far dominate the market, including AOL/Windows
>> users up to and including version #8. Therefore Pixels should not be
>> used and you should accept the real-but-limited possible problems with
>> everything else.
>>
>> Camp 3: Don't set font sizes and let the user set their defaults (con:
>> most users probably don't know how)
>this seems to me a good short explanation of the
>options. Persoanlly, I'm in the process of moving
>from Camp#1 to Camop #2.
>
>I've found in testing so far that I'm getting fairly
>reliable results across browsers by setting the font-size
>on the body to 100% (i.e. the user's default) in CSS,
>and then using ems for text size after that. e.g.
>
>body {font-size:100%;
> /* more rules */
>}
>
>h1 {font:2em Georgia,etc;
>}
>
>p {font: 0.9em Georgia,etc;
>}
>
>Without wanting to start a Holy War, what drawbacks
>have others who use this method found? What drawbacks
>in this method do list members know of?
>
Are you really using 100% then. The majority of body text
tends to be in <p>'s on the average page, where you've set sizing that
means "10% smaller than my optimal setting". Also, unless you've
skipped a lot of other css, it means that text in lists, blockquotes,
bare in divs etc. is going to be 10% larger than your paragraph text.
With the exception of DHTML menus (most of which don't cope well
with flexible sizing) I'm in Camp 3.
There is a niggly little bug in Opera that makes * {font-size:100%;}
a bad idea: 100% "creeps" by about 1% as elements are nested.
[ dramatic design --- for web | print | theatre ]
[ po box 3263 | christchurch 8015 | new zealand ]
[ tel +64-3-360-2200 | cel +64-27-221-5053 ]
[ fax +64-3-360-2201 | e [EMAIL-REMOVED] ]
[ web http://www.dramatic.co.nz ]