css 下拉菜单出现在第一个选项卡上

发布于 2024-09-19 04:56:42 字数 292 浏览 3 评论 0原文

我在这里展示我正在进行的工作- 在这里

,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡の花香 2024-09-26 04:56:42

为了避免麻烦,我个人建议使用纯 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文