Setting the width of inline elements

后端 未结 7 1316
悲&欢浪女
悲&欢浪女 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

    Inline element cannot have width. Width is a property of block element. So to use property of width over an inline element or an element with display type inline set display as inline-block eg: display:inline-block;

提交回复
热议问题