Css 如何为底部元素指定IE 11
如何在css中指定IE 11?我有其他IE说明如下Css 如何为底部元素指定IE 11,css,internet-explorer-11,Css,Internet Explorer 11,如何在css中指定IE 11?我有其他IE说明如下 #teleport { bottom: -230px; bottom: -280px\9; /* IE 8 and below */ *bottom: -280px; /* IE 7 and below */ _bottom: -280px; /* IE 6 */ } 问题解决了。顺便说一句,为什么你应该只关注IE11的好奇心?即使是IE11也不能正确处理你的CSS?因为我在IE10和IE11中的位置不合适。其他浏览器也可以。您是否
#teleport {
bottom: -230px;
bottom: -280px\9; /* IE 8 and below */
*bottom: -280px; /* IE 7 and below */
_bottom: -280px; /* IE 6 */
}
问题解决了。顺便说一句,为什么你应该只关注IE11的好奇心?即使是IE11也不能正确处理你的CSS?因为我在IE10和IE11中的位置不合适。其他浏览器也可以。您是否尝试使用填充或边距而不是负底?也许这不是IE11的错。
_:-ms-fullscreen, :root .ie11up, #teleport { bottom: -280px; }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.ie10up, #teleport{bottom: -280px; }
}