1. Computing

Discuss in my forum

Jennifer Kyrnin

Web Design Software Pick of the Week: Em Calculator

By , About.com GuideJune 27, 2010

Follow me on:

Em Calculator
With all the discussion of ems for font sizes this week, I thought it appropriate if I told you about a neat tool that will help you set the default font size so that you can use ems and still have a good idea of how big the font will display on the screen. Ems don't have an absolute size, but are rather based on the value of the font size in the browser or parent elment. So determining how big an em is can be difficult. But the Em Calculator will help you choose ems that are based on a default size that you set. You put in the size in pixels you want, and the em calculator will tell you how many ems that is (based on a standard text size of 16px).

Comments
June 27, 2010 at 11:35 pm
(1) Andrew says:

Good choice. This is indeed useful.

June 28, 2010 at 3:48 am
(2) Wesite Design Cheltenham says:

Very useful, thanks. Have always found ems a pain!

June 28, 2010 at 4:01 am
(3) Charity Website Design says:

Useful toos – thank you :)

June 28, 2010 at 10:48 am
(4) Tampa Web Design says:

Thanks for the tips and the calculator resource. Very helpful, definitely a time saver.

June 28, 2010 at 2:02 pm
(5) mister5280 says:

i am not sure of the relevance of the em to begin with. I always say a pixel is a pixel in any browser which seems safer when with considering cross platform design.

June 28, 2010 at 2:42 pm
(6) Jennifer Kyrnin says:

@mister5280: Unfortunately, a pixel is not always the same in every situation. Here is an interesting article:

A pixel is not a pixel is not a pixel – QuirksBlog – http://www.quirksmode.org/blog/archives/2010/04/a_pixel_is_not.html

And the main reason you shouldn’t use pixels is because of IE. IE6 (I’m not sure about IE7/8 – anyone?) won’t let you resize text that has been sized in pixels. In other words, if you set your font to 10px and then I come in can’t read it so I hit Ctrl-+ (or Cmd-+ on a Mac), the page will get larger. But the font will stay the same (illegible to me) size. http://www.clagnut.com/blog/348/

It also doesn’t scale downward for mobile devices http://www.kyleschaeffer.com/best-practices/css-font-size-em-vs-px-vs-pt-vs/

Pixels are a fixed size unit. They are relative to the monitor, but ultimately they are a fixed unit.
http://www.wdmac.com/font-sizes-em-vs-pixel

Of course, you’re welcome to use whatever sizing unit you like on your site. These are just recommendations.

June 30, 2010 at 1:45 am
(7) Kevin says:

Thanks to Piotr Petrus for creating this tool and to Jennifer for getting the word out.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2013 About.com. All rights reserved.