Hi,
I have created a table, which has a stable header and a scroller for data. One of my data field has a combo box... Everything works fine but the combo moves over the header when scrolled...
Can anyone help me out?
The code is...
<HTML>
<DIV style="width: 180 px;height:200 px;overflow:scroll">
<TABLE style="border: #003399 1px solid;background-color: #003399">
<tr style="position:relative;top: expression(ignoreme=this.offsetParent.scrollTop-3);background-color: #003399;font-family:
Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";font-size: 8pt;font-weight: bold;color: #ffffff;height: 24px;">
<td align="center">Name</td>
<td align="center">Age</td>
<td align="center">Location</td>
</TR>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New
Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">abc</td>
<td align="center">12</td>
<TD width = "30%">
<SELECT Name ="hi">
<OPTION SELECTED value = 23>
</OPTION>
</SELECT>
</TD>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";
font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">def</td>
<td align="center">13</td>
<td align="center">loc2</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New
Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">ghi</td>
<td align="center">13</td>
<td align="center">loc3</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";
font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">jkl</td>
<td align="center">14</td>
<td align="center">loc4</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New
Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">mno</td>
<td align="center">15</td>
<td align="center">loc5</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";
font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">pqr</td>
<td align="center">16</td>
<td align="center">loc6</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New
Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">stu</td>
<td align="center">16</td>
<td align="center">loc6</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";
font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">vwx</td>
<td align="center">17</td>
<td align="center">loc7</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New
Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">y</td>
<td align="center">18</td>
<td align="center">loc8</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";
font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">z</td>
<td align="center">19</td>
<td align="center">loc9</td>
</tr>
</TABLE>
</DIV>
</HTML>
Thanks,
Guitar