Setting the width of inline elements

后端 未结 7 1157
悲&欢浪女
悲&欢浪女 2020-11-22 05:28

You can set the width of inline elements like , and , but you won’t notice any eff

7条回答
  •  醉酒成梦
    2020-11-22 05:57

    a) The width of an inline element is ignored

    b,c) When you "position" an inline element (I assume that means using position:absolute), you are actually making it a block element, whose width is interpreted by the browser

提交回复
热议问题