body { width: 300px; height: 180px; margin: 0 auto; } .login-form { /* background: url('./login.jpg') no-repeat; */ width: 300px; height: 180px; margin: 0 auto; margin-top:40px; margin-left:15px; } .login-form .items { padding: 10px; } .login-form .items .item label { margin-left: 5px; width: auto; min-width: 20px; } .login-form .item-border { background: url('./input.png') no-repeat; padding-top:3px; /*padding:3px;*/ } .login-form .user-input { background: url('./user.png') no-repeat; text-indent:-10000px; width:22px; height:19px; } .login-form .psw-input { background: url('./keyword.png') no-repeat; text-indent:-10000px; width:22px; height:19px; } .login-form input { border: none; width:200px; } .login-form select { width: 170px; border: none; } .login-form .login_btn { background: url('./login_btn.png') no-repeat; width:250px; height:32px; color:#fff; }