Skip to content

Commit c5f8dc0

Browse files
Corrected spelling, formatting
1 parent 388c1a4 commit c5f8dc0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ <h3>
898898
padding: 0;
899899
}</code></pre>
900900
<p>
901-
There a couple of points worth noting in the <abbr>CSS</abbr>. The table has been centered by giving the left and right margins a value of <code>auto</code>. For block-level elements a <code>width</code> declaration would also be required when applying this technique, however tables have an inherent width so one does not need to be specified explicitly.
901+
There a couple of points worth noting in the <abbr>CSS</abbr>. The table has been centred by giving the left and right margins a value of <code>auto</code>. For block-level elements a <code>width</code> declaration would also be required when applying this technique, however tables have an inherent width so one does not need to be specified explicitly.
902902
</p>
903903
<p>
904904
The bullet points separating chapter titles and page numbers have been generated by the <abbr>CSS</abbr>. Specifically a bullet point (Unicode character 2022) has been inserted before the <code>td</code> element. Generated content is not supported by Internet Explorer 6 or 7, so a more cross-browser alternative would be to write a bullet point entity <code>&amp;#8226;</code> into the markup itself.
@@ -1270,7 +1270,7 @@ <h2>
12701270
<blockquote>
12711271
<span class="quote"></span>
12721272
<p>
1273-
Verse is usually set flush left and ragged right, and verse quotations within prose should not be deprived of their chosen form. But to distinguish verse quotations from surrounding prose, they should be indented or centered on the longest line.”
1273+
Verse is usually set flush left and ragged right, and verse quotations within prose should not be deprived of their chosen form. But to distinguish verse quotations from surrounding prose, they should be indented or centred on the longest line.”
12741274
</p>
12751275
</blockquote>
12761276
<p>
@@ -1289,7 +1289,7 @@ <h2>
12891289
font-family: inherit;
12901290
}</code></pre>
12911291
<p>
1292-
A logical way to center the verse on the longest line would be to simply specify <code>width:auto</code> and <code>margin:0 auto</code>. Unfortunately, due to browsers’ rendering of preformatted elements, the element will still be considered to comprise full-width lines, so no centering will occur. However we can work around this by specifying the <code>pre</code> element to display as a <code>table</code> as follows:
1292+
A logical way to center the verse on the longest line would be to simply specify <code>width:auto</code> and <code>margin:0 auto</code>. Unfortunately, due to browsers’ rendering of preformatted elements, the element will still be considered to comprise full-width lines, so no centring will occur. However we can work around this by specifying the <code>pre</code> element to display as a <code>table</code> as follows:
12931293
</p>
12941294
<pre data-lang="CSS"><code>.verse pre {
12951295
font-family: inherit;
@@ -1307,7 +1307,7 @@ <h2>
13071307
Thinks in a marrow bone.&lt;/span&gt;&lt;/pre&gt;
13081308
&lt;/blockquote&gt;</code></pre>
13091309
<p>
1310-
This <code>span</code> can then be centered in Internet Explorer applying <code>text-align:center</code> to the <code>pre</code> and resetting the text alignment on the <code>span</code> element.
1310+
This <code>span</code> can then be centred in Internet Explorer applying <code>text-align:center</code> to the <code>pre</code> and resetting the text alignment on the <code>span</code> element.
13111311
</p>
13121312
<pre data-lang="CSS"><code>.verse pre {
13131313
text-align: center;
@@ -1335,7 +1335,7 @@ <h2>
13351335
&lt;link rel="stylesheet" type="text/css" href="ie-lte-7.css" /&gt;
13361336
&lt;![endif]-&gt;</code></pre>
13371337
<p>
1338-
Here’s the final rendered example of prose, set flush left & ragged right, and centered on the longest line:
1338+
Here’s the final rendered example of prose, set flush left & ragged right, and centred on the longest line:
13391339
</p>
13401340
<figure id="example-12">
13411341
<p>
@@ -1379,7 +1379,7 @@ <h3>
13791379
The Future
13801380
</h3>
13811381
<p>
1382-
Until recently, the <a class="ext-link" href="https://www.w3.org/TR/css3-text/#hyphenate" target="_blank"><abrr>CSS</abbr> 3 Text module</a> contained the <code>hyphenate</code> property which could be set to <code>auto</code> or <code>none</code>. This property introduced the concept of automatic hyphenation to browsers, and would require that the web browser has a hyphenation dictionary for the language of the text being hyphenated. For example:
1382+
Until recently, the <a class="ext-link" href="https://www.w3.org/TR/css3-text/#hyphenate" target="_blank"><abbr>CSS</abbr> 3 Text module</a> contained the <code>hyphenate</code> property which could be set to <code>auto</code> or <code>none</code>. This property introduced the concept of automatic hyphenation to browsers, and would require that the web browser has a hyphenation dictionary for the language of the text being hyphenated. For example:
13831383
</p>
13841384
<pre data-lang="CSS"><code>p {
13851385
hyphenate: auto;
@@ -1400,7 +1400,7 @@ <h2>
14001400
</h2>
14011401
</header>
14021402
<p>
1403-
This guideline can be achieved easily when hyphenating manually. See <a href="#At_hyphenated_line-ends,_leave_at_least_two_characters_behind_and_take_at_least_three_forward" target="_blank">§2.4.1</a> for more information on manual hypenation.
1403+
This guideline can be achieved easily when hyphenating manually. See <a href="#At_hyphenated_line-ends,_leave_at_least_two_characters_behind_and_take_at_least_three_forward" target="_blank">§2.4.1</a> for more information on manual hyphenation.
14041404
</p>
14051405
<h3>
14061406
The Future
@@ -1474,7 +1474,7 @@ <h2>
14741474
</p>
14751475
<pre data-lang="HTML"><code>1&amp;nbsp;inch is equivalent to 2.54&amp;nbsp;cm.</code></pre>
14761476
<p>
1477-
It should not really be expected of authors to type <code>&amp;nbsp;</code> everytime a non-breaking space is required. This is a job that, to some degree, can be performed automatically by a content management system. To demonstrate this by way of simple <abbr>PHP</abbr> example, a regular expression function could automatically insert non-breaking spaces as follows:
1477+
It should not really be expected of authors to type <code>&amp;nbsp;</code> every time a non-breaking space is required. This is a job that, to some degree, can be performed automatically by a content management system. To demonstrate this by way of simple <abbr>PHP</abbr> example, a regular expression function could automatically insert non-breaking spaces as follows:
14781478
</p>
14791479
<pre data-lang="PHP"><code>$search = '/([0-9]) ([a-zA-Z])/';
14801480
$replace = '$1&amp;nbsp;$2';
@@ -1500,7 +1500,7 @@ <h2>
15001500
Comprehensive control for page breaks was introduced in <abbr>CSS</abbr> 2, however browser support is currently limited to Opera 9. The only paging properties supported by Internet Explorer 7, Safari 3 and Firefox 2 are <code>page-break-before</code> and <code>page-break-after</code> (this is also true of <abbr>IE8</abbr> beta and Firefox 3 beta at time of writing).
15011501
</p>
15021502
<p>
1503-
The <code>page-break-before</code> and <code>page-break-after</code> properties enable you to say that a page break should occur before or after the specified element. The following example starts a new page everytime an <code>h1</code> heading is encountered and after every <code>.section</code> block.
1503+
The <code>page-break-before</code> and <code>page-break-after</code> properties enable you to say that a page break should occur before or after the specified element. The following example starts a new page every time an <code>h1</code> heading is encountered and after every <code>.section</code> block.
15041504
</p>
15051505
<pre data-lang="CSS"><code>h1 {
15061506
page-break-before: always;

0 commit comments

Comments
 (0)