请看下面的代码:
HTML
<input class="input-form" type="text">
<input class="input-form" type="password">
CSS
.input-form{
width:250px;
height:30px;
border: 2px solid red;
margin:0px;
}
JSFIddle -> http://jsfiddle.net/TypYn/
我的问题:我不明白为什么两个输入之间有一个边距,尽管我确实将边距设置为 0px。预先感谢您的回复。干杯。马克