Thanks. :) I'm clarified, after reading this text several times. :D

"When a percentage value is set for a property of the root element and
the percentage is defined as referring to the inherited value of some
property, the resultant value is the percentage times the initial
value of that property. "


Thanks a lot,
Márcio.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Dorward
Sent: sexta-feira, 7 de Novembro de 2008 8:56
To: css-d@lists.css-discuss.org
Subject: Re: [css-d] Default % values - newbie question.

2008/11/6 MEM <[EMAIL PROTECTED]>:
> I've also put the font-size: 100% but, here, I don't understand why. :s

It fixes an Internet Explorer bug regarding em units and the font size
scaling option on the view menu.

> But if we declare 100% at the top, what does the browser know about the
> relative values?

"When a percentage value is set for a property of the root element and
the percentage is defined as referring to the inherited value of some
property, the resultant value is the percentage times the initial
value of that property. " --
http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to