+ Reply to Thread
Results 1 to 4 of 4

Thread: DOCTYPE getting changed?

  1. #1
    kenshn111 is offline x10Hosting Member kenshn111 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    DOCTYPE getting changed?

    For example:
    if I declare
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    in test.php

    when I view it in the site it turns into this:
    HTML Code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    Which bugs the design that I've made. O.o is there any way to prevent this from happening?

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: DOCTYPE getting changed?

    Got URL?

    Is this a PHP page or straight HTML?

    Actually, it shouldn't be happening.
    Nothing is always absolutely so.

  3. #3
    kenshn111 is offline x10Hosting Member kenshn111 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    4

    Re: DOCTYPE getting changed?

    www.inertiaro.x10.bz

    The doctype just won't appear and then changes the <html> into
    HTML Code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    .


    I really don't know why lolololol

    ---------- Post added at 05:40 AM ---------- Previous post was at 04:29 AM ----------

    It's a PHP page, sorry for double posting. The edit button wasn't working.

    ---------- Post added at 06:45 AM ---------- Previous post was at 05:40 AM ----------

    Please close the thread now, we kinda fixed the problem xD.

  4. #4
    Darkmere's Avatar
    Darkmere is offline x10 Lieutenant Darkmere is an unknown quantity at this point
    Join Date
    Jun 2011
    Location
    Fernley, Nevada
    Posts
    360

    Re: DOCTYPE getting changed?

    It supposed to do that ... the doc type you are using XHTML 1.0 which needs that decleration http://www.w3schools.com/tags/tag_html.asp

    Computer Forensics/Security Student
    Kaplan University
    Site: http://skynet.x10.mx

+ Reply to Thread

Similar Threads

  1. Changed url
    By Try4se in forum Free Hosting
    Replies: 1
    Last Post: 08-30-2011, 09:37 PM
  2. Changed the domain name
    By s15s78 in forum Free Hosting
    Replies: 2
    Last Post: 11-24-2010, 11:21 AM
  3. Community has changed
    By nightscream in forum Off Topic
    Replies: 21
    Last Post: 01-26-2009, 03:37 PM
  4. Need php.ini changed?
    By componentwarehouse in forum Free Hosting
    Replies: 17
    Last Post: 09-25-2007, 11:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers