I am sure this problem has been asked before but I cannot seem to find the answer.
I have the following markup:
5条回答 庸人自扰 (楼主) 2020-12-13 12:34 almost there, just change outerWidth: 100%; to width: auto; (outerWidth is not a CSS property) alternatively, apply the following styles to bar: width: auto; display: block; 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
almost there, just change outerWidth: 100%; to width: auto; (outerWidth is not a CSS property)
outerWidth: 100%;
width: auto;
alternatively, apply the following styles to bar:
width: auto; display: block;