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
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>