About the benefits of validation
A co-worker (layout designer) is hysterical: “I zadolbal buggy IE, so that it failed, nevermind never works anything in it, got tired.” We begin to understand. Open in Mozilla with Firebug and validation on the fly. The area causing the problems (main menu) is parted. The validator immediately produces seven errors. Corrected the code, validation is now passed with a bang. Of course, the menu took its place, in IE everything is ok, as it should.
The wounded coder crawls away, continuing, however, to scold IE.
Conclusion: as in any problematic situation, of course, it’s not the browser that is to blame, but our curved handles that poke all kinds of obscene designs into this browser. Golden rule for cross-browser layout automation: a document is requiredpass validation at least without errors (ideally and without warnings). Do it - do it all. In this case, of course, we were just lucky, not validation cured the document, but it is better to treat glitches in the valid document.
The wounded coder crawls away, continuing, however, to scold IE.
Conclusion: as in any problematic situation, of course, it’s not the browser that is to blame, but our curved handles that poke all kinds of obscene designs into this browser. Golden rule for cross-browser layout automation: a document is requiredpass validation at least without errors (ideally and without warnings). Do it - do it all. In this case, of course, we were just lucky, not validation cured the document, but it is better to treat glitches in the valid document.