On Thu, 24 Jul 2014, John wrote:


On Jul 24, 2014, at 8:18 AM, Tom Livingston <tom...@gmail.com> wrote:

ems are relative to font size.

Given a browser default of 16px, 1em = 16px.

If you have something set at font-size: 120%;, that's 120% bigger than
16px (1em) so, like Chris said, it would be 19px (rounded down) or
1.188em;

This is my understanding, too…so given that my body font-size is set at 100%, 
should not padding-left:1.25em; be 1.25em in size?  What I’m seeing is much 
larger.

http://www.coffeeonmars.com/170_su/template/home.html

   Put a 1px border round the elements in question so that you can see exactly 
where they are. It helps to distinguish between margins and padding (padding is 
inside th$

--
Chris F.A. Johnson, <http://cfajohnson.com>
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to