对齐输入框的方法
#div1{ position:fixed; left:0px; right:0px; 800px; margin-left:auto; margin-right:auto;top:100px; } #a { height:50px; border:1px solid rgb(230, 189, 189); } #a input { height:30px; border: 1px solid rgb(230, 189, 189); background-color: lavenderblush; } label{ display: inline-block; padding: 3px 6px; text-align: right; 100px; vertical-align: top; text-align:right }