<div class="scrollable">
<table>
<thead>
<tr>
<th class="nothing_here">Nothing here</th>
<th>Tora Gargano</th>
<th>Emory Beck</th>
<th>Jane Doe</th>
<th>Yoshiko Beekman</th>
<th>Treasa Norris</th>
<th>Jane Doe</th>
</tr>
</thead>
<tbody>
<tr>
<th>Actions</th>
<td>blah</td>
<td>blah</td>
<td>blah</td>
<td>blah</td>
<td>blah</td>
<td>blah</td>
</tr>
<tr>
<th>Status</th>
<td>Pending</td>
<td>Done</td>
<td>Pending</td>
<td>Pending</td>
<td>Done</td>
<td>Pending</td>
</tr>
<tr>
<th>Actions</th>
<td>blah</td>
<td>blah</td>
<td>blah</td>
<td>blah</td>
<td>blah</td>
<td>blah</td>
</tr>
<tr>
<th>Status</th>
<td>Pending</td>
<td>Done</td>
<td>Pending</td>
<td>Pending</td>
<td>Done</td>
<td>Pending</td>
</tr>
</tbody>
</table>
</div>
The names in the thead
element doesn't align properly with the values below. The first child of th
element covers up all the space available.
Here is a link to jsfiddle of my problem http://jsfiddle.net/zLc48uga/ Any ideas?