* { margin:0; padding:0; } body { font-size:12px; padding:50px; } .one { margin:10px; } .one label { width:100px; float:left; text-align:right; height:20px; line-height:20px; } .one input { border:1px solid #999; height:20px; } .two { padding-left:110px; } .red { color:black; } .error { width:100px; height:20px; padding:2px; line-height:20px; background:url(img/err.png)no-repeat; padding-left:25px; margin-left:5px; } .right { width:100px; height:20px; padding:2px; line-height:20px; background:url(img/ok.png)no-repeat; padding-left:25px; margin-left:5px; }