Search

3/09/2008

* { margin: 0; padding: 0; } No Longer Cool - CSS-Tricks

* { margin: 0; padding: 0; } No Longer Cool - CSS-Tricks

This eliminated all differences in padding and margin across browsers so I was free to go about styling my page. Unfortunately, this isn’t a good practice. It’s very heavy on the rendering agent to apply rules to every single element in the document, especially with large web pages, and this can also destroy a lot of good default styling, especially when you want to have default styled submit buttons.

Eric's Archived Thoughts: Reset Reloaded

沒有留言: