Can't get rid of DOCTYPE Override

This has been really bugging me...

I've gotten my page to validate, but I can't get rid of this message:

DOCTYPE Override in effect! Any DOCTYPE Declaration in the document has
been suppressed and the DOCTYPE for HTML 4.01 Transitional inserted
instead. The document will not be Valid until you alter the source file to
reflect this new DOCTYPE.

When I look at the page code, the validator replaced my DOCTYPE line with
the exact same thing! I'm using this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


I've tried looking at the html code for w3.org to see how that manages to
not get the doctype override message, but I couldn't figure it out.
I've done several google searches and looked at probably 10+ websites that
explain how to use the doctype declaration. I've followed those
instructions exactly I believe.

Can anyone help me fix this? (not that it's a major error, but I'm a
perfectionist :)).

-John


PS. My header is:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link REL="SHORTCUT ICON" HREF="favicon.ico">
<LINK REL='stylesheet'  TYPE='text/css' HREF='mystyle.css'>

<title>[jpdavin]: Photos</title>
</head>

Received on Sunday, 18 January 2004 14:02:43 UTC