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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:41:03+00:00 2026-05-26T20:41:03+00:00

What styles should I override/reset in mobile web? Is there any patterns similar to

  • 0

What styles should I override/reset in mobile web? Is there any patterns similar to desktop web, when you set margin: 0; padding: 0; to any element from very beginning? Are there any consequences if I reset too many styles/elements?

  • 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-26T20:41:04+00:00Added an answer on May 26, 2026 at 8:41 pm

    If you really want a reset: Carrer blog has one: (github)

    /* CSS Mobile Reset */
    html, body
    {
     margin: 0;
     padding: 0; 
     border: 0;
    }
    
    body 
    {
     font-family:Arial,  sans-serif;
     line-height:1.5;
     font-size:16px;
     background: #fff;
     padding:5px;
     color: #000;
     word-wrap: break-word;
     -webkit-text-size-adjust: none;
    }
    
    h1, h2, h3, h4, h5, h6{ font-weight: normal; }
    
    p img { float: left; margin: 0 10px 5px 0; padding: 0; }
    
    img { border: 0; max-width: 100%; }
    
    table { width:auto; border-collapse: collapse;border-spacing: 0; }
    

    Must read SO post on the matter.
    From Harpo:

    How strongly do you believe in CSS reset for the desktop?

    I tend to agree with those who argue that CSS resets are too
    heavy-handed (have you ever read one? I’d never heard of some of those
    elements) and that ultimately, hand-crafted rules based on your actual
    needs will be most predictable and efficient.

    The mobile platform only makes bandwidth even more precious. I guess
    that’s why you’re asking. I’d say, whittle a standard reset down to
    what you really need.

    If you’re into Boilerplate: there is a for mobile option.

    You may want to add some of its features to your own even if you don’t use boilerplate.

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

Sidebar

Related Questions

According to CSS principles when we want to implement reusability of styles we should
I need to override styles for two EditText instances. I have two issues regarding
I need to create user control where <sc:text/> element should showed over the <sc:image>
I have a web view to override the built-in browser and I want to
Is that possible to have two styles for one element with different colors? In
I'v seen some similar questions about overriding styles with @import, people suggest to put
How do I override a child css-property. Example, the text should be black: <div
I set a button on my main layout that should execute goBack method of
I have a form and there's a thickbox binded to an <a> element on
The style should be like iBooks or pictures in foursquare. When we flip to

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.