DIJIT TabContainer 在 IE7 中的显示问题
我遇到了 tabcontainer 在 IE7 中垂直显示选项卡而不是水平显示选项卡的问题。火狐3.5就可以了。
我的设置如下: 选项卡容器包含 5 个选项卡。 选项卡容器具有由自定义 CSS 文件定义的 CSS 每个选项卡可以包含一个新的选项卡容器 这个“内部”选项卡容器使用默认的 tundra css 样式。
“内部”选项卡容器工作正常,并水平显示选项卡,但“外部”选项卡容器(带有自定义 CSS)却不能。我认为解决这个问题很简单,因为我只需从苔原样式表中复制相关样式即可。不幸的是这似乎不起作用。 我已经检查了所有内部和外部选项卡的计算 css 的显示值,它们是匹配的,所以我现在有点不知所措......
以前有人遇到过此类问题吗?
哦,还有另一个有点令人困惑的问题............如果我不应用“display:inline-block;”到 .dijitTab 我在 Firefox 中遇到同样的问题。
I am having an issue with a tabcontainer displaying tabs vertically, rather than horizontally in IE7. Firefox 3.5 is fine.
My setup is as follows:
Tab container contains 5 tabs.
Tab container has CSS defined by a custom CSS file
Each tab can contain a new tab container
This 'inner' tab container uses the default tundra css styling.
The 'inner' tab containers works fine, and displays the tabs horizontally but the 'outer' tab container (with the custom css) doesn't. I thought solving this problem would be straight forward, as I'd just be able to copy the relevant styling from the tundra style sheets. Unfortunately this doesn't seem to work.
I've checked the display values of the computed css for all of the inner and outer tabs and they match up so I'm now at a bit of a loss.......
Has anyone had this sort of issue before?
Oh, and there is another, slightly confusing issue............if I don't apply "display: inline-block;" to .dijitTab I get the same problem in firefox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果没有看到自定义 CSS,很难判断,但 TabController 上有一个 _rectifyRtlTabList() 方法可以修复类似的问题
It's hard to tell without seeing your custom CSS but there is a _rectifyRtlTabList() method on TabController that fixes a similar problem