Skip to content

Commit 0ce3e49

Browse files
committed
Fix directional error in example...
1 parent e917cdc commit 0ce3e49

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,10 +1189,12 @@ <h3 id=writing-mode><span class=secno>3.1. </span> Block Flow Direction:
11891189
<p>In this example, &lsquo;<a href="#writing-mode1"><code
11901190
class=property>writing-mode</code></a>&rsquo; sets the list markers
11911191
upright using the &lsquo;<code class=css>::marker</code>&rsquo;
1192-
pseudo-element. <a href="#CSS3LIST"
1192+
pseudo-element. Vertical alignment ensures that longer numbers will still
1193+
align with the right of the first line of text. <a href="#CSS3LIST"
11931194
rel=biblioentry>[CSS3LIST]<!--{{CSS3LIST}}--></a>
11941195

1195-
<pre>::marker { writing-mode: horizontal-tb; color: blue; }</pre>
1196+
<pre>::marker { writing-mode: horizontal-tb; vertical-align: text-top;
1197+
color: blue; }</pre>
11961198

11971199
<div class=figure>
11981200
<p><img alt="Diagram showing list markers of '1.', '2.', '3.' sitting

css3-writing-modes/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ <h3 id="writing-mode">
830830
<div class="example">
831831
<p>In this example, 'writing-mode' sets the list markers upright
832832
using the ''::marker'' pseudo-element. Vertical alignment ensures
833-
that longer numbers will still align with the top of the first
833+
that longer numbers will still align with the right of the first
834834
line of text. [[CSS3LIST]]
835835
<pre>::marker { writing-mode: horizontal-tb; vertical-align: text-top;
836836
color: blue; }</pre>

0 commit comments

Comments
 (0)