CSS Table Style Properties


There are a few advanced table properties that enable you to fine-tune the manner in which tables are rendered and displayed.

border-collapse

Usage

Sets the border model of a table.

Values

collapse, separate.


border-spacing

Usage

Sets the distance between the borders of adjacent cells.

Values

length length.


caption-side

Usage

Sets the position of the caption relative to the table.

Values

top, bottom, left, right.


empty-cells

Usage

Determines whether cells with no visible content should have borders.

Values

show, hide.


table-layout

Usage

Determines how the table is laid out.

Values

auto, fixed.

Notes

Speeds up browser rendering for fixed-size tables if you set it to fixed.





SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

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