Reply to Re: Pixel to Em conversion...

Your name:

Reply:


Posted by Jim Moe on 05/30/07 07:26

Maxx Pollare wrote:
>
> 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...
>
The default setting for browsers is 1 em = 16 pixels. The user has the
option to change that value to suit their preference.
Normally you would set font-size:100% for <body> and adjust the other
font sizes from there using per-cents or ems. There is really no need to
know the actual pixel setting for an em, it's all relative to the user's
preferred font size.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация