Use a Combination of Percent and Em
The solution that works in all browsers, is to set a default font-size in percent for the <body> element:Example
body {
font-size: 100%;}
h1 {
font-size: 2.5em;}
h2 {
font-size: 1.875em;}
p {
font-size: 0.875em;}
No comments:
Post a Comment