I have a problem with my HTML table... I am trying to have a scrollbar when my table is too wide for the page. I'd like the first column to remain fixed while the user scrolls horizontally. It works but the second column of the table appears behind the first one! It looks like it comes from the style="position: fixed"
property.
Here's the code:
<table id="coverageMatrix">
<!-- Table Headings -->
<tr>
<th class="center" style="background: #ddd; position: fixed">ertertert</th>
<th class="center " style="background: #ddd;">azeazeaze</th>
<th class="center " style="background: #ddd;">azeazeaze</th>
<th class="center " style="background: #ddd;">azeazeaze</th>
<th class="center " style="background: #ddd;">azeazeaze</th>
</tr>
<tr name="scenarioRaws">
<th style="position: fixed">qsdqsd</th>
<td>toto</td>
<td>toto</td>
<td>toto</td>
<td>toto</td>
</tr>
<tr name="scenarioRaws">
<th style="position: fixed">qsdqsd</th>
<td>toto</td>
<td>toto</td>
<td>toto</td>
<td>toto</td>
</tr>
<tr name="scenarioRaws">
<th style="position: fixed">qsdqsd</th>
<td>toto</td>
<td>toto</td>
<td>toto</td>
<td>toto</td>
</tr>
</table>