<snip>
Quote:
I guess 1em is the same as 1px ???
Fred |
Actually, no. In the olden days, when type was set by hand, 1em was
the height of the capital letter "M", and the absolute measurement of
the unit varied between fonts. In modern context, it still refers to
the height of a given font (probably still measured by M, but I don't
know for sure) and is still relative to the chosen font and font
display peroperties.
Ems are a relative measurement - they are proportionally consistent
across browsers, monitors, platforms, personal preferences - and so
are preferred by designers.
A px is a pixel, and that is an absolute measurement. While it will
be the same absolute measurement across platforms, if someone has
their font size really large, your 1px margin will be tiny, and mess
up your lovely formatting.
-BGW, no longer newbie but a novice. . .
Super-Nintento Chomers! I'm learnding! = )