Skip to content

Instantly share code, notes, and snippets.

@Chadtech
Last active January 31, 2018 22:07
Show Gist options
  • Save Chadtech/8e6f0f473f3eca16d11059dc32f1b1a8 to your computer and use it in GitHub Desktop.
Save Chadtech/8e6f0f473f3eca16d11059dc32f1b1a8 to your computer and use it in GitHub Desktop.
<style>
.header {
position: fixed;
height: 12px
left: 0px;
top: 0px;
width: 100%;
}
.table {
width: 100%;
height: calc(100% - 12px);
overflow: scroll;
position: absolute;
left: 0px;
top: 12px;
}
</style>
<div>
<div class="header">
<!-- Header stuff -->
</div>
<div class="table">
<!-- Table Stuff -->
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment