The x-small and others are refered to as "absolute-size keywords"
http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props

However, x-small will vary from browser to browser (sometimes quite
different) as you can see here:
http://www.browsercam.com/public.aspx?proj_id=53764

This may not be an issue. But in my opinion, if you must reduce font sizes,
applying a percentage on the body will achieve a far more consistent result
across browsers.

Again, it should be stressed that this is just my opinion. There are lots of
differing opinions out there!

Russ




> On a website I've recently developed (www.cabotconsultants.com.au) I opted
> for this...
> 
> p.body {
>  font-family: Verdana, Arial, Helvetica, sans-serif;
>  font-size: x-small;
>  color: #036;
>  margin-left: 18px;
>  margin-right: 18px;
>  line-height: 2;
> }
> 
> I found it's clean and clear. Just wondering... What is the difference of
> using the percentage font-size as opposed to the preset "medium, small,
> x-small, etc" sizes? Are these 'preset' sizes still relative to the body
> user defined font size?
> 
> 
> Cheers
> Darian
> 
> 
>> On Tuesday 23 March 2004 15:55, Lorenzo Gabba | Quirk wrote:
>>> I tend to agree - I'm a fan of the
>>> 
>>> p, .etc
>>> {
>>> font-size: 0.75em;
>>> line-height 1.5;
>>> }
>>> 
>> 
>> I forgot to mention that it's probably a good idea (from a usability POV)
>> to
>> declare:
>> 
>> body {font-size: 100%;} /* user defined default size */
>> 
>> ... and relate the rest from there.
>> 
>> - Lorenzo
>> 
>> --
>> 
>> ...._/\/ŻŻŻŻŻŻ\/\_.....
>> (w) www.quirk.co.za
>> (e) [EMAIL PROTECTED]
>> (h) +27 (0)86 11 021 33
>> (t) +27 (0)21 462 7353
>> (f) +27 (0)21 462 7354
>> *****************************************************
>> The discussion list for http://webstandardsgroup.org/
>> See http://webstandardsgroup.org/mail/guidelines.cfm
>> for some hints on posting to the list & getting help
>> *****************************************************
>> 
>> 
> 
> *****************************************************
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> *****************************************************

Thanks
Russ

-----------------------------------------------
Russ Weakley
Max Design
Phone: (02) 9410 2521
Mobile: 0403 433 980
Email: [EMAIL PROTECTED]
http://www.maxdesign.com.au
-----------------------------------------------


*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************

Reply via email to