css文本

CSS 文本属性

属性 描述 IE F N W3C
color 设置文本颜色。 color 3 1 4 1
direction 设置文本方向。
  • ltr
  • rtl
6 1 6 2
letter-spacing 设置字符间距。
  • normal
  • length
4 1 6 1
text-align 对齐元素中的文本。
  • left
  • right
  • center
  • justify
4 1 4 1
text-decoration 向文本添加修饰。
  • none
  • underline
  • overline
  • line-through
  • blink
4 1 4 1
text-indent 缩进元素中文本的首行。
  • length
  • %
4 1 4 1
text-shadow  
  • none
  • color
  • length
       
text-transform 控制元素中的字母。
  • none
  • capitalize
  • uppercase
  • lowercase
4 1 4 1
unicode-bidi 设置文本方向。
  • normal
  • embed
  • bidi-override
5     2
white-space 设设置元素中空白的处理方式。
  • normal
  • pre
  • nowrap
5 1 4 1
word-spacing 设置字间距。
  • normal
  • length
6 1 6 1
posted @ 2009-03-19 09:20  zxlin25  阅读(105)  评论(0编辑  收藏  举报