CSS mystery: Width being set to 0px without any CSS rules?

前端 未结 3 1259
不知归路
不知归路 2020-12-19 23:03

So, check out this screenshot of a page I\'m working on in Chrome Developer Tools:

The top rule in \'Matched CSS Rules\' suggests that the width of the elemen

3条回答
  •  情深已故
    2020-12-19 23:45

    It has display: inline property, which makes the element ignore your width,height values, even if they are marked !important

提交回复
热议问题