Is it possible to separate the last row from a table? I read up on border-collapse and border-spacing. These will affect all the table elements. I am trying to only separate the last row of a table.
For illustration purposes:
<table>
<tbody>
<tr></tr>
<tr></tr>
</tbody>
<tfoot>
<tr></tr>
</tfoot>
</table>
In the given example above, I've also tried to separate tfoot
by overwriting its display to the table. But when it resulted more damage to the outlook I would like to achieve. Is there any CSS tricks I am able to use?
Note*
ive tried all possible trick, the idea is separating tfoot from tbody.Requirement is tfood has a background of green, tbody has a background color of blue. when seperated , it should display a white blank between these two tags. Ive implemented padding like most said but it doesnt do the trick. Any Idea?
Question is solved
Basically , what i did was to include a dummy row and hide its border.