<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # CSS word-spacing 屬性 ## 實例 規定段落中的字間距是 25 像素: ``` p { word-spacing:25px; } ``` ## 瀏覽器支持 | IE | Firefox | Chrome | Safari | Opera | | --- | --- | --- | --- | --- | 所有瀏覽器都支持 word-spacing 屬性。 注釋:任何的版本的 Internet Explorer (包括 IE8)都不支持屬性值 "inherit"。 ## 定義 word-spacing 屬性增加或減少單詞間的空白(即字間隔)。 該屬性定義元素中字之間插入多少空白符。針對這個屬性,“字” 定義為由空白符包圍的一個字符串。如果指定為長度值,會調整字之間的通常間隔;所以,normal 就等同于設置為 0。允許指定負長度值,這會讓字之間擠得更緊。 注釋:允許使用負值。 | 默認值: | normal | | --- | --- | | 繼承性: | yes | | --- | --- | | 版本: | CSS1 | | --- | --- | | JavaScript 語法: | _object_.style.wordSpacing="10px" | | --- | --- | ## 提示和注釋 注釋:CSS 把“字(word)”定義為任何非空白符字符組成的串,并由某種空白字符包圍。這個定義沒有實際的語義,它只是假設一個文檔包含由一個或多個空白字符包圍的字。支持 CSS 的用戶代理不一定能確定一個給定語言中哪些是合法的字,而哪些不是。盡管這個定義沒有多大價值,不過它意味著采用象形文字的語言或非羅馬書寫體往往無法指定字間隔。 提示:利用這個屬性,可能會創建字間隔太寬的文檔,所以,使用 word-spacing 時要小心。 ## 可能的值 | 值 | 描述 | | --- | --- | | normal | 默認。定義單詞間的標準空間。 | | _length_ | 定義單詞間的固定空間。 | | inherit | 規定應該從父元素繼承 word-spacing 屬性的值。 | ## TIY 實例 [增加或減少單詞間距(字間隔)](/tiy/t.asp?f=csse_text_word-spacing) 本例演示如何增加段落中單詞間的距離。 ``` <html> <head> <style type="text/css"> p.spread {word-spacing: 30px;} p.tight {word-spacing: -0.5em;} </style> </head> <body> <p class="spread">This is some text. This is some text.</p> <p class="tight">This is some text. This is some text.</p> </body> </html> ``` ## 相關頁面 CSS 教程:[CSS 文本](/css/css_text.asp "CSS 文本") HTML DOM 參考手冊:[wordSpacing 屬性](/jsref/prop_style_wordspacing.asp "HTML DOM wordSpacing 屬性")
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看