EasyUI Forum

General Category => Bug Report => Topic started by: iamjxc on April 27, 2014, 11:54:27 PM



Title: combo 控件宽度计算的小问题
Post by: iamjxc on April 27, 2014, 11:54:27 PM
在不指定 <!DOCTYPE html> 时, combo控件的宽度与原始 input 控件的显示宽度是一致的
页面加上 <!DOCTYPE html> 后, combo控件的宽度比原始 input 控件窄 6px, 会导致页面打开后跳动, 这个能解决吗?

<input type="text" style="width:150px"><br/>
<input type="text" id="cc" style="width:150px"><br/>

       <script type="text/javascript">
      $(function(){
         $('#cc').combo({
            required:true,
            editable:false
         });
      });
   </script>