Hi Michael! Thanks for the reply,

Michael Geary wrote:
> Alas, it's not that simple. You're looking at the conversion for a specific
> font size, 16px. At any other font size, the conversion will be different.

Ah, did not realize that. Thanks for pointing-out.

> Font sizes, of course, vary with different browsers and browser settings, OS
> logical display resolutions (e.g. the 96 DPI vs. 120 DPI setting in
> Windows), and the like. So the conversion between em and px sizes varies
> too.

Ah, very good point. I myself have a 120dpi setting and I have noticed 
big differences in how certain websites and browsers behave compared to 
other monitors/computers. For example, I found that sites look "normal" 
when I set the font size one size smaller in IE6/PC.

> If you try to mix em and px sizes, roundoff error is the least of your
> worries! :-)

Hehe, yep... I am starting to see that.  :: blushes ::  :D

> First, what is an "em"?
> http://www.w3.org/TR/CSS21/syndata.html#length-units
>    * em: the 'font-size' of the relevant font
>    px = em * fontSizeInPixels
>    em = px / fontSizeInPixels
>    px = em * ( fontSizeInPoints * pixelsPerPoint )
>    em = px / ( fontSizeInPoints * pixelsPerPoint )

Wow, great information... I appreciate your pro advice! Many thanks.  :D

Saving this thread to the archives.

Have a great day!
Cheers,
Micky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to