div設(shè)置字體樣式 用html編出來(lái)的表格怎么讓表格中的文字豎排?
用html編出來(lái)的表格怎么讓表格中的文字豎排?樣式表中有兩個(gè)重要屬性:書(shū)寫(xiě)模式和文本對(duì)齊。1寫(xiě)入模式語(yǔ)法:Writing mode:LR TB,TB RL參數(shù):LR TB:from left to r
用html編出來(lái)的表格怎么讓表格中的文字豎排?
樣式表中有兩個(gè)重要屬性:書(shū)寫(xiě)模式和文本對(duì)齊。1寫(xiě)入模式
語(yǔ)法:Writing mode:LR TB,TB RL
參數(shù):LR TB:from left to right,from top to bottom,TB RL:from top to bottom,from right to left
示例:div{Writing mode:TB RL}
2。Text align
語(yǔ)法:Text align:Left,right,center,justify
參數(shù):Left:align Left:align right:align right:align center:align center:align both ends
示例:div{Text align:center}