Convert pixels to ems - with ease

Posted February 8th, 2007 by Lafinboy

I came across a very neat, and immensely useful tool online today that converts fixed pixel sizes to their relative em size equivalents. The Em Calculator bases conversions on a specified base pixel conversion ratio, and provides you with immediate calculations for nested child and sibling nodes of the DOM tree. Big thanks to Piotr Petrus who has put this tool together.


2 Responses to: “Convert pixels to ems - with ease”

  1. weirdbiz responds:
    Posted: April 14th, 2007 at 6:21 am

    I'm having a hard time figuring out how to make my websites look good on all browsers… I've found I can make them look good either on firefox or IE 6 but not both… is using ems the secret? I've been designing my sites using absolute positioning and pixels on dreamweaver. I find it a bit frustrating because it seems like things are never how they look in dreamweaver.


Post a Comment

Enter Your Details:


You may write the following basic XHTML Strict in your comments:
<a href="" title=""></a> · <acronym title=""></acronym> · <abbr title=""></abbr>
<blockquote cite=""></blockquote> · <code></code> · <strong></strong> · <em></em>

  • If you’re a first-time commenter, your response will be moderated.
  • If your response includes a link, it will require moderator approval.
Enter Your Comments:


Note: This is the end of the usable page. The image(s) below are preloaded for performance only.