我正在开发的网站是 www.shandon.com.au 。 它在除 IE9 之外的所有浏览器上看起来都很好,其中导航菜单消失了(它使用 Superfish JS)。
我运行的是 Mac,所以我只能在 VMWare 中的 IETester 上进行测试,如果我不移动鼠标,一切看起来都很好,每当我将鼠标悬停在 webiste 窗口上时,它就会消失并且搜索框会向下移动。
应该怎样解决这个问题?任何帮助将不胜感激!谢谢!
最佳答案
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
这是问题之一,将其更改为
<meta http-equiv="X-UA-Compatible" content="IE=Edge" >
然后从头部删除这一行:
<!--[if IE 9 ]> <html class="ie ie9 no-js" dir="ltr" lang="en-US" xmlns:og="http://opengraphprotocol.org/schema/"> <![endif]-->
我认为您不需要 IE9 特定的检测,无论如何它都会正确呈现您网站中的所有内容。
关于css - Superfish 菜单在 IE9 中消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11339202/