Set tfoot position
Is it possible to style the 开发者_开发百科tfoot section of a table so it shows between the thead and tbody?
I would like to get a table to look like this:
Per my comment, you probably don't want to be making a table footer appear as anything other than a table footer.
But assuming you have the properly-ordered markup, this should work in whatever browser supports it:
thead, tfoot {
display: table-header-group;
}
jsFiddle preview
Try this
Fiddle
精彩评论