how to convert ems to pixels

While creating the fly-out menu on my site, I used a tutorial from htmldog called Son of Suckerfish Dropdowns.

In the tutorial, all of the borders and spacing is done in ems. I wanted to convert these to pixels, but had no idea what the ratio is.

Luckily, there’s a website for that. I found has a handy conversion chart that shows you the conversion based on the percentage of your font. Or you can do custom numbers.

I simply plugged in all my numbers and once I got the results, replaced them in my css. Luckily, everything seems to be working just fine. 🙂


-Katrina Oscarson


~ by cupcakesupremacy on February 21, 2011.

%d bloggers like this: