I believe the size of EM is the default size assigned by the browser, thus
if the browsers default font size is 12px then 1em is 12px.

Or if you set the
body
{
        font-size: 12px;
}
and
p
{
        font-size: 1.5em;
}

The size would be 18px.

Somebody correct me if I am wrong, but this is how I understand it works.

Taco Fleur - Pacific Fox
an industry leader with commercial IT experience since 1994 .
http://www.pacificfox.com - Web Design and Development



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of wybe
> Sent: Sunday, 25 September 2005 8:02 AM
> To: wsg@webstandardsgroup.org
> Subject: [WSG] 'em' versus '%'
> 
> 
> Hi
> 
> I was wondering about the use of em's to determin your font 
> size. What is the difference between using em's or 
> percentages? Percentages work fine for me but W3C seem to be 
> very enthousiastic about 
> using em's.
> And another thing i can't figure out is this: what is the 
> size of 1em? 
> Is it the width of the letter 'm' of a font?
> 
> Wybe
> ******************************************************
> 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
******************************************************

Reply via email to