coderjoe.net

Me, myself, and my code.

Font sizing, the constant battlefield

05 July 2006

There has been constant debate amongst myself and some of my other web loving friends as to the correct solution for cross browser and platform font sizing. For the longest time I swore that fonts in IE seemed a step smaller than the fonts in my beloved KHTML and Gecko based browsers. Finally I’ve found a story to confirm my suspicions. It would seem that internet explorer renders default text as text size small as opposed to medium as defined in the CSS-1 spec.

Where did I find this out? Did I do emperical tests to discover this flaw? No, but someone else did. See the links below for more info (as well as a test formatting stylesheet which allows one to “safely” use em’s to cross browser and platform style their text sizes.

http://www.thenoodleincident.com/tutorials/box_lesson/font/index.html

http://www.alistapart.com/stories/sizematters/