Reply to Re: Converting px to em?

Your name:

Reply:


Posted by David Dorward on 11/10/82 11:39

Mark Parnell wrote:

>> I know em is relative to its ancestors, but I don't
>> see how that works here.
>
> No it's not. It's always relative to the user's default font size.

When used to specify font size, it is relative to the font size of the
parent element (unless there is no parent element in which case its the
user's default)

When used to specify anything else, it is relative to the font size of the
element to which it is applied.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[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

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