這時候可以加上 position: inline-block; 讓block-level element 也擁有inline的特性,就可以達成水平置中的效果。 水平置中方法: text-align: center; ...
確定! 回上一頁