form { margin:50px auto; width:500px; } label { font-size:14px; color:#555; line-height:40px; margin-right:10px; } input { width:212px; height:38px; border-style:none; padding:0 4px; border:1px solid #C8C8C8; margin-right:10px; outline:none; } .msgs { display:inline-block; width:104px; color:#fff; font-size:12px; border:1px solid #0697DA; text-align:center; height:30px; line-height:30px; background:#0697DA; cursor:pointer; } form .msgs1 { background:#E6E6E6; color:#818080; border:1px solid #CCCCCC; }