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

RE: Units Re: Relative Font Size

From: Scarlett Julian (ED) <Julian.Scarlett@sheffield.gov.uk>
Date: Thu, 19 Jun 2003 08:48:13 +0100
Message-ID: <F9BE3B1AB649D311A573009027852E4D0287992A@EDUC_MXS>
To: w3c-wai-ig@w3.org

Chaals wrote:
> This [scaling images] is one case where em and percentages are going to do different 
> things. The fact that em is firmly tied to the font is helpful for 
> scaling some stuff, because percentages are sometimes related to the 
> font and sometimes to the viewport (and in some bugs they're 
> related to 
> a magic unguessable number).

Sorry folks, didn't see this post when I replied to John's (that'll teach me to scan for subject lines; or to get a mail client that can handle threads ;-) ).
I can't remember any times when specifying font sizes in % has created any presentational problems but if there are potential css parsing bugs it probably _is_ safer practice to specify units in ems wherever possible.

One final thought, since font size is inherited, specifying it in the rules for body should get round any potential problems shouldn't it? Has anyone come across css bugs where a UA suddenly decides that a font with a % size should be set relative to something other than it's parent container?

--J.

 
The information in this email is confidential. The contents may not be disclosed or used by anyone other than the addressee.  If you are not the addressee, please tell us by using the reply facility in your email software as soon as possible. Sheffield City Council cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network.  If you suspect that the message may have been intercepted or amended please tell us as soon as possible.
Received on Thursday, 19 June 2003 03:43:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:10 GMT