Differences between version 5 and revision by previous author of RealWorldWebCompliance.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Tuesday, September 7, 2004 11:23:45 am | by NickJohnson | Revert |
Older page: | version 4 | Last edited on Monday, September 6, 2004 5:00:32 pm | by PerryLorier | Revert |
@@ -8,19 +8,25 @@
The percentage of people using a non-IE browser is estimated to be between 5% and 15%, depending on who you ask. You wouldn't tolerate a phone system or secretary that turned away 10% of potential customers who ring you...
-!!Do's
and don'ts
+!!Dos
and don'ts
* Don't use "document.all" in your JavaScript
+
* Don't use MSXMLDOC
+
* Don't develop your CSS padding/margin/box model by only testing in IE
* Do test your HTML pages against http://validator.w3.org/ (or the free "[sgmlnorm|http://openjade.sourceforge.net/doc-1.5.1/sgmlnorm.htm]" program)
* Don't put stuff in a table without <td> tags around it (IE displays it, Moz might not)
+
+* Don't use markup purely because its default display suits what you want. Use markup that's suitable to the content, then style it using CSS, instead.
+
+* __Don't__ create browser detection pages that lock out browsers you think won't work, or browsers you don't recognise. New browsers and versions come out all the time, and you never know when one of them will be fixed.
There's a great guide on the specifics at http://nexgenmedia.net/evang/iemozguide/.
!!Should I support Netscape any more?
If you support [Mozilla], you're supporting Netscape 7 and up. These days it's realistic to drop support for any version of Netscape 4 or below.