A List Apart: Articles: How to Size Text in CSS - 0 views
-
Soul Book on 31 Mar 10"When pixels failed before, we turned to ems. Repeating the logic gives us the following styles: body { font-size:100%; line-height:1.125em; /* 16×1.125=18 */ } .bodytext p { font-size:0.875em; } .sidenote { font-size:0.75em; }"