I was wondering about the possibility of using a global CSS reset file on my projects and eventually I decided to not use it. Why? Just because resetting all default styles used by a web browser is not always a good idea. Let's try to explain. We have a global reset like this:
html, body, h1, h2, h3, h4, h5, h6, ul, ol, p { margin: 0; padding: 0; }
This seems a good idea for elements such as body
or headings, but what about paragraphs? Usually paragraphs must have some white-space that divides them from the rest of the content. If you reset them from start, you'll end up with redefining them somewhere else in your stylesheet, and so you're actually going to specify more than one single style rule. And that means duplicating your code over and over again.
I'm just saying that you should always use reset files with extreme care and not just simply copy and paste on your own site. In other words, what is useful for the author of the reset CSS file may not be good for you. Take care then.