Forum Moderators: open

Message Too Old, No Replies

Frames and tables

Can I just use tables or do I need a frame

         

oldspice

8:23 am on Jan 20, 2004 (gmt 0)



I want to include another webpage in one section of my webpage. I am getting the impression that I need a frame to do this. My page is several tables and I was wondering if I could use a table to achieve adding another webpage. If I have to use frames I only need one. Is this the correct format? I really am not sure. Thanks in advance

<FRAMESET ROWS="100%,0%">
<FRAME SRC="http://www.example.com/cat.htm">
</FRAMESET>

[edited by: tedster at 8:36 am (utc) on Jan. 20, 2004]
[edit reason] change domain to example.com [/edit]

tombola

8:49 am on Jan 20, 2004 (gmt 0)

10+ Year Member



You can use an iframe:

<iframe src="http://www.yourdomain.com/page.html" width="450" height="65" scrolling="no" frameborder="0"></iframe>

In this example, the content of page.html will be inserted with a width of 450 and height of 65.

tedster

9:16 am on Jan 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, oldspice.

The set-up you posted gives you a page that ONLY shows the imported document. It will "work", but then anyone on that page will not have navigation to any other page on your site. So it you go that route, a second navigation frame is probably a good idea.

Or, as tombola mentioned, an iframe may be even better. All depends on your purposes