Prev | Current Page 428 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


See Table Formatting (p. 168) for details
about the table border models.
Value
Example
This style rule makes the table element
with the ID "results" use the collapsing
borders model:
#results {
border-collapse: collapse;
}
collapse selects the collapsing
borders model (the border-spacing and empty-cells properties will
be ignored)
separate selects the separated borders model (the border-spacing and
empty-cells properties will be taken into account)
Note that the initial value was collapse in CSS2, but it was changed to separate
in CSS2.1.
Compatibility
SPEC
version initial inherited
CSS2, 2.1 separate YES
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL FULL
Table Properties
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full Full Full Full Full
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
Other Relevant Stuff
display (p. 264)
controls the type of box generated by an element
border-spacing (p.


Pages:
416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440