Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style style="text/css">
- .hoverTable{
- width:100%;
- border-collapse:collapse;
- }
- .hoverTable td{
- padding:7px; border:#4e95f4 1px solid;
- }
- /* Define the default color for all the table rows */
- .hoverTable tr{
- background: #b8d1f3;
- }
- /* Define the hover highlight color for the table row */
- .hoverTable tr:hover {
- background-color: #ffff99;
- }
- </style>
- <table class="hoverTable">
- <tr>
- <td>Text 1A</td><td>Text 1B</td><td>Text 1C</td>
- </tr>
- <tr>
- <td>Text 2A</td><td>Text 2B</td><td>Text 2C</td>
- </tr>
- <tr>
- <td>Text 3A</td><td>Text 3B</td><td>Text 3C</td>
- </tr>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement