Table body scroll
How do I make an table body scroll?
What is a table body scroll? How do you make a table body scroll? This script and codes were developed by Gonzalo Arrivi on 30 January 2023, Monday.
Table body scroll - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Table body scroll</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="sub-container"> <table class="sections"> <thead> <tr> <th> <span>something that is very cool</span> </th> <th> <span>something</span> </th> <th> <span>something</span> </th> <th> <span>something</span> </th> <th> <span>something</span> </th> <th> <span>something</span> </th> </tr> </thead> <tbody> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Another great something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> <tr> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> <td> Something </td> </tr> </tbody> </table> </div>
</div>
</body>
</html>
Table body scroll - Script Codes CSS Codes
.container { padding: 10px 10px 0; height: 50vh; box-sizing: border-box; border: 1px solid red;
}
.sub-container { max-height: 100%; padding: 10px 10px 0; box-sizing: border-box; border: 1px solid blue; overflow: auto;
}
.sections { border: 1px solid orange;
}
.sections thead th:before{
}
Developer | Gonzalo Arrivi |
Username | Toujimon |
Uploaded | January 30, 2023 |
Rating | 3 |
Size | 1,666 Kb |
Views | 2,024 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Redux Learning | 4,306 Kb |
Javascript tester | 0 Kb |
Canvas tests | 2,340 Kb |
React tests | 5,307 Kb |
Range input tests | 2,687 Kb |
Perfect squares and centered content with pure CSS3 | 2,112 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Christ the Redeemer | Prashantsani | 2,208 Kb |
V.35 The Monolith Update - Hero Release Notes | Jordan | 12,045 Kb |
Box-sizing | Elad2412 | 1,572 Kb |
CSS Parent Selector | Tomhodgins | 2,143 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Animated SVG stroke-dasharray | Netsi1964 | 3,179 Kb |
Preloader | Rikki_Sixx | 2,815 Kb |
Fullscreen audio play button | 72 | 2,148 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!