Re: [css-d] Ex's and Em's and css frames

2006-06-20 Thread Ed Seehouse
On 6/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What the heck is the ratio of ex's and em's to font size and pixels. There is no such ratio. It is undefined by CSS. Each user agent defines the default size for a given font, but when the font size changes the em and ex change also. An

[css-d] Ex's and Em's and css frames

2006-06-20 Thread MarcLuzietti
What the heck is the ratio of ex's and em's to font size and pixels. In Alex Robinson's web example for css frames, he gives a formula for turning ems into pixels: "parseInt(document.body.currentStyle.fontSize) * 1.333 gives us the ems to pixels ratio." On www.macoshints.com, though, I find