css下拉菜单出现在第一个选项卡 [英] css dropdown menu appears at the first tab

查看:207
本文介绍了css下拉菜单出现在第一个选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在进行我正在进行的工作 -
http://www.22shrutiharmonium .com / version2 / index.html

I am staging my ongoing work here- http://www.22shrutiharmonium.com/version2/index.html

此处,css下拉菜单显示在不同的菜单选项卡上(并按预期准确运行)。但是,一旦进入博客部分,无论我们将鼠标悬停在菜单上的什么位置,请注意下拉菜单不必要地也出现在第一个菜单选项卡附近。 (IE7,FF3.6.9,Chrome 6.0.472.55)

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)

基本上,我已经将外部开源博客代码集成到我的网站,并改变了原来的博客主题)与我的网站的。所以下拉菜单部分的我的网站和博客的CSS是相同的(我已经复制了我的CSS的下拉菜单部分到/ blog目录中自定义其css)。

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).

提前感谢。

推荐答案

为了避免头痛,我个人建议使用CSS-only菜单没有太多时间或努力重新做CSS的几行。

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/

您可以忽略sf-hover if你不担心支持IE6。它也看起来像你的当前导航的结构匹配上面的链接,所以该过程应该很顺利。

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.

这篇关于css下拉菜单出现在第一个选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆