-
-
Save StephenDRoberts/8edf27688cd7d20d792688429db2eb38 to your computer and use it in GitHub Desktop.
CSS for scrollable table body
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table { | |
width: 100%; | |
} | |
thead, tbody, tr { | |
display: table; | |
width: 100%; | |
table-layout: fixed; | |
} | |
tbody { | |
display: block; | |
overflow: auto; | |
table-layout: fixed; | |
max-height: 250px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment