EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 08:16:36 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
combo 控件宽度计算的小问题
Pages: [
1
]
« previous
next »
Print
Author
Topic: combo 控件宽度计算的小问题 (Read 10884 times)
iamjxc
Jr. Member
Posts: 80
combo 控件宽度计算的小问题
«
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>
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...