tags:

views:

180

answers:

4

Possible Duplicate:
Best css reset

Does anybody know of any super reset for CSS, which covers everything?

+4  A: 

I have always used the YUI resets. They differ from others as they reset everything, so you effectively start from scratch. There is also the added trust that it is Yahoo and their YUI framework backing it.

There is a nice article here about the YUI Reset vs. Eric Meyer's Reset: http://www.puidokas.com/reset-styles/

balupton
Yes! I couldn't agree more.
Brad
+1  A: 

Keep it simple. I go with something like this:

* {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
}
recursive
I don't understand the down vote, it is quite a interesting solution that was proposed. And really would reset everything, but again only for those specified properties. Interesting and valuable answer nonetheless.
balupton
This is bruteforce and will need parsing the whole DOM again and again and again at each modification, thus will cause performance problems in dynamic websites. This is why there are smart solutions by E. Meyer and others. So yes it'll reset everything but you shouldn't use it.
Felipe Alsacreations
I don't understand. Why would this require any DOM operations that E. Meyer's wouldn't?
recursive
+2  A: 

I use Eric Meyer's.

Hooray Im Helping
+6  A: 

Eric Meyer's Reset: http://meyerweb.com/eric/tools/css/reset/

Zippit