Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 574091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:47:40+00:00 2026-05-13T13:47:40+00:00

Can anyone nicely explain what em is as a sizing unit of CSS? And

  • 0

Can anyone nicely explain what em is as a sizing unit of CSS?

And when we use em as a size unit for a website, why use % for the body? Why not use em too for the body?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:47:40+00:00Added an answer on May 13, 2026 at 1:47 pm

    The best way to find out what it is, is to look at the CSS standard.

    Here you can see that it is defined as the font-size of the element in question, i.e. it is related to the height of the font for the element. The font-size is not a measurement of any specific letter. The actual height of individual letters can be greater or less than the font-size, though typically they will be less. From Wikipedia:

    In digital type, the relationship of the height of particular letters to the em is arbitrarily set by the typeface designer. However, as a very rough guideline, an “average” font might have a cap height of 70% of the em, and an x-height of 48% of the em.

    One more thing to note, in the CSS standard:

    The only exception to this rule is the ‘font-size’ property where ’em’ and ‘ex’ values refer to the font size of the parent element.

    This exception makes sense, otherwise you’d get a recursive definition for the font size.

    A commonly used, but wrong, definition is that it is the width of the letter ‘M’ in question. It used to be defined like this in typography, but that is no longer true these days, and has never been true for CSS. The ‘M’ is in fact often less wide than 1 em (this depends on the font of course).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone recommend a nice simple, easy to use source control system I can
Can anyone point me out or explain what is the difference between android Home
Can anyone please tell me how to check whether the entered amount (Indian currency)
Can anyone verify my dealloc method is correct? Since my titleLabel and checkImageView are
Can anyone recommend whether I should do something like: os = new GzipOutputStream(new BufferedOutputStream(...));
From what I can find online, the state of the art for Guice +
I have the following problem: int index=6; imageView.image=[imageArray objectAtIndex:index]; NSLog(@%@,[imageArray objectAtIndex:index]); If I run
Inspired by an article which I read yesterday, I am striving to add a
Hullo there, I am building a Sencha Touch iPhone app that utilises a TreeStore
I need to develop an app that is using multithreading. Basicly, I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.