CSS2 - Table Properties



This is a complete reference guide for web developers where we have listed all the CSS properties related to Table defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2.

Click any property to see its description with examples −

Sr.No. Property & Description
1 border-collapse

Sets the table border rendering algorithm.

2 border-spacing

With separate borders set the spacing between borders. One value sets vertical and horizontal spacing and two values sets horizontal and vertical spacing respectively.

3 caption-side

Sets the position for a table caption.

4 empty-cells

With separate borders, hides empty cells in a table.

5 table-layout

Determines the table-rendering algorithm.

css_references.htm
Advertisements