設置字體和文本樣式

1.定義文本對齊

text-align:  left |  right  |  center  |  justufy

2.定義垂直對齊

vertical-align :auto  |  baseline  |  sub  |super  |top  |test-top  |  middle  |  bottom  |text-bottom  |  length

3.定義字距和詞距

letter-spacing:1em;

word-spacing:1em;

4.定義行高

line-height:1em;

5.定義縮進

text-indent:length


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章