Again, what's the problem with just
leaving my page non-validating?
Hi, Kris. Near as I've been able to find out, that won't cause a
significant riff in the space-time continuum. Somebody can correct me if
I'm wrong, but I don't believe using an invalid attribute in a page with
a "standards" mode 4.01 strict doctype will kick a "modern" browser like
IE6 or Mozilla out of "standards" mode. You would be prohibited, morally
at least, from displaying the "valid html" logo on your page. To me (not
that I count) there's a difference between validation failure due to
carelessness, cluenessness or stupidity, and failure by choice after
attempting all reasonable means to comply with the dtd. The W3C says,
"W3C produces what are known as "Recommendations". IOW, the 4.01
specification is not exactly an edict, although it is sort of a Holy
Grail among authors who care. Again, I'm only speaking for myself and I'm
neither a professional web author nor a "regular" in this NG.
Whether you should fall back to 4.01 transitional doctype just to
"validate" depends on whether your other html and css is best rendered in
"standards" or "quirks" mode. If it makes no difference and you want to
display the "valid html" logo, then 4.01 transitional doctype may be the
way to go. I think it'd be better to stick with 4.01 strict with the one
or two intentional "errors" you can't avoid. Maybe there's a reason this
would be ill advised, but I don't know what it is.
Personally, I've had pretty good luck getting 4.01 strict and CSS 2
layouts to look very much the same in NS4 as they do in IE and Moz, even
3-column non-table layouts. Partly because the design allows enough slop
in positioning that the differences don't matter aesthetically. I have a
page where that bright blue border on an image link in NS4 is really
unnecessary and ugly, and frankly I haven't decided yet whether to go
ahead and stick in the border="0". Maybe later. For now I'm still
savoring the "congratulations, this validates as html 4.01 strict"
message.
Are there any other browsers I should be testing? Do you
know of any place that keeps statistics on what browsers/versions are most
commonly used?
I don't know Mac or Unix, only PC's, where you need to test on Mozilla
1.4, IE6, IE5 and/or IE5.5, Opera, Lynx and NS4. I think NS7 will be same
as Mozilla. You can have all these installed on the PC except for
multiple versions of IE. If you have a big enough HD, you can create a
separate partition and put a different version of IE there. Or you can
put IE5 on a cheap standby PC, or have a friend with 5.5 tell you how it
looks. There's also software to run a virtual alternative OS with a
different IE version, but that's over my head, for sure.