Forum Moderators: not2easy
Doesn't having 0.9em resize it relative to their font, too?
Yes, it does.
In my experience with IE, however, 0.9EM does not equal 90%.
I'm not sure how they're calculating the EMs or the percentages, but somehow the calculations are different.
Netscape and IE also calculate EMs differently. If I'm not mistaken, RichInStyle.com has more info on this topic.
Of course that's all so much crap when you think about how many people have no idea of how to change their font size! but, it beats absolute units hands down ;)
Nick
Example #1
h1 {font-size: 3em}
p {font-size: 0.8em}
Example #2
body {font-size: 100%}
h1 {font-size: 3em}
p {font-size: 0.8em}
HTML for the both samples above:
<body>
<h1>Test</h1>
<p>test test test test test test</p>
</body>