Tip: you can modify some code before running
<style>input{width:200px; }.bg1_1{background:url(http://www.zhanzz.com/tu/tu.files/ic_male.gif) no-repeat left center}.bg1_2{background:url(http://www.zhanzz.com/tu/tu.files/ic_male.gif) no-repeat right center}.bg2_1{background:url(http://www.zhanzz.com/tu/tu.files/sub_left_bullet_08(1).gif) no-repeat left center}.bg2_2{background:url(http://www.zhanzz.com/tu/tu.files/sub_left_bullet_08(1).gif) no-repeat right center}.bg3_1{background:url(http://www.zhanzz.com/tu/tu.files/i_help.gif) no-repeat left center}.bg3_2{background:url(http://www.zhanzz.com/tu/tu.files/i_help.gif) no-repeat right center}</style><script type="text/javascript">Function Action (obj, types, thisClassName) {if (types = "click") obj. className = thisClassName + "2"; if (types = "blur") {if (obj. value = "") {obj. className = thisClassName + "1";} else {obj. className = thisClassName + "2 ";}}}</script><p>User name:<input type="text" name="textfield" class="bg1_1" onClick="Action(this,'click','bg1_')" onblur="Action(this,'blur','bg1_')"> </p><p>Password:<input type="text" name="textfield2" class="bg2_1" onClick="Action(this,'click','bg2_')" onblur="Action(this,'blur','bg2_')"></p><p>Verification code:<input type="text" name="textfield3" class="bg3_1" onClick="Action(this,'click','bg3_')" onblur="Action(this,'blur','bg3_')"></p>
Tip: you can modify some code before running