开发者

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:

Set tfoot position


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜