扩展程序库应用程序布局中的排列问题排列在IE但不是Firefox [英] Alignment problems in the Extension Library Application Layout Placebar in IE but not Firefox

查看:101
本文介绍了扩展程序库应用程序布局中的排列问题排列在IE但不是Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个有趣的CSS问题。第一个图形显示了IE上的PlaceBar上的按钮,其中视图按钮被向上推。如果这有什么区别,这个按钮有孩子。在FireFox的一切排列完美。有没有人知道这是否可以在CSS中调整,如果可以在哪里?

Got an interesting CSS problem. The first graphic shows the buttons on the PlaceBar in IE where the "Views" button is pushed up. This button has children if this makes a difference. In FireFox everything lines up perfectly. Does anyone know if this is adjustable in the CSS and if so where?

推荐答案

您可以通过使用X-UA-兼容元标记以控制要呈现页面的IE的版本。

You can force IE not to use compatibility mode by using the X-UA-Compatible meta tag to control the version of IE to render the page for.

添加以下元标记以启用IE8标准模式:

Add the following meta tag to enable IE8 Standards Mode:

<meta http-equiv="X-UA-Compatible" content="IE=8" >

您可以使用以下方式在主题中添加元标记:

You can add the meta tag in a theme using:

<resources>
  <metaData>
    <httpEquiv>X-UA-Compatible</httpEquiv>
    <content>IE=8</content>
  </metaData>
</resources>

这篇关于扩展程序库应用程序布局中的排列问题排列在IE但不是Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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