Using two iFrames on the same page does not work in Firefox

I use two iframes on my page, one for the menu page and the other for some default page. So, I used two frames to load external pages. It works fine in IE. But not in firefox. The second iframe is not displayed. Please help me.

<table id="tbleMain" width="100%" align="left" > <tr align="left" style="width: 10%; height: 10%"> <td align="left" colspan="2"> <img src="../Images/Logo.JPG" height="70px" width="1000px"/> </td> </tr> <tr style="height: 90%"> <td width="3%"> <iframe id="frame1" name="f1" align="left" frameborder="0" width="200px" height="500px" src="Menu.jsp"/> </td> <td width="97%" valign="top" align="left"> <iframe id="frame2" name="f2" align="left" frameborder="0" width="200px" height="500px" src="SrchEnv.jsp"/> </td> </tr> </table> 
+4
source share
1 answer

change your first iframe tags as below:

 <iframe id="frame1" name="f1" align="left" frameborder="0" width="200px" height="500px" src="Menu.jsp"></iframe> 

This should be fine, but I don’t know why it works this way.

+6
source

All Articles