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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frames and ..

Status
Not open for further replies.

sonun

IS-IT--Management
Dec 26, 2001
384
US
I have a frame in my index page as such,
<head>
</head>
<frameset cols=&quot;1000,&quot; border=0>
<frame name=&quot;top&quot; src=&quot;top.htm&quot; marginwidth=&quot;0&quot; topmargin=&quot;0&quot; leftmargin=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;No&quot; frameborder=&quot;no&quot; noresize>
</frameset>

Now this basically is the top header. Now after this when I try to put a table under it as in the <body> </body> section,
<table ..>
<tr ...>
<td>
..
</td>
<td>
..
</td>
<td>
..
</td>
</tr>
</table>

But the conetnts of the table are not being displayed. Whats wrong here ??
Thanks.
 
You are not supposedtoput body tags into a frameset page. Instead add another frame to your frameset, under the top frame:

<frameset cols=&quot;1000,&quot; border=0>
<frame name=&quot;top&quot; src=&quot;top.htm&quot; marginwidth=&quot;0&quot; topmargin=&quot;0&quot; leftmargin=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;No&quot; frameborder=&quot;no&quot; noresize>

<frame name=&quot;bottom&quot; src=&quot;bottom.htm&quot; marginwidth=&quot;0&quot; topmargin=&quot;0&quot; leftmargin=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;No&quot; frameborder=&quot;no&quot; noresize>

</frameset>



Now put your table code in the bottom.htm inbetween <body> tags as usual and all should be ok.
 
I did that but the second frame &quot;bottom&quot; is way of to the right.
THanks.
 
dont specify cols, you specify rows:

put:

rows=&quot;100,*&quot;

and get rid of the cols property from your frameset tag
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top