berry wrote: If you want to use iframes, use a Transitional or Frameset doctype. For similar functionality in Strict, use object:
<object data="vide.htm" id="mframe" type="text/html" width="690" height="320">Text here for older browsers (perhaps a link to vide.htm)</object>
IFrames have made a comeback in XHTML1.1 if you include the IFrame DTD module.
Just do this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus IFrame 1.0//EN" "http://yourdomain/xhtml-11-iframe.dtd">
where "xhtml-11-iframe.dtd" is a plain text file containing this string:
<!-- ............................................................... --> <!-- XHTML 1.1 plus Iframe 1.0 DTD ................................ -->
<!ENTITY % XHTML.version
"-//iSell//DTD XHTML 1.1 plus IFrame 1.0//EN" >
<!ENTITY % xhtml11.mod
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" > %xhtml11.mod;<!ENTITY % xhtml-iframe.mod
PUBLIC "-//W3C//ELEMENTS XHTML Inline Frame Element 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-iframe-1.mod"> %xhtml-iframe.mod;
<!-- End of XHTML 1.1 plus Iframe 1.0 DTD ......................... --> <!-- ............................................................... -->
The document will then validate.
HTH -- -David R ****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
