久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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 input大小怎么設(shè)置

      在css中,可以使用width和height屬性來設(shè)置input元素的大小,只需要給input元素添加“width:寬度值;height:高度值;”樣式即可。input屬于行內(nèi)替換元素,效果等于塊元素,所以可設(shè)置width和height值。

      css input大小怎么設(shè)置

      本教程操作環(huán)境:windows7系統(tǒng)、CSS3&&HTML5版、Dell G3電腦。

      在css中,可以使用width和height屬性來設(shè)置input元素的大小。

      代碼示例:

      <form action="form_action.asp" method="get">   用戶名: <input type="text" name="name" style="width: 100px;height: 30px;"/><br /><br />   密碼: <input type="password" name="password" /> <br /><br />  <input type="submit" value="Submit" /> </form>

      效果圖:

      css input大小怎么設(shè)置

      說明:

      • <input> 標(biāo)簽用于搜集用戶信息。屬于行內(nèi)替換元素。height/width/padding/margin均可用。效果等于塊元素。

        而,行內(nèi)非替換元素,height/width/padding top、bottom/margin top、bottom均無效果。只能用padding left、right和margin left、right改變寬度。

      • width 屬性設(shè)置元素的寬度,height 屬性設(shè)置元素的高度。

        width 屬性和height 屬性定義元素內(nèi)容區(qū)的寬度和高度,不包括填充,邊框,或頁邊距;在內(nèi)容區(qū)外面可以增加內(nèi)邊距、邊框和外邊距。

      (學(xué)習(xí)視頻分享:css視頻教程)

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