在input 中的右边加上一个图标 <input class='phone-input' type="text" id="phone"/> .phone-input{ padding-right:20px; background:url("resource/***.gif") no-repeat scroll right center transparent; }