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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:41:35+00:00 2026-06-15T17:41:35+00:00

I am creating large web application using Foundation 3.0 UI framework and it have

  • 0

I am creating large web application using Foundation 3.0 UI framework and it have px based layout and font-sizing.

In design there is “em” based font-size/line-height and padding/margins. I want to know that Is it good option to choose “em” based font size and padding for responsive layout for smartphones?

  • 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-06-15T17:41:36+00:00Added an answer on June 15, 2026 at 5:41 pm

    I think the main advantage for em in terms of responsive design is the way that you can so easily change the font size for different screen sizes.

    E.g. if you use media queries for large screens and small screens (say, mobiles and TV’s) you’re going to want to change the font size for both of them.

    If you have everything sized in em‘s you can simply change the font-size on the body, like so:

        /* For TV's (or other large screens */
        @media screen and (min-width: 1800px) {
            body { font-size: 1.4em; }
        }
    
        /* For mobiles */
        @media screen and (max-width: 400px) {
            body { font-size: 0.9em; }
        }
    

    Where as if you had everything sizes in px you’ve have to do a LOT more work resizing the font’s.

    EDIT: Using em for margins + padding may also be a good idea for a responsive layout, as I understand it, if you resize the body font size (as shown above) you’ll also resize the margins + padding (making them either smaller or larger) which could also be very beneficial for a responsive design.

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

Sidebar

Related Questions

I've been creating this pretty large web application for sometime and have been updating
I am creating a fairly large application using Flask and Jinja. Flask recommends separating
I am creating a very large PHP MVC-based site that will have a large
We are using svn for development of a large web application, and we do
Hello I have been tasked with creating a fairly complex web application in php,
I have a large web application. One very small piece of this web application
I am creating an asp.net c# web application.In which i have a ajax modal
I'm contemplating using RefineryCMS for a large web application which will include newsletters, blogs,
I am creating my first ASP.Net MVC3 Application using Azure as DB Storage. There
I'm in the middle of creating a fairly large flex application, and over time,

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.