Yahoo’s answer to silly browser font sizes (and sillier XHTML elements)
For quite a while now we’ve all been struggling with browsers returning (by default) fonts that ‘should’ be the same size across the board.
Obviously, when we design with a font-size of 12px, we need it to be 12px!
IE makes its margins and padding different from Firefox’s, Opera’s and Safari’s, meaning that certain graphical elements appear un-matched when we do our testing on various platforms.
Luckily Yahoo Developer Network has come up with an answer that must have taken them a while to figure.
“Yahoo Fonts CSS“ is a clever bit code that tells all the A-Grade browsers to display the fonts the same size and when coupled with “Yahoo Reset CSS” will reset all the XHTML elements to display the same.
That’s saved a bit of time!