Skip to content

Commit 2895703

Browse files
author
howcome
committed
revising examples
1 parent 794f01c commit 2895703

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

css-multicol/Overview.src.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,11 +1692,10 @@ <h3>'column-span'</h3>
16921692
<p>Spanners create new block formatting contexts, but their margins
16931693
can be changed by their surroundings. In this example, two spanners
16941694
naturally end up at the top of a page. The top margin of the first
1695-
spanner is truncated due to being after an unforced break. The bottom
1696-
margin of the first spanner collapses with the top margin of the
1697-
second spanner. However, the bottom margin of the second spanner does
1698-
not collabse with the collapses with the top margin of the subsequent
1699-
element.
1695+
spanner is truncated due to adjoining an unforced break. The margins
1696+
between the two spanners collapse with each other. However, the bottom
1697+
margin of the second spanner does not collapse with the top margin of
1698+
the subsequent element.
17001699

17011700

17021701
<pre class="css">
@@ -1705,14 +1704,15 @@ <h3>'column-span'</h3>
17051704
column-span: all;
17061705
background: silver
17071706
}
1707+
p { margin-top: 1em }
17081708
</pre>
17091709

17101710

1711-
<div class=cols>
1711+
<div class=cols style="border-top: none">
17121712

17131713
<p><br><br><br><br>
17141714

1715-
M nop qrst uv wx yz.<br>
1715+
<br>
17161716
Ab cde fgh i jkl. Mno<br>
17171717
pqr stu vw xyz. A bc<br>
17181718
def g hij klm nopqrs<br>

0 commit comments

Comments
 (0)