align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

Re: [webstandards-118] Em > Px > % Conversion Tool

From: john c.
Sent on: Thursday, March 25, 2010 4:46 PM
You can calculate your own table:

The base size is 16px;

so at 77%, you are setting the base size at: 16px * .77% = 12.32 px.

10px = 10px/12.32px = .812 em;
11px = 11px/12.32px = .893em;
20px = 20px / 12.32px = 1.54em;

Personally I just use px.  Every modern browser does something
sensible when zooming with both px and em, so the accessibly argument
is pretty dumb these days.  The reality is that we are most often
sizing text relative to images/icons which are pixel based artwork,
and the font should be specified the same as the artwork, hence px is
better than em.

John Campbell

On Thu, Mar 25, 2010 at 4:16 PM, Jerome Covington
<[address removed]> wrote:
> I'm used to this:­
> I see though that base font cannot be calibrated to 77%, which is set (not
> by me) on the body tag for a site I am helping build.
> Are there other tools that have able to be more finely calibrated?
> --
> Regards,
> Jerome
> [address removed]
> http://www.linked...­
> http://delicious....­
> http://www.fbook....­
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by Jerome Covington ([address removed]) from
> The New York Web Standards Meetup Group.
> To learn more about Jerome Covington, visit his/her member profile
> To unsubscribe or to update your mailing list settings, click here
> Meetup, PO Box 4668 #37895 New York, New York[masked] |
> [address removed]

Our Sponsors

  • The Mechanism

    The Mechanism proudly sponsors the NY Webstandards Meetup

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy