請問是否能純用div
達成UserName這個標題出現在輸入框的左邊呢?
還是說用form表單比較方便?
<div id="main">
<div>UserName</div>
<div style="margin-bottom:10px">
<input id="UserName" type="text" style="width:100%;height:40px;padding:12px"></div>
<div>PassWord</div>
<div style="margin-bottom:20px">
<input id="PassWord" type="password" style="width:100%;height:40px;padding:12px"></div>
<div>
<a href="#" style="padding:5px 0px;width:100%;" onClick="DemoLoginButton()">
<span style="font-size:14px;">Login</span>
</a>
</div>
</div>