It controls whether cells that lack visible content have borders and
backgrounds (if the value is show, the initial value) or not (if the value is hide).
Carriage returns, line feeds, tabs, and blanks are not considered to be visible content,
although a non-breaking space is.
In the collapsing borders model, the cells aren??™t separated from one another and
their borders??”along with borders of rows, row groups, columns, column groups
and the table itself??”collapse (or overlap) in a rather complicated way. An example
of a table to which the collapsing borders model is applied is shown in Figure 6.14.
175 CSS Layout and Formatting
Figure 6.14: Rendering a table with collapsed borders
With this model, quite a few borders may be specified in such a way that they would
be rendered in the same place. The CSS2.1 specification provides an algorithm for
border conflict resolution??”that is, which border will win, or be rendered, in these
situations. Very broadly speaking, the most eye-catching border will be rendered,
unless at least one of the borders has border-style set to hidden, in which case no
border will be rendered.
Pages:
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267