border-width

The width of any border line around the table. To style a specific border use side-specific settings suchs as border-top-width, border-left-width etc.

Variants

Setting Name Default value Description
border-top-width 2pt Width of the table’s top border line.
border-left-width 1pt Width of the table’s left border line.
border-bottom-width 2pt Width of the table’s bottom border line.
border-right-width 1pt Width of the table’s right border line.

Availability

Available in: Table

Type

Length

Default value

0pt

Inherited

No.

Example

table {
   // Borders are 1pt and solid in general
   border-style:     solid
   border-width:     1pt

   // Use thick top/bottom border 
   border-top-width:      2pt
   border-bottom-width:   2pt
}