HTML Table Vertical Line
From w3cyberlearnings
Contents |
HTML Table Vertical Line Border
By using CSS, we can set the table vertical line border.
Example 1 TRY-IT
This example, we set the vertical line for all the cell based on the right border.
th,td { border-right-style:solid; border-right-color:#00F; border-right-width: 8px; }
Example 2 TRY-IT
We set the vertical line for all the cell based on the left border.
<style> th,td { border-left-style: solid; border-left-color: #006600; border-left-width: 8px; } </style>
Related Link
Table
- HTML - Table
- HTML - Table Border
- HTML - Table Column
- HTML - Table Row
- HTML - Table Color
- HTML - Table Cell Spacing and Padding
- HTML - Text Align
- HTML - Text Vertical Align
- HTML - Table Caption and Summary
- HTML - Table thead, tbody, tfoot
- HTML - Inner Table
- HTML - Table Vertical Line
- HTML - Table Horizontal Line