PDA

View Full Version : multiple iframes on one page


François van Riel
07-08-2010, 10:27 AM
Hi,

I want to place two iframes on a page with diverent information in it.

This is the code i made.

<div id="apDiv23">
<table width="253" height="548" border="0">
<tr>
<td width="250"> <iframe src="leftFrame.html" width="252" height="548" align="left" scrolling"no" frameborder="0" name="iframe1"></iframe></td>
</tr>
</table>
</div>
<div id="apDiv12">
<table width="735" height="49" border="0">
<tr>
<td width="735"> <iframe src="copyright.html" width="735" height="49" align="left" scrolling"no" frameborder="0" name="iframe2"></iframe></td>
</tr>
</table>
</div>

But i get in both iframes the copyright.html.

Rob_Che
07-21-2010, 10:12 PM
I think there are better ways of doing this.

Any reason you're using iFrames?

Corrosive
07-22-2010, 05:25 AM
I think there are better ways of doing this.

Any reason you're using iFrames? ...really any reason you are using iframes nested in tables nested in absolutely positioned divs? That sounds like a recipe for stress to me!

Rob_Che
07-22-2010, 07:08 AM
absolutely... *shudder*