CSS options to apply a border to tfoot? Styling tfoot with "border-top" does not work
Add
table {
border-collapse: collapse;
}
and tune padding inside cells as needed (to compensate with the loss of the default spacing between cells).
(In jsfiddle, normalize.css contains this setting. One of the reasons why jsfiddle doesn’t always correspond to what happens when code is tested separately.)
You can apply borders to tfoot and tbody.
See the following fiddle for proof!
http://jsfiddle.net/KHx24/
Try
<style type="text/css">
table.sample tfoot
{
border-top: 2px solid black;
}
</style>