How do I get rid of an element's offset using CSS?

后端 未结 13 1306
春和景丽
春和景丽 2020-12-04 08:43

I\'ve got a positioning problem with some elements, upon inspecting it IE8 Developer tools it shows me this:

\"W

13条回答
  •  无人及你
    2020-12-04 09:29

    moving element top: -12px or positioning it absolutely doesn't solve the problem but only masks it

    I had the same problem - check if you have in one wrapping element mixed: floating elements with non-floating ones - my non-floating element caused this strange offset to the floating one

提交回复
热议问题