Prev | Current Page 256 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


If none of the borders are hidden, wide borders win over narrow borders. If two or
more borders have the same width, the border-style property decides which one
will be rendered. The styles are preferred in the following order: double, solid,
dashed, dotted, ridge, outset, groove, and inset. Borders with border-style set
to none have the lowest priority, and will never win over other border styles??”even
if they have a large width value.
If there is still no winner, the algorithm looks at the objects for which the borders
are set. The preferred order is: cell, row, row group, column, column group, and
table.
The border-spacing and empty-cells properties are ignored when the collapsing
borders model is used.
Replaced Elements
A replaced element is any element whose appearance and dimensions are defined
by an external resource. Examples include images ( tags), plugins (
CSS Layout and Formatting
The Ultimate CSS Reference 176
tags), and form elements (