External HTML within a table cell

liunx

Guest
Remember me?<br />
<br />
:D <br />
<br />
How do you load an external HTML page into a table cell?<br />
<br />
Thanx.<!--content-->You can only do this with a server-side language. It is not possible with HTML alone. Here is some SSI code:<br />
<br />
<br />
<table width="80%"><br />
<tr><td><br />
<!--#include file="include.html" --><br />
</td></tr><br />
</table><br />
<br />
<br />
Of course, this will only work if your server supports SSIs and your document has an extension of .shtml or .shtm.<!--content-->Actually, it is possible with HTML alone, but I really don't wish to use an IFRAME as it is not cross-browser compatible.<!--content-->Also, remember -- when including files, elements such as <html><head> etc should be removed from the file you are including. If it is not, you could use PHP to include the file after removing these items. It would be simplest just to not have them in the file, though, if that is a possibility.<!--content-->Believe it or not, IFrames work in Netscape6+, and are valid HTML 4.01.<!--content-->REALLY?!<br />
<br />
COOL!!!<br />
<br />
Thanx yet again, guyz and galz!!!<br />
<br />
:D<!--content-->By the way...<br />
<br />
Does ne1 happen to know where I might find a COMPLETE list of ALL options available for the IFRAME command?<br />
<br />
Thanx.<!--content-->At the W3C: <!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/present/frames.html#h-16.5">http://www.w3.org/TR/html401/present/frames.html#h-16.5</a><!-- m --> <br />
<br />
P.S. I am a guy! :)<!--content-->http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME<br />
<br />
And don't forget to supply a link to the external document for those few browsers that do not understand the IFRAME element.<br />
<br />
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3.org/"><a href="http://www.w3.org/">W3C</a></iframe><!--content-->
 
Back
Top