this is my code
could someone plese tell me what went wrong pleaseCode:<table> <tr> <td src="name.htm"></td> </tr> </table>
| SitePoint Sponsor |


this is my code
could someone plese tell me what went wrong pleaseCode:<table> <tr> <td src="name.htm"></td> </tr> </table>


there is NO such thing as a src='' for a td cell!
I think you are thinking of an SSI or something like that
a td cell is only a holder element for something like an image or something else
You could create an iframe and link the frame to whatever page you were aiming at inserting into the table.


That method will probably become feasible in XHTML 2.0, but that is way off yet.![]()
Birnam wood is come to Dunsinane
TD is a data cell. It is not able to load anything or specific actions by itself. That is where frames, I-frames, and layers come in. You should consider those.
HTMLGuy


You could also insert an OBJECT element into the TD. That's the modern W3C way (iframes are deprecated). Needless to say, it's not well-supported by the most popular browser out there.![]()
Birnam wood is come to Dunsinane
Yes you could use objects but it is not able to be used in all browsers like you said. Tables are for formatting not displaying data.
HTMLGuy



There is really no way to do what you are wanting using XHTML. Browser support for objects is really weak and far off of working on all browsers..
If your server has PHP you can do an include:
If you need help with PHP includes please PM me.PHP Code:<?PHP //include whatever page you want via php
include ("yourpage.php");
?>
Bookmarks