[WSG] pixel to ems converter

2004-06-21 Thread Michael Andrews
Hi, Just thought I ask if there is bit of math or a web site that can accurately convert pixels to ems. If I want to size an image in ems so it will scale with text re-sizing I kinda doing it manually at the moment by dividing by 12 and guessing from there. I thought there might be a site

Re: [WSG] pixel to ems converter

2004-06-21 Thread Nick Gleitzman
On Monday, June 21, 2004, at 05:11 PM, Michael Andrews wrote: Hi, Just thought I ask if there is bit of math or a web site that can accurately convert pixels to ems. If I want to size an image in ems so it will scale with text re-sizing I kinda doing it manually at the moment by dividing by 12

Re: [WSG] pixel to ems converter

2004-06-21 Thread Cameron Adams
Ems are actually standard units that are based on what font size your browser is set to (in some browsers), in combination with the font-size property in your CSS. While this may correspond to the actual width of an m in a font, any such correspondence is merely coincidental -- the font type has

Re: [WSG] pixel to ems converter

2004-06-21 Thread Michael Andrews
. Thanks again Michael From: Cameron Adams [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [WSG] pixel to ems converter Date: Mon, 21 Jun 2004 01:02:00 -0700 (PDT) Ems are actually standard units that are based on what font size your browser is set to (in some browsers