Announcement

Collapse
No announcement yet.

[asp] Embed a web page question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [asp] Embed a web page question

    I need to include a web page from an external website in my asp web page. Preferably I would like to put it into a table 1 cell wide.

    Unfortunately I don't remember how to do this. What is the solution?

    #2
    Hi Dennis,

    You can do it by putting the external web page in an iframe and the iframe in a table like this:

    <pre class="ip-ubbcode-code-pre">
    &lt;html&gt;
    &lt;body&gt;
    &lt;table&gt;
    &lt;tr&gt;
    &lt;td&gt;&lt;h3&gt;Some stuff before the external web page&lt;/h3&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;&lt;iframe width=500 height=450 scrolling=no frameborder=0 src="http://www.google.com"&gt;&lt;/iframe&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;&lt;h3&gt;Some stuff after after the external web page&lt;/h3&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
    &lt;/body&gt;
    &lt;/html&gt;
    </pre>

    You can check out the parameters options here: The iframe tag

    Hope this helps.

    Cheers,

    Comment


      #3
      Thanks Joe!

      I forgot about iFrame. But this is exactly what I wanted to do.

      Also, thanks for the pointer to the website. I lost my links to the ones I used before. This website is better than some of the ones I used before.

      Again, thanks!

      Comment

      Working...
      X