<form method="post" class="am-form" id="am-login">
<p><i class="am-icon-user am-span1"></i><input class="am-span12" type="text" name="tel"></p>
<p><i class="am-icon-lock am-span1"></i><input class="am-span12" type="password" name="pwd"></p>
<input type="submit" name="" value="登 录" class="am-btn am-radius am-g am-login-submit ">
</form>
只要给input加上相对定位,给i加上绝对定位即可。