[英]Remove the border around ie9 in quirks mode?
I want to know if there are any work arounds to make the 2px border disappear in ie9 even in quirks mode? 我想知道是否有任何工作可以使iep中的2px边框消失甚至在怪异模式下? Here are some relevant links about this problem:
以下是有关此问题的一些相关链接:
Remove 2px Gray Border Surrounds Edge IE9 删除2px灰色边框环绕边缘IE9
http://www.dasmirnov.net/blog/controlling-how-ie9-renders-pages http://www.dasmirnov.net/blog/controlling-how-ie9-renders-pages
Thank you 谢谢
Add the following to your stylesheet: 将以下内容添加到样式表:
html { border:none; }
The border appears to be technically a default border around the html
element, even though this cannot be seen in IE 9 inspector mode (F12), which shows 0px border for the element. 边界似乎在技术上是
html
元素周围的默认边框,即使在IE 9检查器模式(F12)中无法看到,该模式显示元素的0px边框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.