Help - Search - Members - Calendar
Full Version: Object tag or Iframes?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
philwinter
Hello,

I'm attempting to use the Object tag to embed HTML into a Web page. The Object tag works fine in FireFox, but not at all in IE. After doing some research I found that the Object tag does not work in IE. I've seen some other posts on this forum about simply using Iframes, but I'd rather use the Object tag if there is a simple way to make it work.

Is there a way in IE to embed an HTML file in a web page using the Object tag, or should I simply use and Iframe and be done with it?

BTW, the page I need to embed starts out as an Excel spreadsheet, which is then converted to and HTML page.

Thanks.
Christian J
Why not include it on the server (using e.g. PHP) instead? If you want to include a complete HTML document you can let a server-side script remove everything except the contents of the BODY element, so you don't end up with double HEAD sections.

You may also be able to convert the Excel file to HTML with PHP, but I have no experience with that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.