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

后端 未结 13 1305
春和景丽
春和景丽 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:32

    define margin and padding for the element is facing the problem:

    #element_id {margin: 0; padding: 0}  
    

    and see if problem exists. IE renders the page with to more unwanted inheritance. you should stop it from doing so.

提交回复
热议问题