发布于 2011-12-03 02:43:25
也许你可以使用text-align:center
发布于 2011-12-03 02:43:49
text-align: center;
看起来你先弄明白了更复杂的部分,CSS让你很容易做到这一点。
发布于 2011-12-03 02:44:08
li {
background-color: #EEE;
font-size: 50px;
line-height: 42px;
font-family: Georgia, "Times New Roman", Times, serif;
list-style: none;
width: 48px;
height: 48px;
border-radius: 175px;
margin: 20px;
text-align: center;
}https://stackoverflow.com/questions/8361025
复制相似问题