【发布时间】:2015-11-22 12:46:10
【问题描述】:
如何在我的 CSS 中指定 IE 11?我有其他IE占如下。
#teleport {
bottom: -230px;
bottom: -280px\9; /* IE 8 and below */
*bottom: -280px; /* IE 7 and below */
_bottom: -280px; /* IE 6 */
}
【问题讨论】:
-
stackoverflow.com/questions/20541306/… 顺便说一句,为什么你应该针对 IE11(只是好奇)?连 IE 11 都不能正确处理你的 CSS?
-
因为我的
<div>在 IE10 和 IE11 中没有位置。其他浏览器都可以。 -
您是否尝试使用填充或边距而不是负底部?也许这不是 IE11 的错。