Search
 
SCRIPT & CODE EXAMPLE
 

HTML

thead position sticky

<!--In your stylesheets just add this one line:-->
<style>
thead th { position: sticky; top: 0; }
</style>

<table>
    <thead>
        <tr>
            <th>column 1</th>
            <th>column 2</th>
            <th>column 3</th>
            <th>column 4</th>            
        </tr>    
    </thead>
    <tbody>
      // your body code
    </tbody>
</table>
Comment

PREVIOUS NEXT
Code Example
Html :: nuxt input image base64 
Html :: spinup wp increate max upload size 
Html :: GEThttp://127.0.0.1:5500/favicon.ico error 
Html :: how to include the copyright symbol in html 
Html :: bootstrap 4 search bar 
Html :: html open things in new tab 
Html :: html color tomato hex 
Html :: html make space between buttons 
Html :: bootstrap colors 
Html :: nuxt cursor focus 
Html :: magento 2 call phtml file in cms page 
Html :: how to redirect to gmail with a tag html 
Html :: how to center align text in html 
Html :: font awesome show password icon 
Html :: see line from table html 
Html :: input width autosize 
Html :: how can i make that user cant input sonething textbx 
Html :: how to add ads on html 
Html :: how to start a html file 
Html :: bootstrap colored link 
Html :: info icon in html 
Html :: how to write python in html 
Html :: php prevent form resubmission 
Html :: check if javascript is enabled 
Html :: html text cut 
Html :: how to disable image dragging in html 
Html :: jquery specific child by index 
Html :: convert string to boolean js 
Html :: laravel blade remove html tags 
Html :: html post form 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =