Hello Ken
On 22-Feb-01, you wrote:
>> DOCTYPE to pass.
>
> 1. Your !DOCTYPE has the following mistakes:
> a. You have "4.01" instead of "4.0"
4.01 is a valid HTML revision, which fixes some really annoying (like
using NAME as well as ID) bugs in the old 4.0 specification. I beleive
W3C recommended everyone use the latest if they weren't already, and
publically kicked themselves for introducing such stuff :)
> 2. The <TD> tag cannot have the BACKGROUND attribute under HTML4.0
Of course it can. It won't validate, but HTML is more than the specification
in most browsers. Can you name a graphical browser that doesn't?
> Netscape and IE have both implemented this non-standard <TD> attribute,
> but in different ways.
How so? TD BACKGROUND merely loads an image and tiles it in the back of
the cell in any browser..
I don't think it's prudent to be so anal about the validity of your HTML -
valid HTML does not mean a nice, usable site, nor does it guarantee
compatibility in browsers (I know Netscape falls over on a lot of standard
stuff, I was having to fix my sites for some REALLY odd JS parsing bugs in
Netscape last night, something which by rights and by specifications I
should not have had to do)
If someone wants a !DOCTYPE for to validate their pages, they should get it
from the W3C pages and make sure they copy it verbatim. Validation is
only a method to spot dumbass errors (like spelling mistakes, missing end
tags) and is not a guarantee of "supportable" code.
Write sites how you want. If they don't work in all browsers how you intend,
then chances are either your code is f**ked to high heaven, or the browser
is (*ahem* Netscape *cough*)
Thanks
--
Matt Sealey <[EMAIL PROTECTED]>
Website http://www.kittycat.co.uk
_____________________________________________________________________
Voyager Mailing List - http://v3.vapor.com/
Voyager FAQ....: http://faq.vapor.com/voyager/
Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP
Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE