之前系统中是用easyui做的,可能在提示"请输入密码"这几个字时,就变成了点了,让我很。。。
于时还是找了很多,总算还是让我找到了,不会表达就来源码吧
<style type="text/css">
.has-feedback .form-control {
padding-right: 0.5px;
}
.form-control-left {
padding-right: 0px;
padding-left: 29px;
}
.form-control-feedback-left {
left: 0;
}
</style>
<form class="form-horizontal">
<div class="form-group" style="margin-bottom: 5px;">
<div class="col-xs-4 control-label" style="padding-left: 1px;">用户名:</div>
<div class="col-xs-7" style="padding-left: 1px;">
<div class="form-group has-feedback">
<input type="text" class="form-control form-control-left" id="txtUserId" aria-describedby="inputSuccess2Status" placeholder="请输入用户名">
<span class="glyphicon glyphicon-user form-control-feedback form-control-feedback-left" style="color: #ccc" aria-hidden="true"></span>
</div>
</div>
</div>
<div class="form-group" style="margin-bottom: 0px;">
<div class="col-xs-4 control-label" style="padding-left: 1px;">密 码:</div>
<div class="col-xs-7" style="padding-left: 1px;">
<div class="form-group has-feedback">
<input type="password" class="form-control form-control-left" id="txtPwd" aria-describedby="inputSuccess2Status" placeholder="请输入密码">
<span class="glyphicon glyphicon-lock form-control-feedback form-control-feedback-left" style="color: #ccc" aria-hidden="true"></span>
</div>
</div>
</div>
<div class="form-group" style="margin-bottom: 10px;">
<div class="col-xs-10 col-xs-offset-2" style="padding-left: 1px;">
<div id="msg_holder" style="color: red;"></div>
</div>
</div>
<div class="form-group" style="margin-bottom: 5px;">
<div class="col-xs-8 col-xs-offset-3" style="padding-left: 1px;">
<input type="submit" name="Button1" value="登录" id="btnLogin" class="form-control btnlogin" style="width: 100%" />
</div>
</div>
</form>