1.文本装饰属性
text_decoration
取值:td text-decoration: none;
tdu text-decoration: underline;//下划线
tdl text-decoration: line-through; //删除线
tdo text-decoration: overline; //上划线
2.文本水平对齐的属性
text-align
取值:left center right
3.文字缩进的属性
text-indent
取值:2em
一个em代表缩进一个文字的宽度
text-indent:2em
网友评论