Strategy for Fixing Layout Bugs in IE6?

前端 未结 12 1571
别跟我提以往
别跟我提以往 2021-01-05 08:02

Generally, what\'s the best way to tackle a layout bug in IE6? What are the most common bugs or problems that one should look for when trying to figure out why your page sud

12条回答
  •  北海茫月
    2021-01-05 08:55

    One good way to start learning about how IE happens to be mangling the page is to turn on red borders on different elements with CSS (border: 1px solid red;). This will immediately tell you whether it's a margin problem or a padding problem, how wide the element really is, etc.

提交回复
热议问题