The CSS border-spacing property is kind of a CSS equivalent to the HTML CELLSPACING attribute of the TABLE tag. You can use this in conjunction with the CSS padding property to provide spacing within your table cells.
Note that, although the CSS padding property can be applied to any element, the border-spacing property only applies to tables and inline tables. Also, whereas the padding property can be applied against any side of an element, the border-spacing is applied to all sides of an element.
Well, at the time of writing, browser support for the CSS border-spacing was limited. Looks like I'm stuck with the HTML cellspacing for the meantime...
Also see CSS border-spacing, CSS padding, and CSS Cellpadding.
No comments:
Post a Comment