On Apr 19, 2014, at 4:19 PM, Tim Dawson <t...@ramasaig.com> wrote:

> On 19/04/2014 15:00, Tedd Sperling wrote:
>> <I don't understand your statement "Obviously the em value has to be reduced 
>> as the font-size
>> increases, to get the same pixel equivalent.">
> Given that my original margin/padding around an <h1> with font-size 250% was 
> in pixels, when I converted at 1 em = 16 px the new margin/padding sizes were 
> 2.5 times too high. So conversion for <h1> has to be 1 em = 40px to get the 
> same on screen appearance. If that's wrong I haven't understood ems at all.

That sounds confusing.

I just set my <h?> to whatever size I want knowing that 1em is equal (in most 
cases) to 16 pixels. No need for percentages in setting font sizes.

Cheers,

tedd

_______________
tedd sperling
t...@sperling.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