Difference between revisions of "CSS GUIDE BORDER COLLAPSE"
(→Usage Examples) |
(→Usage Examples) |
||
Line 44: | Line 44: | ||
== Usage Examples == | == Usage Examples == | ||
− | + | <table border="1" style="border-collapse: collapse" bordercolor="#111111" width="500">" | |
== Notes == | == Notes == |
Revision as of 14:13, 11 December 2006
This document is a work in progress and is subject to change.
Contents
Summary
The border-collapse property is used to make the border collapse. This has a big influence on the look and style of the table cells.
The rendering of table borders is divided into two categories in CSS2 - "collapsed" and "separated". This property specifies which border rendering mode to use. In the collapsed border model, adjacent table cells share borders.
In the separated model, adjacent cells each have their own distinct borders (the distance between them given by the 'border-spacing' property.)
Inherited: Yes
Syntax
<table border="1" style="border-collapse: collapse" bordercolor="#111111" width="500"
Legal Values
Value | Description |
---|---|
inherit | Explicitly sets the value of this property to that of the parent. |
collapse | Use the "collapsed borders" rendering model |
seperate | Use the "separated borders" rendering model |