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: 1 4 - - 3   Spacing-correction between text characters
[ normal | 1 4 - - 3  
Length | 1 4 - - 3  
inherit ] 2 - - - -  
text-decoration: 1 3   4 3   Text decoration
[ none | 1 3   4 3  
[ underline || 1 3   4 3  
line-through || 1 3   4 3  
overline || 1 4   - 3  
blink ] | 1 -   - -  
inherit ] 2 -   - -  
vertical-align: 1 4   4 3   Vertical box aligning
[ baseline | 1 4   4 3  
sub | 1 4   - 3  
super | 1 4   - 3  
top | 1 4   4 3  
text-top | 1 4   4 3  
middle | 1 4   4 3  
bottom | 1 4   4 3  
text-bottom | 1 4   4 3  
Percentage | 1 -   - 3  
Length | 2 -   - 3  
inherit ] 2 -   - -  
text-transform: 1 4   4 3   Text capitalization
[ capitalize | 1 4   4 3  
uppercase | 1 4   4 3  
lowercase | 1 4   4 3  
none | 1 4   4 3  
inherit ] 2 -   - -  
text-align: 1 3   4 3   Horizontal text alignment
[ left | 1 3   4 3  
right | 1 3   4 3  
center | 1 3   4 3  
justify | 1 4   4 3  
String | 2 -   - -  
inherit ] 2 -   - -  
text-indent: 1 3   4 3   Indention of first line
[ Length | 1 3   4 3  
Percentage | 1 3   4 3  
inherit ] 2 -   - -  
line-height: 1 3   4 3   Height of text lines
[ normal | 1 3   4 3   Normal line height
n | 1 4   4 3   Line height multiplicator
Length | 1 3   4 3   Set line height
Percentage | 1 3   4 3   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 - - -