CSS-Lesson 15
Other properties-
border-collapse
Border-collapse equals collapsed or shared borders.
Heading 1 | Heading 2 |
---|---|
Cell 1 | Cell2 |
border-spacing
Border-spacing equals 10px.
Heading 1 | Heading 2 |
---|---|
Cell 1 | Cell2 |
The content propety
This property can be used to add text, like Chapter and Section numbers automatically. Probably more effort than its worth.
The counter-increment property & the counter-reset property
These properties are used in conjunction with the content property to control counters
The direction property
This property has values 'rtl' and 'ltr' and is used in conjunction with the property 'unicode-bidi'.
The display property
The empty-cells property
This property controls how an empty cell in a table is displayed. The available values are 'show' and 'hide'. However not all browsers support this proprty. A useful trick is to put a non-breaking space, ' ', into an otherwise empty cell.