简体   繁体   中英

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? Here are some relevant links about this problem:

Remove 2px Gray Border Surrounds Edge IE9

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM