doctype override?
Results 1 to 4 of 4

Thread: doctype override?

  1. #1
    Senior Member
    Join Date
    Oct 2001
    Posts
    689

    Post doctype override?

    Ive been working on making my page validate under the w3c rules. The problem is that it only is tentatively validates right now and I cant figure out how to make it validate. I get 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.

    How do I stop the doctype override?

    http://validator.w3.org/check?uri=ht...Europe%29&ss=1
    Wine maketh merry: but money answereth all things.
    --Ecclesiastes 10:19

  2. #2
    Senior Member Zonewalker's Avatar
    Join Date
    Jul 2002
    Posts
    949
    Hi Preacher

    I'm assuming that the page you are trying to validate is the actual index page at http://www.badconnections.net - if so.. I've had a quick look at your source.... I think your problem is as follows.....you haven't included something like this -

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/frameset.dtd">

    - goes above the '<html>' tag or anything like this -

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

    - goes after '</title>' and before '</head>'

    W3C will not list a html doc as 100% valid if you do not include the doctype and I think (not totally sure though) the meta tag for content type is also mandatory. Anyway put the above ose in at the appropriate places and then try again.

    PM me if you need any further help.


    Z

    <Edit>

    PS you might need some other meta tags in aswell... but many of them are optional












    Quis Custodiet Ipsos Custodes

  3. #3
    Senior Member
    Join Date
    Oct 2001
    Posts
    689

    Post

    Problem is now fixed and my updated and compliant page is now up at http://www.badconnections.net
    Wine maketh merry: but money answereth all things.
    --Ecclesiastes 10:19

  4. #4
    Senior Member Zonewalker's Avatar
    Join Date
    Jul 2002
    Posts
    949
    just checked out your site... nice one Preacher, I like it
    Quis Custodiet Ipsos Custodes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •