faqts : Computers : Programming : Languages : JavaScript : Frames

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 12 people (83%) answered Yes
Recently 7 of 8 people (88%) answered Yes

Entry

How do I get NN6 to "see" an IFRAME located within nested tables?

Aug 25th, 2001 09:49
Tony Crosby, Tom Stewart,


<table border="2" cellpadding="0" cellspacing="0" width="37%">
    <tr>
      <td width="50%"> </td>
      <td width="50%">
        <table border="2" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td width="50%"> <IFRAME src="http://testURL" 
name="myEditor" FRAMEBORDER=0 SCROLLING="auto" WIDTH=100 
HEIGHT=100></IFRAME></td>
            <td width="50%"> </td>
          </tr>
          <tr>
            <td width="50%"> </td>
            <td width="50%"> </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td width="50%"> </td>
      <td width="50%"> </td>
    </tr>
  </table>
 Works just fine in Netscape, the one thing you'll have to worry about 
with an iframe in nested tables, is the sizes of the iframe you call 
out, be sure to not use percentages, only IE will fit the frame to the 
cell if you do, Netscape - Mozilla will ignore the iframe.
 This will solve most peoples problem and it sounds like it could be 
the source of your problem as well.
 Tony