Im reading about optimal font sizing and layout sizing...and Im looking into em instead of px.
From what I understand, if I make the css like this;
It will force the browser to make 16px=1em, and that will enable me to do width and height properties by desired pixels/16 calculation...correcto?
From what I understand, if I make the css like this;
Code:
html {
font-size: 16px;
}
body {
font-size: 1em;
}
It will force the browser to make 16px=1em, and that will enable me to do width and height properties by desired pixels/16 calculation...correcto?