2014-07-25 9:06, John wrote:
Is there a way to tell the browser…*any* browser: 1em = 16px and that’s that?
No.
Or is
body
{
font-size:100%;
}
—with the underlying hope and assumption that 100% is understood to mean 16px
and from there the leap that 1em equals the 16pixels — all we have in that
toolkit?
100% means, when used as the value of the font-size property, exactly
the font size of the parent element. Nothing more, nothing less.
If you so intensely want to have 1em equal 16px no matter what, why are
you using the em unit at all? To keep the numeric values smaller? But
for that, you can use the pc (pica) unit, since, according to the
definitions in modern CSS, 1pc = 12pt = 16px, as an identity.
Yucca
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/