www.webdeveloper.com
Results 1 to 4 of 4

Thread: XHTML problem

  1. #1
    Join Date
    Mar 2003
    Location
    The Lone Star State
    Posts
    1,126

    XHTML problem

    I've got a problem. The validator says error on Line 27, column 5: document type does not allow element "body" here.
    It also says there is an error on Line 35, column 6: end tag for "html" which is not finished.

    Here is the code:

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Texas History</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta name="generator" content="AceHTML 5 Freeware" />
    <style type="text/css">
    <!--
    body {
    scrollbar-face-color: #000000;
    scrollbar-darkshadow-color: #000000;
    scrollbar-shadow-color: #0000CC;
    scrollbar-highlight-color: #0000FF;
    scrollbar-3dlight-color: #0000CC;
    scrollbar-track-color: #FFFFFF;
    scrollbar-arrow-color: #FFFFFF;
    background-color:#c0c0c0;
    }
    -->
    </style>
    </head>
    <body>
    <div style="text-align:center;">
    <iframe src="c:/ryan/texas.htm" width="950" height="50"></iframe>
    <iframe src="test.htm" width="950" height="500"></iframe>
    </div>
    </body>
    </html>
    Last edited by soccer362001; 08-24-2003 at 03:56 PM.
    "If at first you do suceed, try not to look astonished."
    I have 50 gmail invitations at my disposal, if you want one pm me with your First and Last name and your email address
    HTTPGuru

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    use transitional dtd instead of frameset.
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Mar 2003
    Location
    The Lone Star State
    Posts
    1,126
    Thank you that did just the thing.

    But I have one more question. I am using Bravenet and I am using the <nobanner> to get rid of the banners. Is there another way to do this?
    Last edited by soccer362001; 08-25-2003 at 01:50 PM.
    "If at first you do suceed, try not to look astonished."
    I have 50 gmail invitations at my disposal, if you want one pm me with your First and Last name and your email address
    HTTPGuru

  4. #4
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    You are probally not legally supposed to remove the banners from such services.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles