代码如下:
<td class=i width="7%">计算年月</td>
<td class="c" width="7%">
<input type=text name="slry_pay_yymm" value="<%= slry_pay_yymm %>" style="width:100%;hight:100%;text-align: center;" maxlength="7"onkeypress="date_input_month(this);">
</td>
<td width="30px" >
<input type="button" id="sel_up" name="sel_down" align="top" style="background-image: url(../../images/icon/ardn2.gif);border:0; width:15;height:15;cursor:hand;text-decoration: none;margin: 0; " onClick="option_up($('fit_work'))" ><%--年月增加按钮 --%>
<input type="button" id="sel_up" name="sel_down" align="bottom" style="background: url(../../images/icon/arup2.gif);border:0; width:15;height:15;cursor:hand;" onClick="option_down($('fit_work'))">
</td><%--年月减少按钮 --%>
此代码放置在<table>中 最后发现表格高度比原来要大,导致页面极不美观。
如有其它方法实现月份加减功能也可,请告知,谢谢~
<td class=i width="7%">计算年月</td>
<td class="c" width="7%">
<input type=text name="slry_pay_yymm" value="<%= slry_pay_yymm %>" style="width:100%;hight:100%;text-align: center;" maxlength="7"onkeypress="date_input_month(this);">
</td>
<td width="30px" >
<input type="button" id="sel_up" name="sel_down" align="top" style="background-image: url(../../images/icon/ardn2.gif);border:0; width:15;height:15;cursor:hand;text-decoration: none;margin: 0; " onClick="option_up($('fit_work'))" ><%--年月增加按钮 --%>
<input type="button" id="sel_up" name="sel_down" align="bottom" style="background: url(../../images/icon/arup2.gif);border:0; width:15;height:15;cursor:hand;" onClick="option_down($('fit_work'))">
</td><%--年月减少按钮 --%>
此代码放置在<table>中 最后发现表格高度比原来要大,导致页面极不美观。
如有其它方法实现月份加减功能也可,请告知,谢谢~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货