Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I reference a .html file inside a table?

Status
Not open for further replies.

dwcasey

MIS
Oct 31, 2002
179
US
For Frames, I think there is a frame src tag you can use. But for tables, what do you do?

Someone told me to convert HTML to a .js file and then use something like <script src="..."....</script> but I can't get that to work. Maybe the HTML to JS converter I used was bogus?

Any ideas?
 
It sounds like you need the [tt]<iframe>[/tt] tag. Tables don't have a facility to include ane external HTML file this way.

A HTML to JS convertor sounds messy - it would certainly de-optimise your search engine rankings, and users who have javascript switched off won't see anything!

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Maybe what you are trying to do is include an external .html file into the middle of an existing .html file (and it just so happens that this is inside a table on your existing .html file).

If this is the case, you need to investigate the use of server-side include files (SSI). This will necessitate you use a web server that supports this (Apache and IIS both have support for SSI).

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top