CSS Browser Reset

A trendy topic amongst CSS’ers is the CSS reset. The idea is that you intercept the default browser stylesheet (that is used first in the cascade), reset, and then apply generic styles including margin/padding. I read many articles by many gurus, but I eventually came out with what I have below.

For differing implementations check out this great “killer collection” of resets, and note that this won’t work in IE6 due to the universal selector but I’m ok with that.

EDIT: My syntax highlighting plugin added “baseline” in there twice, and it shouldn’t be there. If you view it in plain text it’s not there. Does anyone know of a good WordPress syntax highlighting plugin that doesn’t stink?

2 Comments

  1. Thanks for the link, Chris! I finally got around to updating my collection with your CSS reset. Great work!

    Jeff Starr on 06.11.08
  2. Thanks Jeff!

    Chris Poteet on 06.11.08

Got Something to Say?

(Required)
(Required)