简体   繁体   English

标头内容未显示在IE6中

[英]Header content not displaying in IE6

I have used Joomla 3.3 ("tk_responsi_free" template) to build my website. 我使用了Joomla 3.3(“ tk_responsi_free”模板)来构建我的网站。 But when I am trying to view it in IE7 the sub menu section getting suppressed by other modules. 但是,当我尝试在IE7中查看它时,子菜单部分被其他模块抑制了。 So I have added little bit of CSS code in "custom.css": 因此,我在“ custom.css”中添加了一些CSS代码:

#header {
    z-index: 999;
}

This solved my problem in IE7. 这解决了我在IE7中的问题。 But now I am not able to view the contents which were written under Header tag in IE6. 但是现在我无法查看在IE6中的Header标签下编写的内容。 I have removed the above CSS code and also used conditional statement. 我删除了上面的CSS代码,并使用了条件语句。 But the problem remains. 但是问题仍然存在。

Thanks in advance. 提前致谢。

IE6, a browser from pre-history, can't parse html5 tags. IE6是一种来自前史的浏览器,无法解析html5标签。 Are you even loading an html5shiv? 您是否还在加载html5shiv? Without it IE6 doesn't even know the header tag is there. 没有它,IE6甚至不知道标题标签在那里。 Pretty sure your template will not support IE6, so if you want IE6 support a free responsive template is not the best choice. 可以肯定的是,您的模板将不支持IE6,因此,如果要IE6支持,则免费的响应模板不是最佳选择。

Expecting that is like expecting a transistor radio to play a Blu-ray disc. 期望就像期望晶体管收音机播放蓝光光盘一样。 As far as IE6 is concerned html5 doesn't exist, neither does css3. 就IE6而言,html5不存在,css3也不存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM