O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Table Properties

CSS also supports a number of properties targeted especially at tables. There are quite a few table properties, but as yet the support for them is slight.

border-collapse

  • CSS2 values: collapse|separate|inherit

  • Default value: collapse

  • Element support: Table and inline table elements

  • Browser support: [IE5, IE6]

  • Style inherited: Yes

This property gives a table's border model. For more information on table models, see the W3C CSS documentation.

border-spacing

  • CSS2 values: <length><length>?|inherit

  • Default value: 0

  • Element support: Table and inline table elements

  • Browser support: [None]

  • Style inherited: Yes

Although it's not supported anywhere yet, this property is supposed to give the distance between cell borders.

column-span, row-span ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required