当前位置: 首页 > 图文教程 > 网络编程 > Javascript > ExtJS 2.2.1的grid控件在ie6中的显示问题

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 ExtJS 2.2.1的grid控件在ie6中的显示问题


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-12   浏览: 273 ::
收藏到网摘: n/a

最近在学习使用ExtJS进行富客户端开发。使用ExtJS 2.2.1的grid控件时,发现在ie6中运行存在一个问题 如下图所示:

old

Menuitem的图标覆盖到了文字上方,这样的显示效果很不爽。

<!--[if !vml]--><!--[endif]-->

查看上一版本(2.2)发现并不存在这个问题。

于是,比较2.2.1和2.2两个版本,发现在resources/css /ext-all.css的相关样式上存在差异,如下图:

dif

修改2.2.1版的这两处样式,即可解决这个问题。修改之后,在ie6上能够正常显示,如下图:

new

<!--[if !vml]--><!--[endif]-->

此外,在opera9.5和Firefox3.0.10中也能正常显示。

ExtJS最新的3.0 RC1版已经没有这个问题了。