www.webdeveloper.com
Results 1 to 3 of 3

Thread: Iframe/Doctype issues

  1. #1
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004

    Iframe/Doctype issues

    I've never really had this problem before, since I don't usually deal with Iframes, but I was whipping something up and I ran into something a bit puzzling. For an Iframe to validate, you must have a Frameset DTD on your page -- such as the XHTML 1.0 Frameset DTD. But, it seems the starting <body> tag, and the ending </html> tags throw errors...?

    Am I missing something here, or what? Maybe my head is too fuzzy, I stayed up till 4 last night, sooo... beg pardon if I'm missing something. You can see what I mean here.

    I really, really, really hope I'm not missing something here, like maybe I forgot a closing tag or something, that'd be too embarrassing.
    Last edited by Paul Jr; 02-08-2004 at 04:03 AM.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    I belive you should be using:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    The frameset DTD is for <frameset> which must not contain <body>

  3. #3
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    Oooo
    Aha! I knew it was going to be something embarrassing like this.

    Lol, thanks.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

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