Skip to content

Commit d09fef0

Browse files
committed
Fix sidenote example
1 parent af0adc8 commit d09fef0

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

css-line-grid/Overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ <h3 id=context><span class=secno>1.1. </span>Background</h3>
259259
of text in a multi-column document.</p>
260260
</div>
261261

262-
<div class=figure>
262+
<div class=figure id=ex-sidenote>
263263
<div class=sidenote-block>
264264
<div class=sidenote-body> Sidenotes (and footnotes for that matter) are
265265
often set at a smaller size to the basic text. This smaller text should
266266
still line up with basic text. Authors can achieve this effect by
267267
calculating appropriate font-size, line-height, and margins*.</div>
268268

269-
<div class=sidenote-note> Only if author controls everything. Can be
270-
broken by user stylesheet, for instance.</div>
269+
<div class=sidenote-note> Only if author controls everything. It can
270+
easily be broken by user stylesheet, for instance.</div>
271271
</div>
272272

273273
<p class=caption>Sidenotes set at a smaller size, but still line up with
@@ -609,7 +609,7 @@ <h3 id=grid-length-unit><span class=secno>3.3. </span>The &lsquo;<code
609609
<!-- --></code></pre>
610610
</div>
611611

612-
<div class=example id=gyou-dori>
612+
<div class=example id=ex-gyou-dori>
613613
<p>East Asian layout often requires heights specified by the count of the
614614
line grids. In Japanese, this method is called Gyou-dori. Refer to <a
615615
href="#JLREQ" rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a> for more

css-line-grid/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h3 id="context">Background</h3>
132132
<p class="caption">Keep vertical rhythm through pictures and different size of text in a multi-column document.</p>
133133
</div>
134134

135-
<div class="figure">
135+
<div id="ex-sidenote" class="figure">
136136
<div class="sidenote-block">
137137
<div class="sidenote-body">
138138
Sidenotes (and footnotes for that matter) are often set
@@ -144,7 +144,7 @@ <h3 id="context">Background</h3>
144144
</div>
145145
<div class="sidenote-note">
146146
Only if author controls everything.
147-
Can be broken by user stylesheet, for instance.
147+
It can easily be broken by user stylesheet, for instance.
148148
</div>
149149
</div>
150150
<p class="caption">Sidenotes set at a smaller size, but still line up with basic text.</p>
@@ -436,7 +436,7 @@ <h3 id="grid-length-unit">The ''<span class="index" title="length unit::gd">gd</
436436
<!-- --></code></pre>
437437
</div>
438438

439-
<div id="gyou-dori" class="example">
439+
<div id="ex-gyou-dori" class="example">
440440
<p>East Asian layout often requires heights specified
441441
by the count of the line grids.
442442
In Japanese, this method is called Gyou-dori.

0 commit comments

Comments
 (0)