用“文本中心”类在div中包装Button。
只需更改此:
<!-- wrong --><div > <button id="singlebutton" name="singlebutton" >Next Step!</button></div>
对此:
<!-- correct --><div > <button id="singlebutton" name="singlebutton" >Next Step!</button> </div>
编辑
作为 BootstrapV4 ,
center-block滴入#19102赞成
m-*-auto
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)