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: collapseseparateinherit

  • 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

  • CSS2 values: <integer>inherit

  • Default value: 1

  • Element support: Table cells , table columns , and table-column- group elements

  • Browser support: [None]

  • Style inherited: No

This property indicates how many columns or rows are spanned by a cell.

empty-cells

  • CSS2 values: showhideinherit

  • Default value: show

  • Element support: Table cell elements

  • Browser support: [None]

  • Style inherited: Yes

You use this property to control how borders are drawn around cells that are empty.

table-layout

  • CSS2 values: autofixedinherit

  • Default value: auto

  • Element support: Table and inline table elements

  • Browser support: [IE5, IE6]

  • Style inherited: No

This property specifies how to lay out table cells, rows, and columns. For more information on table layouts, see the W3C CSS documentation.



Real World XML
Real World XML (2nd Edition)
ISBN: 0735712867
EAN: 2147483647
Year: 2005
Pages: 440
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net