W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2003

Re: Relative Font Size

From: Matthew Ogston <matthewogston@hotmail.com>
Date: Wed, 18 Jun 2003 09:57:48 +0000
To: w3c-wai-ig@w3.org
Message-ID: <Law15-F36QFM83UV8wA0000211d@hotmail.com>

Just an idea, why not specify the font size as 'em' when redefining the 
<body> tag in the stylesheet (maybe set as 0.95em) and then setting the size 
of all other text as a % of this (is this method valid?).

For example, the <h1> could be set to have a font size of 130% of the 
default font size, <h2> set as 120% etc. Smaller text where needed could be 
set to something like 90% etc.

This may get rid of the inheritance issues. Thoughts?

>From: "Eileen O'Brien" <eobrien@hubbardone.com>
>To: <w3c-wai-ig@w3.org>
>Subject: Relative Font Size
>Date: Tue, 17 Jun 2003 10:20:08 -0500
>When using relative font sizes in style sheets, I'm wondering if it's more 
>preferable to use the "em" unit rather and percentages.  W3C seems to 
>recommend the "em" unit, but I'm curious if percentages are ok?
>for example:
>.body   {FONT-SIZE: 70%;FONT-FAMILY:verdana,arial;color:#000000;}
>.body   {FONT-SIZE: .75em;FONT-FAMILY:verdana,arial;color:#000000;}
>Eileen O'Brien
>p: 312.939.5000 x 223
>e:  <mailto:eobrien@hubbardone.com> eobrien@hubbardone.com

Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
Received on Wednesday, 18 June 2003 05:58:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:16 UTC