CSS border-collapse Property
Complete CSS Reference
Definition
The border-collapse property sets whether the table borders are collapsed
into a single border or detached as in standard HTML.
Inherited: Yes
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.borderCollapse="collapse"
In our HTML DOM tutorial you can find more details about the
borderCollapse property.
In our HTML DOM tutorial you can also find a full
Style Object Reference.
Example
table
{
border-collapse: separate
}
|
Possible Values
Value |
Description |
separate |
Borders are detached |
collapse |
Default. Borders are collapsed into a single border when
possible |
Try-It-Yourself Demos
Collapse a table border
This example demonstrates how to collapse and separate a table border.
Complete CSS Reference
Learn XML with <oXygen/> XML Editor - Free Trial!
|
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|