The display: inline property prevents width from having an effect.
Try setting display to something other than inline.
----------------------------------
display: inline 不支持元素的 width 或 height 属性,若要元素 width 或 height 生效,必须讲元素设置为块状化:
display:block;
display:inline-block;
02-03
5290
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交