Skip to content

Commit 3cd1a8a

Browse files
committed
[css2] Fixed a mark-up error and an example of XHTML.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402128
1 parent aa11c6e commit 3cd1a8a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

css2/tables.src

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: tables.src,v 2.67 2003-08-04 13:29:20 bbos Exp $ -->
3+
<!-- $Id: tables.src,v 2.68 2003-08-20 16:44:50 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
66
<title>Tables</title>
@@ -106,7 +106,7 @@ FOO { display : table }
106106
BAR { display : table-caption }
107107
</PRE>
108108

109-
<P><a name="internal">We discuss the various table elements in the
109+
<P><a name="internal"></a>We discuss the various table elements in the
110110
following section. In
111111
this specification, the term <span class="index-def" title="table
112112
element"><dfn>table element</dfn></span> refers to any element
@@ -556,7 +556,7 @@ table size.
556556
</div>
557557

558558
<div class="html-example">
559-
<p>Here are two examples. The first is assumed is assumed to occur in
559+
<p>Here are two examples. The first is assumed to occur in
560560
an HTML document, the second an XHTML document:
561561

562562
<pre>
@@ -566,14 +566,14 @@ an HTML document, the second an XHTML document:
566566
&lt;/TABLE&gt;
567567
</pre>
568568

569-
<pre><pre>
570-
&lt;TABLE&gt;
571-
&lt;TR&gt;&lt;TD&gt;1 &lt;/TD&gt;&lt;TD rowspan="2"&gt;2 &lt;/TD&gt;&lt;TD&gt;3 &lt;/TD&gt;&lt;TD&gt;4 &lt;TD&gt;&lt;TR&gt;
572-
&lt;TR&gt;&lt;TD colspan="2"&gt;5 &lt;TD&gt;&lt;TR&gt;
573-
&lt;/TABLE&gt;
569+
<pre>
570+
&lt;table&gt;
571+
&lt;tr&gt;&lt;td&gt;1 &lt;/td&gt;&lt;td rowspan="2"&gt;2 &lt;/td&gt;&lt;td&gt;3 &lt;/td&gt;&lt;td&gt;4 &lt;td&gt;&lt;tr&gt;
572+
&lt;tr&gt;&lt;td colspan="2"&gt;5 &lt;td&gt;&lt;tr&gt;
573+
&lt;/table&gt;
574574
</pre>
575575

576-
<p>The second case is formatted as in the figure on the
576+
<p>The second is formatted as in the figure on the
577577
right. However, the HTML table's rendering is explicitly undefined by
578578
HTML, and CSS doesn't try to define it. User agents are free to render
579579
it, e.g., as in the figure on the left.
@@ -582,7 +582,7 @@ it, e.g., as in the figure on the left.
582582
<p><img src="images/table-overlap.png" alt="One table with overlapping
583583
cells and one without"> <p class="caption">On the left, one possible
584584
rendering of an erroneous HTML 4 table; on the right, the only
585-
possible formatting of a similar, XHTML table.
585+
possible formatting of a similar XHTML table.
586586
</div>
587587
</div>
588588

0 commit comments

Comments
 (0)