两个input之间有空隙,处理方法

修改css,给前边一个input添加一个左浮动。

  1.  
    <input id="day" type="button" value="日" name="time1" class="checked" style="float: left"/>
  2.  
    <input id="month" type="button" value="月" name="time1" class="" />
  3.  
    <input id="year" type="button" value="年" name="time1" class="" />

效果图:

分开   后面加   右浮动

posted @ 2018-09-27 21:46  阿波罗任先生  阅读(1312)  评论(0编辑  收藏  举报