Webpage in Tables

Associate
Joined
6 Feb 2003
Posts
751
Location
Sutton
I am trying to setup a webpage using tables and I would in one of the cells I would like it to load up another webpage inside it.

I have been told this is possible but I have tried looking around the web and just can not seem to figure it out. I am using Dreamweaver.
 
Iframes and tables for layouts are evil but if the contents external to the site you can put this in your <td>

<iframe src="http://www.site.com" width="xxx" height="xxx"></iframe>

If the content is within your domain and you're able to use PHP then use an include; e.g.

<?php include 'whatever.html'; ?>
 
As above, <iframe>s are generally a bad design decision and should only be used when absolutely necessary. Try and keep all content local to your document, as it keeps the page accessible and usable.

You also mention "trying to setup a webpage using tables". Assuming you're creating your layout with tables, this is also a poor design decision. Tables are not intended to create layouts, they are for displaying data in a tabular fashion (makes sense really). Some reading:
 
/sorry for the hijack..... :o

Augmented said:
As above, <iframe>s are generally a bad design decision and should only be used when absolutely necessary.

i'm using an iframe in my page as i find it's the only way i can target the page with a form action. is there a way i can do this without an iframe? :)
 
marc2003 said:
an iframe in my page as i find it's the only way i can target the page with a form action. is there a way i can do this without an iframe? :)
Can you not just set the page URI as the form's action? e.g.
Code:
<form [COLOR=Yellow]action="http://www.google.com/search"[/COLOR] method="get">
  <fieldset>
    <label for="query">Search</label>
    <input type="text" id="q" name="q" />
    <input type="submit" value="Go!" />
  </fieldset>
</form>
 
Augmented said:
Can you not just set the page URI as the form's action?

that will just open a new page? as you saw from my page yesterday, the lastfm thingy, half the page is a form, the other half is another page in an iframe called by my form action. i started a thread about this the other day...

http://forums.overclockers.co.uk/showthread.php?t=17708834

sorry to the OP. :)

/end hijack
 
Back
Top Bottom