11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: tables.src,v 2.5 1998-02-12 00:02:27 ijacobs Exp $ -->
3+ <!-- $Id: tables.src,v 2.6 1998-02-13 18:23:11 ijacobs Exp $ -->
44<head>
55<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
66<title>Tables</title>
@@ -71,7 +71,7 @@ solid blue border and each of the other rows will be surrounded by a
71711px solid black border:</P>
7272
7373<PRE>
74- TABLE { cell -spacing: none }
74+ TABLE { border -spacing: none }
7575 TR#row1 { border-top: 3px solid blue }
7676 TR#row2 { border-top: 1px solid black }
7777 TR#row3 { border-top: 1px solid black }
@@ -540,7 +540,7 @@ i.e., to easily design evenly spaced table cells in a table.</p>
540540
541541<p><em>[Can this work? Maybe it is better to say that table elements
542542(other than 'table' and 'inline-table') have no margins at all, and
543- instead use a single 'cell -spacing' property for the whole table, or a
543+ instead use a single 'border -spacing' property for the whole table, or a
544544single horizontal and a single vertical spacing (see
545545below). Example:</em></p>
546546
@@ -979,11 +979,10 @@ other is suitable for borders that are continuous from one end of the
979979table to the other. Many border styles can be achieved with either
980980model, so it is often a matter of taste which model is used.
981981
982- <!-- #include src=properties/cell-spacing.srb -->
983- <!-- maybe-include src=properties/border-collapse.srb -->
982+ <!-- #include src=properties/border-spacing.srb -->
984983
985984<P>This property <span
986- class="propinst-cell -spacing">'cell -spacing'</span> selects a table's
985+ class="propinst-border -spacing">'border -spacing'</span> selects a table's
987986border model. Values have the following meanings:</p>
988987
989988<dl>
@@ -1006,7 +1005,7 @@ not be negative.
10061005<h3><a name="2D">The 2�D border model</a></h3>
10071006
10081007<p>In this model, each cell has a single rectangular border. The
1009- <span class="propinst-cell -spacing">'cell -spacing'</span> property
1008+ <span class="propinst-border -spacing">'border -spacing'</span> property
10101009specifies the distance between the borders of adjacent cells. This
10111010space is filled with the background of the table element. Rows,
10121011columns, row groups, and column groups cannot have borders (i.e., user
@@ -1019,22 +1018,22 @@ those elements.
10191018this:
10201019
10211020<pre>
1022- TABLE {border: outset 10pt; cell -spacing: 15pt}
1021+ TABLE {border: outset 10pt; border -spacing: 15pt}
10231022TD {border: inset 5pt}
10241023TD.special {border: inset 10pt} /* The top-left cell */
10251024</pre>
10261025
10271026<div class=figure>
1028- <p><img src="images/tbl-spacing.gif" alt="A table with cell -spacing"></p>
1027+ <p><img src="images/tbl-spacing.gif" alt="A table with border -spacing"></p>
10291028<p class=caption>Figure 3. A table with <span
1030- class="propinst-cell -spacing">'cell -spacing'</span> set to a length
1029+ class="propinst-border -spacing">'border -spacing'</span> set to a length
10311030value. Note that each cell has its own border, and the table has a
10321031separate border as well.
10331032</div>
10341033</div>
10351034
10361035<P>When this border model is used, the overall width of the table is
1037- the sum of the cells plus the cell -spacing between all borders. See
1036+ the sum of the cells plus the border -spacing between all borders. See
10381037the section on <a href="#auto-table-layout">automatic table layout</a>
10391038for more information about table dimension calculations.
10401039
@@ -1228,7 +1227,7 @@ borders:</p>
12281227<p>HTML source:</p>
12291228
12301229<pre class="html-example">
1231- <TABLE style="cell -spacing: none; border: solid;">
1230+ <TABLE style="border -spacing: none; border: solid;">
12321231<TR><TD style="border: hidden">foo</TD>
12331232 <TD style="border: solid">bar</TD></TR>
12341233<TR><TD style="border: none">foo</TD>
@@ -1333,8 +1332,8 @@ cells.
13331332axis/headers attributes? -BB]
13341333
13351334[Perhaps rename 'speak-cell'? -IJ]
1336-
13371335</p>
1336+ -->
13381337
13391338<!-- I propose this instead of requiring the mechanism
13401339to be that of HTML 4.0 -IJ -->
0 commit comments