为什么我的标头在internetexplorer中改变了? [英] Why my header is changing in internetexplorer?

查看:75
本文介绍了为什么我的标头在internetexplorer中改变了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用css创建了一个具有无序列表UL的菜单.我正在不同的浏览器中打开它.此菜单在chrome和Firefox中正确显示.当我在Internet Explorer 9中打开此菜单时,菜单大小正在增加,我无法获取解决方案,请告诉我原因.我该如何解决..

I created one menu with unordered list UL using the css . I am opening this in different browsers . This menu is coming correctly in chrome and Firefox. when i am opening this menu in Internet explorer 9 the menu size is increasing i am not able to get the solution please tell me the reason. How can i solve this..

推荐答案

我认为您应该在HTML的head标签内使用meta标签.
< meta http-equiv ="X-UA-Compatible" content ="IE = edge"/>

它将强制使用最新的IE模式.
I think you should use a meta tag inside your head tag of html.
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

It will force the last/newer IE mode.


这篇关于为什么我的标头在internetexplorer中改变了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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