标签:style http ar sp html on c ad htm
word-spacing 只能作用于英文的单词与单词间,对于中文无效
letter-spacing 可以作用于中文。
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <style type="text/css"> p.spread {letter-spacing: 30px;} </style> </head> <body> <p class="spread">This is some text.哈哈哈哈哈哈哈</p> <p class="tight">This is some text.This is some text.</p> </body> </html>
css word-spacing letter-spacing
标签:style http ar sp html on c ad htm
原文地址:http://my.oschina.net/u/234018/blog/311942