CSS Units in Short (why use em instead of pt or px)
After an afternoon of reading and searching:
1em is equal to the body font-size in the CSS, if there is no body font-size selected then it is whatever the browser default is.
Browser defaults vary depending on Operating System 16px on Windows or 14px on Mac OS X
So on Windows 1em is 16px and 2em is 32px
The reason 1em is the preferred unit for font-size is because it by design can be measured in values smaller than 1. 0.1em is 10% of the body font-size.
And most browsers display 1em in the same way.
Unlike font-size: 16.5px which gets rounded down to 16px by Internet Explorer 6 + 7
To test these differences try www.browsershots.org
This will take screenshots of your website run on lots of browsers and operating systems
Cheers,
Niko
