I am struggling with formatting an HTML table created by an MVC WebGrid. The table has 5 columns, and I want the first 4 columns to occupy 100% of the width while the 5th column sits underneath also taking up 100% of the width.
<tr>
<td class="date">13/05/2015 13:40:55</td>
<td class="firstname">Bob</td>
<td class="lastname">Reed</td>
<td class="errors"></td>
<td class="profile">This is a lot of content that could potentially mess up the table layout if placed on the same row as the other 4 columns</td>
</tr>
Although there is CSS associated with the table, it does not affect the layout.
I have searched for solutions online but only found information about using display:table / table-row / table-cell CSS properties on div or list elements, which do not seem to apply in this case.
Is it possible to achieve my desired layout using only CSS to modify the current HTML, or will I need to completely restructure the HTML (possibly removing the WebGrid) to get the desired display?