|
Posted by Ben C on 05/30/07 07:51
On 2007-05-30, David Dorward <dorward@gmail.com> wrote:
> On May 30, 3:49 am, Maxx Pollare <useless...@dragonfur.ca> wrote:
>> I'm in the process of creating some new CSS for my site (same as email)
>> and wanted to try something other then pixles for everything...
>>
>> Unfortunately I couldn't get Google to give me a simple page that gives
>> me a relationship between Em and Pixels, as in "What the hell is an Em,
>> and how big is it in pixels?". So far I've scraped the experimental CSS
>> layouts twice because I can't things to work right with Em...
>
> An em is the font height (or the font height of the parent element
> when you are specifying the font-size).
Technically it's a measure of width (of an 'M') rather than of height.
An ex is supposed to be a measure of height (of an 'x'), but most
browsers don't bother to get exes exactly right.
[Back to original message]
|