日期:2014-05-17 浏览次数:20711 次
<div id="formpanel"> <form> <div id="username_field"> <div id="usernamepic"> <img src="images/images/images/username_06.jpg"/> </div> <div id="inputfield"> <input type="text" style="width:227px; height:22px; border-color:b9b9b9" /> </div> </div> <div id="password_field"> <div id="usernamepic"> <img src="images/images/images/images/password_09.jpg"/> </div> <div id="inputfield"> <input type="text" style="width:227px; height:22px; border-color:b9b9b9" /> </div> </div> </form> </div>
#formpanel{ width:341px; height:135px; margin-left:auto; margin-right:auto; } #username_field{ margin-top:0px; width:340px; } #usernamepic{ float:left; margin-top:0px; margin-left:0px; } #inputfield{ float:right; margin-top:0px; margin-right:0px; width:228px; height:27px; } #password_field{ width:340px; }