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

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

    For me, it was vertical-align: baseline vs vertical-align: top that was causing the top offset.

    Try to set vertical-align: top

提交回复
热议问题