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
Want To Be A Web Master?
If you want to be a Web Master, you will have to host your web site with an ISP (Internet Service Provider).
MaximumASP offers seven different configurations of dedicated servers to meet your Windows and .NET hosting needs.
Hosted on our multi-tiered Enterprise Class network, these servers provide the performance, security and reliability
you need to host your high end web sites and applications.
Visit MaximumASP
|