Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

Print Version

CSS Cellspacing

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.

Enjoy this website?

  • Share
  • Add this page to your Favorites
  • Link to this page (copy/paste into your own website or blog):
  • Link to Quackit using one of these banner ads.
  • Help support Quackit by making a donation

Oh, and thank you for supporting Quackit!

© Copyright 2000 - 2010 Quackit.com