css 下拉菜单出现在第一个选项卡上
我在这里展示我正在进行的工作- 在这里
,css下拉菜单出现在不同的菜单选项卡上(并且按预期准确运行)。但是,进入“博客”部分后,请注意下拉菜单不必要地出现在第一个菜单选项卡附近,无论我们将鼠标悬停在菜单上的何处。 (IE7、FF3.6.9、Chrome 6.0.472.55)
基本上,我已将外部开源博客代码集成到我的网站中,并将原始博客主题(css)更改为我网站的主题。因此,我的网站和博客的 css 的下拉菜单部分是相同的(我已将 css 的下拉菜单部分复制到 /blog 目录中以自定义其 css)。
提前致谢。
I am staging my ongoing work here-
http://www.22shrutiharmonium.com/version2/index.html
Here, css dropdown menu appears at different menu tabs (and functions accurately as intended). However, once inside the "blog" section, notice the dropdown menu unnecessarily also appearing near the first menu tab, no matter where we hover the mouse over the menu. (IE7, FF3.6.9, Chrome 6.0.472.55)
Basically, I have integrated the external open source blog code into my site and have changed the original blog theme (css) with that of my site. So the dropdown menu part of the css of my site and that of the blog are same (I have copied the dropdown menu part of my css into /blog directory for customizing its css).
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了避免麻烦,我个人建议使用纯 CSS 菜单,如果不需要花费太多时间或精力来重新编写几行 CSS。
http://htmldog.com/articles/suckerfish/dropdowns/
您可以忽略 sf - 如果您不关心是否支持 IE6,请将鼠标悬停在此处。它看起来也像您当前导航的结构与上面的链接匹配,所以这个过程应该非常顺利。
To avoid headaches, I would personally recommend using CSS-only menus, if it is not too much time or effort to re-do a few lines of the CSS.
http://htmldog.com/articles/suckerfish/dropdowns/
You can ignore the sf-hover if you aren't concerned about supporting IE6. It also looks like the structure of your current navs matches that the above link, so the process should go pretty smoothly.