【发布时间】:2015-03-15 10:26:18
【问题描述】:
我在我网站的各个地方都使用了以下 CSS:
http://jsfiddle.net/uycq29mt/1/
.a {
position:absolute;
background:red;
width:600px;
height:100px;
left:50%;
transform: translate(-50%);
}
在 Internet Explorer 中运行时,您会注意到一个水平滚动条,它似乎忽略了有关页面总宽度的转换。
【问题讨论】:
-
我在 IE 团队工作,最近提交了一个关于此行为的错误。此外,I tweeted for sites that were affected 通过这个 bug,试图了解这个 bug 的影响。您是否有受此影响的实时站点?如果是这样,它将帮助我们了解修复的紧迫性。
-
不幸的是它还没有上线,但是 jsfiddle 清楚地展示了它。
标签: html css internet-explorer horizontal-scrolling