On Tue, 21 Jun 2005 21:41:02 -0400, Patrick H. Lauke
<[EMAIL PROTECTED]> wrote:
Cole Kuryakin - x7m wrote:
So, what's the deal? is it better/safer to user 101% vs 1em to set the
initial font sizing for maximum cross browser compatiblility, or is
this just a matter of style and preference?
Two things:
* IE has a problem resizing font sizes properly if the topmost size is
set in ems, but has no trouble with percentages. Setting the body in %
(or even the HTML element itself) will fix this problem. You can set
your base size to 100%, and then safely use ems for anything below that;
* from what I remember, Opera has some rounding problems when
calculating font sizes that make it display text just a shade smaller
than other browsers; this is the reason for the additional 1 percent,
resulting in 101% (I think even 100.1% would do the trick, not sure...I
don't normally bother with this infinitesimal difference, to be honest)
It's 100.01%.
David Laakso
--
http://www.dlaakso.com/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************