Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Setting font to 62.5% makes text tiny


Fotiman - 2:35 pm on Dec 22, 2011 (gmt 0)



<!DOCTYPE html>
<html>
<head>
<style>
#base {
font-size: 62.5%;
}
#increased {
font-size: 1.2em;
}
#twelvepx {
font-size: 12px;
}
</style>
</head>
<body>
<div id="base">
<div id="increased">
The quick brown fox jumped over the lazy dog.
</div>
</div>
<div id="twelvepx">
The quick brown fox jumped over the lazy dog.
</div>
</body>
</html>

That example shows that your calculation was correct. 62.5% of the default (16px) = 10px. 10px * 1.2em = 12px. Viewing the example above will show that both lines look the same. The problem is simply that 12px is just too small for most text.


Thread source:: http://www.webmasterworld.com/css/4400462.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com