6条回答 北海茫月 (楼主) 2020-12-08 22:01 This is where i found my answer. https://stackoverflow.com/a/15084576/1140407 This div will be centred. and to CSS: [class*="span"].centred { margin-left: auto; margin-right: auto; float: none; } 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
This is where i found my answer.
https://stackoverflow.com/a/15084576/1140407
This div will be centred.
and to CSS:
[class*="span"].centred { margin-left: auto; margin-right: auto; float: none; }