久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css如何設(shè)置div不換行

      css設(shè)置div不換行的方法:1、使用float方法,代碼為【.div2 {float: left;}】;2、使用【inline-block】方法,代碼為【.div2 {display: inline-block;}】。

      css如何設(shè)置div不換行

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

      css設(shè)置div不換行的方法:

      float

      <div class="div1">123</div> <div class="div2">456</div> <style> .div1 { float: left; } .div2 { float: left; } </style>

      inline-block

      <div class="div1">123</div> <div class="div2">456</div> <style> .div1 { display: inline-block; } .div2 { display: inline-block; } </style>

      flex

      這個是針對父元素設(shè)置的?。?!

      <div class="parent"> <div class="div1">123</div> <div class="div2">456</div> </div> <style> .parent { display: flex; } </style>

      相關(guān)教程推薦:CSS視頻教程

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