home HTML XML DTD CSS Visual Filter JavaScript Java ASP SSI .NET  
CSS Reference >
Suggested Reading

Text properties


tag/attrib/value description
word-spacing: 1---3  Spacing-correction between words
[ normal | 1---3 
Length | 1---3 
inherit ] 2---- 
letter-spacing: 14--3  Spacing-correction between text characters
[ normal | 14--3 
Length | 14--3 
inherit ] 2---- 
text-decoration: 13 43  Text decoration
[ none | 13 43 
[ underline || 13 43 
line-through || 13 43 
overline || 14 -3 
blink ] | 1- -- 
inherit ] 2- -- 
vertical-align: 14 43  Vertical box aligning
[ baseline | 14 43 
sub | 14 -3 
super | 14 -3 
top | 14 43 
text-top | 14 43 
middle | 14 43 
bottom | 14 43 
text-bottom | 14 43 
Percentage | 1- -3 
Length | 2- -3 
inherit ] 2- -- 
text-transform: 14 43  Text capitalization
[ capitalize | 14 43 
uppercase | 14 43 
lowercase | 14 43 
none | 14 43 
inherit ] 2- -- 
text-align: 13 43  Horizontal text alignment
[ left | 13 43 
right | 13 43 
center | 13 43 
justify | 14 43 
String | 2- -- 
inherit ] 2- -- 
text-indent: 13 43  Indention of first line
[ Length | 13 43 
Percentage | 13 43 
inherit ] 2- -- 
line-height: 13 43  Height of text lines
[ normal | 13 43  Normal line height
n | 14 43  Line height multiplicator
Length | 13 43  Set line height
Percentage | 13 43  Relative line height
inherit ] 2- -- 
text-shadow: 2----  Text shading
[ none | 2----  No shadow
[ Color || 2----  Shadow color
Length{2} 2----  Shadow offset
Length? ] [ , ... ]* | 2----  Blur radius
inherit ] 2---- 
word-wrap -5.5--- 
normal -5.5--- 
break-word -5.5--- 
text-underline-position -5.5--- 
below -5.5--- 
above -5.5--- 
ruby-align -5.0--- 
auto -5.0--- 
left -5.0--- 
center -5.0--- 
right -5.0--- 
distribute-letter -5.0--- 
distribute-space -5.0--- 
line-edge -5.0--- 
ruby-overhang -5.0--- 
auto -5.0--- 
none -5.0--- 
whitespace -5.0--- 
ruby-position -5.0--- 
above -5.0--- 
inline -5.0--- 
line-break -5.0--- 
normal -5.0--- 
strict -5.0--- 
word-break -5.0--- 
normal -5.0--- 
break-all -5.0--- 
keep-all -5.0--- 
writing-mode -5.5--- 
lr-tb -5.5--- 
tb-rl -5.5--- 
ime-mode -5.0--- 
auto -5.0--- 
active -5.0--- 
inactive -5.0--- 
deactivated -5.0--- 
text-justify -5.5--- 
auto -5.5--- 
distribute -5.5--- 
distribute-all-lines -5.5--- 
inter-cluster -5.5--- 
inter-ideograph -5.5--- 
inter-word -5.5--- 
newspaper -5.5--- 
layout-grid -5.0--- 
layout-grid-mode -5.0--- 
layout-grid-type -5.0--- 
layout-grid-line -5.0--- 
layout-grid-char -5.0--- 
layout-grid-char-spacing -5.0--- 
layout-grid-mode -5.0--- 
both -5.0--- 
none -5.0--- 
line -5.0--- 
char -5.0--- 
layout-grid-type -5.0--- 
loose -5.0--- 
strict -5.0--- 
fixed -5.0--- 
layout-grid-line -5.0--- 
none -5.0--- 
auto -5.0--- 
Length -5.0--- 
Percentage -5.0--- 
layout-grid-char -5.0--- 
none -5.0--- 
auto -5.0--- 
Length -5.0--- 
Percentage -5.0--- 
layout-grid-char-spacing -5.0--- 
auto -5.0--- 
Length -5.0--- 
Percentage -5.0---