久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css如何實(shí)現(xiàn)不換行

      css實(shí)現(xiàn)不換行的方法使用【word-break】屬性規(guī)定自動(dòng)換行的處理,可以讓瀏覽器實(shí)現(xiàn)在任意位置的換行,語(yǔ)法為【word-break: normal|break-all|keep-all】。

      css如何實(shí)現(xiàn)不換行

      本教程操作環(huán)境:windows7系統(tǒng)、css3版,DELL G3電腦。

      word-break 屬性規(guī)定自動(dòng)換行的處理方法。通過(guò)使用 word-break 屬性,可以讓瀏覽器實(shí)現(xiàn)在任意位置的換行。

      語(yǔ)法:

      word-break: normal|break-all|keep-all;

      屬性值:

      normal 使用瀏覽器默認(rèn)的換行規(guī)則。

      break-all 允許在單詞內(nèi)換行。

      keep-all 只能在半角空格或連字符處換行。

      示例:

      <!DOCTYPE html> <html> <head> <style>  p.test1 { width:11em;  border:1px solid #000000; word-break:hyphenate; } p.test2 { width:11em;  border:1px solid #000000; word-break:break-all; } </style> </head> <body> <p class="test1">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p> <p class="test2">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p> <p><b>注釋:</b>目前 Opera 不支持 word-break 屬性。</p> </body> </html>

      效果圖:

      css如何實(shí)現(xiàn)不換行

      相關(guān)學(xué)習(xí)推薦:css教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)