标签:one char utf-8 span nbsp div add har none
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>田字格布局</title> <style> *{ margin:0; padding:0; } ul{ margin:0 auto; border:1px solid red; width:1000px; padding-left:10px; } li{ list-style:none; height:500px; float:left; width:490px; margin-left:-10px; border:10px solid red; text-align: center; line-height: 500px; font-size: 50px; } </style> </head> <body> <ul> <li>爱</li> <li>我</li> <li>中</li> <li>华</li> </ul> </body> </html>
标签:one char utf-8 span nbsp div add har none
原文地址:http://www.cnblogs.com/shuaihan/p/7368431.html