Top margin breaks FixedHeader
Top margin breaks FixedHeader
peterkronenberg
Posts: 112Questions: 0Answers: 0
Allan,
Setting a top margin on the table breaks the FixedHeader. It seems to be taking it into account twice, so the FixedHeader ends up lower than the table header by the amount of the margin. I tried this on your example at http://www.datatables.net/release-datatables/extras/FixedHeader/index.html and got the same results.
Setting a top margin on the table breaks the FixedHeader. It seems to be taking it into account twice, so the FixedHeader ends up lower than the table header by the amount of the margin. I tried this on your example at http://www.datatables.net/release-datatables/extras/FixedHeader/index.html and got the same results.
This discussion has been closed.
Replies
I'd suggest that in this case the easiest thing to do is to apply the margin spacing you want to a different element :-)
Allan