How to solve the problem of CSS double margin BUG of IE6
In this article Xiaobian for you to introduce in detail "IE6 CSS double margin BUG how to solve", the content is detailed, the steps are clear, the details are handled properly, I hope this "IE6 CSS double margin BUG how to solve" article can help you solve doubts, the following follow the editor's ideas slowly in-depth, together to learn new knowledge.
The code method of generating double partition margin crack under ie6 reader:
Double distance margin plan body {margin:0} div {float:left;margin-left:10px;width:300px;height:200px;border:1px solid red}
Web standard common title Daquan double distance margin site standard think through title site scale think through questions frequently asked by web specifications Title web specification common title Daquan website scale common title Daquan website scale think through title web standard Daquan website scale think through title problem Daquan site specification Daquan website scale think through title problem Daquan web standard common title problem Daquan website standard Daquan website standard
After floating, the outer margin of the copy is 10px, but IE is specified as 20px, and the planning method is to add display:inline.
Div {float:left;margin-left:10px;width:300px;height:200px;border:1px solid red}
Intervention in display:inline
Div {float:left;margin-left:10px;width:300px;height:200px;border:1px solid red;display:inline} read here, this article "IE6 CSS double margin BUG how to solve" article has been introduced, want to master the knowledge of this article still need to practice and use in order to understand, if you want to know more related articles, welcome to follow the industry information channel.