.oO(dross202)
Quote:
I was the link http://gutfeldt.ch/matthias/articles/doctypeswitch.html> But, i
figured it out - there was an extra > on the end. |
OK, looks like a webforum issue again, if the '>' becomes part of the
link ...
Enclosing a URL with <> is allowed (and sometimes necessary to keep
newsreaders from breaking lines, that's why I use it), since these
characters are delimiters and not allowed inside a URL.
Quote:
Also, I tried the strict
doctype, validated it and it came back with a couple errors - 1st was about
the javascript line |
The language-attribute is deprecated.
Quote:
- next was about borders of 0 on the navigation buttons - |
Also possible with CSS and the 'border' property:
a img {border: 0}
Quote:
So, I changed to the transitional doctype and it validated perfectly. -David |
Fair enough, but you should at least try to be strict. It's cleaner code
and better markup.
OK, sometimes it could be necessary to stay with the transitional DTD to
take care of some older browsers (I don't know if JavaScript will work
without the language-attribute in NN4 for example). But personally I
would always go with the strict DTD, as long as the site is still usable
in older browsers (even if some additional features might be missing).
Micha