css居中

1、一行文字居中:

  

2、多行文字居中:

  

  

 3、字块在网页行内居中:

  

  或:

  

  或:

4、字块在网页中心:

   

  

原文地址:https://www.cnblogs.com/yz9110/p/8629266.html