I have a table that requires a bit of scrolling to see the whole thing. I want the table header to remain on the screen as I scroll.
I made this test in a plain HTML document - click here
But when I copy/paste that code into a category header in my Miva admin, the table header doesn't stick. Click here to see that.
Any ideas on what the conflict is here? Thanks for any help.
I made this test in a plain HTML document - click here
HTML Code:
<style> .bbbbb th { position: sticky; top:0; height: 30px; background: red; } </style> <table class="bbbbb"> <thead> <tr> <th>october</th> <th>november</th> <th>december</th> <th>january</th> </tr> </thead> <tbody> <tr> <td>etc.</td> <td>etc.</td> <td>etc.</td> <td>etc.</td> </tr> </tbody> </table>
Any ideas on what the conflict is here? Thanks for any help.
Comment