Object tag or Iframes?, Need to embed html page in Web page |
Object tag or Iframes?, Need to embed html page in Web page |
philwinter |
Aug 15 2008, 02:20 PM
Post
#1
|
Member Group: Members Posts: 58 Joined: 3-May 07 Member No.: 2,712 |
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 |
Aug 15 2008, 02:29 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
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. |
Lo-Fi Version | Time is now: 19th April 2024 - 02:58 PM |