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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:28:48+00:00 2026-05-16T14:28:48+00:00

I’ve been trying to build a web site and I was using a CSS

  • 0

I’ve been trying to build a web site and I was using a CSS Reset Stylesheet to aid in cross-browser compatability. However, now that I am looking at the results in Firebug, it looks like all CSS Resets do is spend a lot of wasted time traversing up the DOM. For instance, a simple line of code like:

<div><span><p>...</p></span></div>

Will inherit a bunch of wasted styles from p, span, div, body, and html which will probably be overwritten by a class or id anyways. And for many of the scenarios I can think of, a simple inheritance from body{} would suffice. This seems really inefficient to me.

My real question is, would it be better practice if I just set:

* {margin:0; padding:0; border:0;} and maybe body {font-size:62.5%}

Or is that code equally inefficient? At this point, those two CSS rules seem to be the only useful part of a reset stylesheet.

  • 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-16T14:28:49+00:00Added an answer on May 16, 2026 at 2:28 pm

    To quote Eric Meyers about his Reset style sheet.

    That’s much of the point here: that
    this is not a case of “everyone must
    use these styles in a certain way
    without alteration”. Nor am I saying
    that everyone must use them or else be
    cast into darkness. Remember before
    that I termed these “my take on the
    topic of reset styles” (emphasis
    added). Your take may be subtly or
    greatly different. Think of these as a
    starting point for creating your own
    defaults, in addition to being a way
    to illuminate the nature of browser
    defaults. Simply the act of taking
    those defaults into consideration and
    thinking about them closely puts you
    ahead of 99% of your peers. I do think
    that reset styles are quite useful;
    otherwise, I wouldn’t have written
    about them here, and certainly not to
    the extent that I have. My hope is
    that people will use them as a launch
    pad for their own resets and for
    deeper thinking about styling and
    browsers.

    If you discover that a simpler reset style sheet works best for you then I really can’t disagree with you. I think you have identified the parts that really matter for layout purposes, and if that is all you are looking for, you don’t have to push it any farther.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
We're building an app, our first using Rails 3, and we're having to build
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and

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.