Home Adding fixed header to responsive table
Reply: 0

Adding fixed header to responsive table

SexyMF
1#
SexyMF Published in 2017-10-29 09:06:26Z

I have this responsive table: https://jsfiddle.net/5z0bt4yq/ i want to make the header fixed.
When I add this style to tbody in order to make the thead fixed:

tbody{
  height:450px;
  overflow:scroll;
  display:block;
  width:100%;
}

The table is breaking: https://jsfiddle.net/4p2h60hq/

How would you make the header fixed in this situation?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.329609 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO