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 999885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:25:21+00:00 2026-05-16T07:25:21+00:00

I am still not clear what does size in em mean? I have worked

  • 0

I am still not clear what does size in em mean?
I have worked px, pt in CSS.
What would 0.8, 1.0 and 1.2 em mean?
I have seen height’s in CSS like:
height: 0.8em; or height: 1.2em;
How is it calculated?

  • 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-16T07:25:21+00:00Added an answer on May 16, 2026 at 7:25 am

    The meaning of “em” has changed over the years. Not all fonts have the letter “M” in them (for example, Chinese), but all fonts have a height. The term has therefore come to mean the height of the font – not the width of the letter “M.”

    Let’s look at a simple example where we use the em unit to set font sizes:

    <html>
      <style>
        h1 { font-size: 2em }
      </style>
      <body>
        <h1>Movies</h1>
      </body>
    </html>
    

    When used to specify font sizes, the
    em unit refers to the font size of the
    parent element. So, in the previous
    example, the font size of the h1
    element is set to be twice the font
    size of the body element. To find what
    the font size of the h1 element will
    be, we need to know the font size of
    body. Because this isn’t specified in
    the style sheet, the browser must find
    it from somewhere else – a good place
    to look is in the user’s preferences.
    So, if the user sets the normal font
    size to 10 points, the size of the h1
    element is 20 points. This makes
    document headlines stand out relative
    to the surrounding text. Therefore:
    Always use ems to set font sizes!

    More Info

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

Sidebar

Related Questions

I have gone through Cuda programming guide but still not clear where does cuda
I have gone through many articles but I am still not clear about the
I have read much documentation on the Amazon API and am still not clear
I've been experimenting with making Facebook apps and I'm still not clear on app
I've been experimenting with programming Facebook apps and Heroku. It's still not clear to
I'm pretty clear on when I can/can't use forward declaration but I'm still not
I still not understanding the parent role in the android styles I have put
Since it is still not 100% clear when a LDM should be used I
Based on the answers below : It is Still not clear to me: What
I'm still not clear on the purpose of annotations in Java. Initially I thought

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.