2012-03-14 60 views
0

我在我的HTML布局中有一个JQuery Mobile的日期框,当我将它放在一个按钮中或当我将它放置在网格布局中的按钮时,日期框文本输入将打破2线高度。 enter image description hereDatebox分成2行JQueryMobile

<table> 
<tr> 
     <td><div data-role="controlgroup" data-type="horizontal"> 
       <a id="btnPrevDate" data-role="button" href="#" data-theme="a">PREV</a> 
       <a id="btnNextDate" data-role="button" href="#" data-theme="a">NEXT</a> 
     </div></td> 
<td> <div><input name="difereddelv" id="datepickerAct" type="date" data-role="datebox" data-options='{"mode": "calbox"}'></td></div> 

</tr> 
</table> 

有人可以帮助我在此先感谢。

回答

0

做了一些CSS黑客和它的工作:)

<style> 
    .ui-input-datebox input 
       { 
       width: 70%!important; 
       } 
</style>