Is there a way of using table-header-group and table-footer-group in a div instead of in a thead or tfoot?
+3
A:
According to www.w3.org it is allowd to use display: table-header-group
when the parent (the element containing the div) is displayed as a table or inline-table. So something like this should be allowed
<table>
<div style="display: table-header-group;">header group</div>
</table>
If the parent is not a table, then it should be inserted, according to point 4 on the www.w3.org page.
The big problem is, whether all (major) browsers support this. Especially IE(6) is known for not supporting most kinds of display types.
Veger
2010-01-12 23:04:44