News for hackers. Stuff that matters.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by robin_reala on Wednesday December 23, 2009 @04:07AM (#1011822)
That’s a fair point, they are useful as a learning aid. It’s just important to bear in mind that not only are reset stylesheets not required in the long run but they’re actively inefficient.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by ubernostrum on Wednesday December 23, 2009 @04:21AM (#1011831)
A reset is a form of future-proofing. If a new browser, or new browser version, appears with its own ideas about default values for margin, padding, etc., then so long as its CSS support is decent your existing reset will make it either mostly or completely work from day one.

This does not mean "never do browser testing" -- you should (and you should do it smartly, based on what's known about both the browsers and your demographics) -- but it does mean that you're less likely to get caught with your pants down.

Also, for my money, the best regime out there for classifying browsers and organizing a testing system is Yahoo's graded browser support. And oddly enough, they seem to like resets...

Re:CSS Techniques I Wish I Knew When I Started Designing Web... by robin_reala on Wednesday December 23, 2009 @04:37AM (#1011839)
A good point. Still, it always comes down to a cost/benefit equation. Balancing the cost of a sending every user a set of reset styles in terms of extra page weight against the benefit of some possible future-proofing against some possible browsers then my choice would be to go with the lighter site.
Re:CSS Techniques I Wish I Knew When I Started Designing Web... by ubernostrum on Wednesday December 23, 2009 @03:42PM (#1012796)
If your CSS is minified and compressed, a reset is almost unnoticeably small. The YUI 3 reset stylesheet, for example, is 858 bytes uncompressed.