jquery easyui tabs使用fit后,在页面中出现下拉滚动条,无论在tabs中加入style="overflow: hidden"或者定高度之类的,都会出现。

 1 <div >
 2      <div title="Tab1">  
 3          tab1   
 4       </div>  
 5       <div title="Tab2" data-options="closable:true">  
 6          tab2   
 7       </div>  
 8       <div title="Tab3" data-options="iconCls:'icon-reload',closable:true">  
 9          tab3   
10       </div> 
11</did>

这时,可以看看页面最上面的声明,如果是:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

可以改为:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

最后附带上声明的说明:http://gghaomm.iteye.com/blog/984617

相关文章:

  • 2021-12-13
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-11-10
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2021-12-26
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-08-27
  • 2021-12-06
相关资源
相似解决方案