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 05:03 AM.
I belive you should be using:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
The frameset DTD is for <frameset> which must not contain <body>
Aha! I knew it was going to be something embarrassing like this.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)