貌似是onMouseOver事件..和onMouseOut事件...

解决方案 »

  1.   

    用的是onmouseover 和onmouseout
      

  2.   

    <div class="ge Ge_h2"></div>
            <p class="MR_pinp"><span>用户名</span>
              <input type="text" onMouseOver="this.style.borderColor='#99E300'" onMouseOut="this.style.borderColor='#A1BCA3'" name="user"  maxlength="30" tabindex="1"/>
              <b class="m126" title="@126.com"></b></p>
            <div style="clear:both"></div>
            <p class="MR_pinp LH"><span>密  &nbsp;码</span>
              <input onMouseOver="this.style.borderColor='#99E300'" onMouseOut="this.style.borderColor='#A1BCA3'" name="pass" type="password" size="16" tabindex="2"  maxlength="20"/>
              <a href="http://reg.126.com/recoverpass/" target="_blank">忘记密码了?</a></p>找找他的代码就好了啊
    赫赫
    应该就是用onMouseover & onMouseout来实现的