peterdreilly Posted March 9, 2009 Share Posted March 9, 2009 Hi,I am a newbie and in the process of converting my default page from HTML to XHTML strict. I have hit a problem with the iframe I use to display all my other pages. I have a compound table setup with top row for the header, bottom for the footer and centre split as table with left for the menu and right for the display of child pages from my site. The section of code that fails is:<td width="80%" valign="top"> <iframe name="Display" width="100%" height="100%" src="Display.html"></iframe></td>I know that iframes don't work in XHTML, so what does. Any assistance would be most appreciated, including directions to good tutorial sites. Looked on w3schools but can see no direct transfer, and possible indirections haven't jumped out at me.Thanksreilly Link to comment Share on other sites More sharing options...
jlhaslip Posted March 9, 2009 Share Posted March 9, 2009 Try an xHTML Transitional DocType Link to comment Share on other sites More sharing options...
Ingolme Posted March 9, 2009 Share Posted March 9, 2009 Well, I wouldn't recommend frames to begin with. With frames, you can't give each section their own URL.I'd use the PHP "include" command to display the HTML for each section. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.