What to do to generate double spacing bug under ie6 browser
This article mainly shows you "how to do double spacing bug under ie6 browser", the content is simple and easy to understand, organized clearly, I hope to help you solve doubts, let Xiaobian lead you to study and learn "how to do double spacing bug under ie6 browser" this article bar.
Ie6 browser double margin occurs bug code method:
Double Distance Margin Management
body {margin:0}
div {float:left;margin-left:10px;width:300px;height:200px;border:1px solid red}
website standard website Copyright © 2016 - 2017 www.300.cn All Rights Reserved. Designed by www.300.cn. Designed by www.300.cn
After floating, the original outer distance is 10px, but IE evaluation is 20px, the regulation threshold is added display:inline
div {float:left;margin-left:10px;width:300px;height:200px;border:1px solid red}
display:inline
div {float:left;margin-left:10px;width:300px;height:200px;border:1px solid red;display:inline}
Scenario margin attack double distance method.
The above is "how to do double margin bug under ie6 browser" all the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!