摘要: CSS调整行间距line-height行与行之间的距离最常用的称呼是行间距,CSS中的行高line-height简直是上帝发给人间的福音。利用CSS行高我们可以随心所欲地控制行与行之间的垂直距离。行间距line-height使用方法:B { line-height: 16pt }line-height后面的内容可能是:数字长度单位比例用数字设行距实例就是:B { line-height: 2 }B { line-height: 16pt }B { line-height: 120% }B { line-height: 1.2em}CSS的行间距定义是:line-height:18px;上面代码 阅读全文
posted @ 2012-12-13 10:29 程序员-初学者 阅读(713) 评论(0) 推荐(0) 编辑
摘要: Css字间距调整汉字间字间距设置:letter-spacing英文间字间距设置:word-spacing:H3 { word-spacing: 1em }参数:in (英寸)cm (厘米)mm (毫米)pt (点数)pc (打字机字间距)em (ems)ex (x-height)px (象素) 阅读全文
posted @ 2012-12-13 10:26 程序员-初学者 阅读(421) 评论(0) 推荐(0) 编辑