WordPress 导航栏在 IE7 中渲染不正确
我在使此 Wordpress 导航栏在 IE7 中正确呈现时遇到一些问题。我不确定我的 CSS 是否缺少我应该包含的内容或什么。如果有人有任何想法,我愿意接受建议。 blog.coolbakers.com
我也在考虑将导航栏切换到仅 css/html 的滚动导航栏,但我有一种感觉,我只是错过了一些简单的东西,如果它很简单,我真的宁愿不经历所有这些修复,因为我很少在 WordPress 环境中工作......
I am having some problems getting this Wordpress nav bar to render correctly in IE7. Im not sure if my CSS is missing something I should be including or what. If anyone has any ideas I am all open to suggestions. blog.coolbakers.com
I was also contemplating switching the nav over to a css/html only rollover nav bar, but I have a feeling that I am simply missing something simple and really would prefer to not go through all of that if it an easy fix, as I have not worked in a Wordpress environment much...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您不想浪费时间寻找仅适用于一个旧浏览器的解决方案,我建议使用仅 IE7/IE6 的 CSS 样式表,可以通过在 header.php 文件中添加以下内容来实现此目的,
并将此样式添加到新文件中解决你的问题:
I suggest using an IE7/IE6 only CSS stylesheet if you don't want to waste your time finding a solution just for one old browser, do this by adding the below in your header.php file
And add this style to the new file to fix your problem: