CSS Techniques

Monday By Noon has a good list of CSS techniques to help you save your sanity:

The list is good, but I’d have to say I disagree with the first item:

* { margin:0; padding:0; border:0; }

This is meant to set all of the properties to 0 to make sure the browsers aren’t adding any weird spacing. I did this for a time, but later decided to just work with the defaults that the browser gives you.

I find that when I reset everything to 0, I just end up adding a lot more styles and styling things that I wouldn’t have otherwise styled.

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.



appointive
appointive
appointive
appointive