<p>I want to embed an .asp page on an html page.  I cannot use an iframe.  I tried:</p>

<pre><code>&lt;object width="100%" height="1500" type="text/html" data="url.asp"&gt;
alt : &lt;a href="url.asp"&gt;url&lt;/a&gt;
&lt;/object&gt;"
</code></pre>

<p>works great in ff but not ie7.  Any ideas? Is it possible to use the object tag to embed .asp pages for IE or does it only work in ff?</p>

[{'answer_id': 53083, 'author': 'Matthew Crumley', 'author_id': 2214, 'author_profile': 'https://Stackoverflow.com/users/2214', 'pm_score': 1, 'selected': False, 'text': '<p>You might be able to fake it using javascript. You could either use AJAX to load the page, then insert the HTML, or load "url.asp" in a hidden iframe and copy the HTML from there.</p>\n\n<p>One downside (or maybe this is what you want) is that the pages aren\'t completely independent, so CSS rules from the outer page will affect the embedded page.</p>\n'}, {'answer_id': 53131, 'author': 'Pedro', 'author_id': 5488, 'author_profile': 'https://Stackoverflow.com/users/5488', 'pm_score': 2, 'selected': True, 'text': '<p>I\'ve solved it in the past using Javascript and XMLHttp. It can get a bit hacky depending on the circumstances. In particular, you have to watch out for the inner page failing and how it affects/downgrades the outer one (hopefully you can keep it downgrading elegantly).</p>\n\n<p>Search for XMLHttp (or check <a href="http://www.jibbering.com/2002/4/httprequest.html" rel="nofollow noreferrer">this great tutorial</a>) and request the "child" page from the outer one, rendering the HTML you need. Preferably you can get just the specific data you need and process it in Javascript.</p>\n'}, {'answer_id': 54643, 'author': 'mrjrdnthms', 'author_id': 5234, 'author_profile': 'https://Stackoverflow.com/users/5234', 'pm_score': 0, 'selected': False, 'text': "<p>Well, after searching around and testing I don't think it is possible.  It looks to me like IE does not allow the object tag access to a resource that is not on the same domain as the parent.  It would have worked for me if the content I was trying to pull in was on same domain but it wasn't.  If anyone could confirm my interpretation of this it would be appreciated.</p>\n"}]
['https://Stackoverflow.com/questions/53064', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5234/']