I'm stuck using IE 11 as a rendering engine in my Windows app. I know that there are quite a lot of examples how to prevent a table header from scrolling vertically, but I can't seem to make them work in IE. Is there any way to make it work there?
Here's an example of HTML I'm using for the table:
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<thead>
<tr>
<th scope='col'>Col 1</th>
<th scope='col'>Col 2</th>
<th scope='col'>Col 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>---</td>
<td>---</td>
<td>---</td>
<td>---</td>
</tr>
<tr>
<td>+++</td>
<td>+++</td>
<td>+++</td>
<td>+++</td>
</tr>
</tbody>
</table>
I need to make sure that the thead
stays on top of the table no matter how long the list of rows in it is.