<p class="regstr regstrshadow" id="menu"> <a href="javascript:void(0)" class="regselected" title="登錄" alt="login">登錄</a> <a href="javascript:void(0)" class="regselect" title="註冊" alt="register">註冊</a> <a href="javascript:void(0)" onclick="jQuery.closeRegBox(this)" class="regselect" title="關閉">x</a></p>
設置a元素的寬高,再加上背景就顯示高低不一致javascript