PDA

View Full Version : Setting vertical height to 100%



Srinivas B
31 May 2007, 5:43 AM
Hi All,

I have used "Tab Panel" in one of my application and within that a use case needs me to display a Comments Section, which will fit vertically across browser's height.
Also there are a couple of other entities that come before Comments Section, which remain on the top portion of tab panel.

Iam not able to expand the Comments Section to browser's 100% height. This section is placed in an inline frame (<iframe>.

Please find the code and an attached image for reference.



<table height="100%" width="100%" border=1>
<tr>
<td height="9">&nbsp;</td>
</tr>
<tr>
<td height="100%"><iframe src="Comments_Inner.html" frameborder="0" width="100%" height="100%" style="overflow-x:hidden;"></iframe></td>
</tr>
<tr>
<td height="9">&nbsp;</td>
</tr>
</table>


Can i do a similar thing using different panels / layout, with in that Tab panel?

Thanks in advance,
Srinivas.