:: Forum >>

Problems in a dymanically enlarging table1

Hai all,

I have a table with a cell which spans two rows.
I need to set a fixed height for one cell(located in the row) and the other one's height will be increasing dynamically.

My problem is that the height of the fixed cell is not constant. Though im using the max-height in CSS, the problem continues.

Do anyone solve this??

Thanks in advance.

My rough code is below.



<table style="word-break: break-all; table-layout: fixed;width:646;
border-top-style: none; border-bottom-style: none;" width="100%"
cellpadding="1" cellspacing="0" border="1" bordercolor="#000000">

<tr>
<td class="formItem_en" align="center" rowspan="2" width="76"
bgcolor="#E5E5E5">Change<br> Reason <br> (Defect <br>Pheno<br>-menon)
</td>
<td class="formItem_en" valign="top" align="left" rowspan="2">
bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla..
bla.. bla.. bla.. bla.. bla.. bla.. bla..
bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla..
bla.. bla.. bla.. bla.. bla.. bla.. bla..
bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla..
bla.. bla.. bla.. bla.. bla.. bla.. bla.. bla..
<br /><br />
</td>
<td class="formItem_en" align="center" width="60" style="max-height: 100;" bgcolor="#E5E5E5">Motive</td>
<td valign="top" align="left" width="130" style="max-height: 100;">
&nbsp;1.Add/Improve<br />
&nbsp;2.Defect<br />
&nbsp;3.Failure in QA<br />
&nbsp;4.Defect(External)<br />
&nbsp;5.Specchanged<br />
&nbsp;6. Other<br/>
&nbsp;&nbsp;&nbsp;&nbsp;Number(&nbsp;&nbsp;&nbsp;&nbsp;)
</td>
</tr>

<tr>
<td class="formItem_en" align="center" width="60" style="min-height: 100;"bgcolor="#E5E5E5">
SNL<br> or <br>SSN<br> need
</td>
<td valign="top" align="left" width="130" style="min-height: 100;" >
&nbsp;(1). Yes (SNL/SSN)<br />&nbsp;2. No<br />&nbsp;Reason : <br />
&nbsp;<font style="font-family:Courier New; size:9pt;">hhjhj</font>
</td>
</tr>

</table>

Jiji
Thursday, February 2, 2006

This topic is archived.


Back to support forum

Forum search