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;">
1.Add/Improve<br />
2.Defect<br />
3.Failure in QA<br />
4.Defect(External)<br />
5.Specchanged<br />
6. Other<br/>
Number( )
</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;" >
(1). Yes (SNL/SSN)<br /> 2. No<br /> Reason : <br />
<font style="font-family:Courier New; size:9pt;">hhjhj</font>
</td>
</tr>
</table>
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;">
1.Add/Improve<br />
2.Defect<br />
3.Failure in QA<br />
4.Defect(External)<br />
5.Specchanged<br />
6. Other<br/>
Number( )
</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;" >
(1). Yes (SNL/SSN)<br /> 2. No<br /> Reason : <br />
<font style="font-family:Courier New; size:9pt;">hhjhj</font>
</td>
</tr>
</table>
Jiji
February 2,