mirror of
https://github.com/clagnut/webtypography.git
synced 2025-09-02 17:42:46 +02:00
Update 2.1.1.html
typo fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<blockquote class='quote-from-book'> <p><span class='ic'>“</span>If text is set ragged right, the <em>word space</em> <span class='bracket'>(</span>the space between words<span class='bracket'>)</span> can be fixed and unchanging. If the text is <em>justified</em> <span class='bracket'>(</span>set flush left and right<span class='bracket'>)</span>, the word space must be elastic. In either case the size of the ideal word space varies from one circumstance to another, depending on factors such as letterfit, type color, and size. A loosely fitted or bold face will need a larger interval between the words. At larger sizes, when letterfit is tightened, the spacing of words can be tightened as well.”</p>
|
||||
</blockquote>
|
||||
<p>In <abbr title="Cascading Style Sheets">CSS</abbr>, word space is set with the <code>word-spacing</code> property which has a default value of <code>normal</code>. The default word space is equivalent to approximately 0.25 em, although the exact value will depend on information encoded within the digital font file. To change the word spacing, you should specifiy a length in ems. This length is added to the existing word space; that is to say <code>word-spacing</code> does not set the actual space between words, it sets an increment to the existing spacing. For example:</p>
|
||||
<p>In <abbr title="Cascading Style Sheets">CSS</abbr>, word space is set with the <code>word-spacing</code> property which has a default value of <code>normal</code>. The default word space is equivalent to approximately 0.25 em, although the exact value will depend on information encoded within the digital font file. To change the word spacing, you should specify a length in ems. This length is added to the existing word space; that is to say <code>word-spacing</code> does not set the actual space between words, it sets an increment to the existing spacing. For example:</p>
|
||||
|
||||
<pre><code>p {
|
||||
word-spacing:0.25em }
|
||||
@@ -37,4 +37,4 @@ h1 {
|
||||
|
||||
<div id="box2">M</div>
|
||||
|
||||
<p>Note that both boxes have a height and width of 1 em but because they have different font sizes, one box is bigger than the other. Box 1 has a <code>font-size</code> of 12 px so its width and height is also 12 px; similarly the text of box 2 is set to 60 px and so its width and height are also 60 px.</p>
|
||||
<p>Note that both boxes have a height and width of 1 em but because they have different font sizes, one box is bigger than the other. Box 1 has a <code>font-size</code> of 12 px so its width and height is also 12 px; similarly the text of box 2 is set to 60 px and so its width and height are also 60 px.</p>
|
||||
|
Reference in New Issue
Block a user