WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: pixels to ems - was RE: Relative vs. absolute units

for

From: Kynn Bartlett
Date: Jan 7, 2003 3:26PM


An em equals the size of the current font, and that can be changed by
the browser,
by the user, by the author's style sheet, by the user's style sheet, by
the HTML,
...

An em only equals 16 pixels as long as the font size equals 16 pixels.

--Kynn

On Tuesday, January 7, 2003, at 01:47 PM, Kevin Spruill wrote:

> Jules, et al...
>
> Rough justice division reveals that by dividing #pixels by 16 you get
> the equivalent in ems... a little tweaking from there should handle it
> if/when necessary
>
> HK
--
Kynn Bartlett < <EMAIL REMOVED> > http://kynn.com
Chief Technologist, Idyll Mountain http://idyllmtn.com
Author, CSS in 24 Hours http://cssin24hours.com


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/