Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Iframes and tables

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am having some problems working with Iframes inside a table. I'm attempting to set up a main page and a table of contents page side by side. I need them to be in a table so that they can dynamically change size when the window resizes. The following is the markup that I'm using currently:

<table width=&quot;100%&quot; height=&quot;75%&quot; style=&quot;margin-bottom:0;padding:0;border:none&quot;>
<tr>
<td style=&quot;border:none&quot;>
<iframe align=&quot;left&quot; frameborder = &quot;0&quot; marginheight = &quot;1&quot; hpspace=&quot;0&quot; vspace=&quot;0&quot; id=&quot;menu&quot; src=&quot;Search Results.html&quot; name=&quot;menu&quot; width=&quot;20%&quot; height=&quot;100%&quot; scrolling=&quot;auto&quot;>
</td>
<td style=&quot;border:none&quot;>
<iframe align=&quot;right&quot; hpspace=&quot;0&quot; vspace=&quot;0&quot; name=&quot;library&quot; id=&quot;library&quot; src=&quot;HomePage.html&quot; width=&quot;80%&quot; height=&quot;100%&quot; scrolling=&quot;auto&quot;>
</td>
</tr>
</table>

It seems that this should produce two table cells, each with an iframe in it. However, it generates one cell instead with both iframes in it. This works but doesn't allow me to put anything else anywhere near the iframes. I would like to shorten the table of contents iframe, and put copyright information under it. the copyright information would stay static, while the information in the iframe would change.

I hope the problem makes sense, and please let me know if I'm missing something. Any help, ideas, or suggestions would be greatly appreicated.

Michael D. Lundin
Technical Writer
(michael.lundin@summitsite.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top