September 2014
Intermediate to advanced
148 pages
2h 15m
English
CHAPTER 24
![]()
Table
CSS has a number of properties that are used specifically with table elements. These properties offer control over how browsers render tabular data.
border-spacing
The distance between the borders of adjacent table cells can be changed with the border-spacing property, which is the CSS equivalent of the cellspacing attribute in HTML. W3C defines the initial value for this property as 0, but most browsers render it as 2px by default.
border-spacing : inherit | <length> [<length>]
This property can be specified with either one or two length values. With two values, the first one sets the horizontal spacing, and the second one sets ...
Read now
Unlock full access