Tuesday 20 May 2014

CSS Text Properties

Property

Description
Valu
CSS Version
Sets the color of text
color
1
Specifies the text direction/writing direction
Ltr
rtl
2
Increases or decreases the space between characters in a text
Normal
Length

1
Sets the line height
Normal
Number
Length
%
1
Specifies the horizontal alignment of text
Left
Right
Center
justify
1
Specifies the indentation of the first line in a text-block
Length
%
1
Controls the capitalization of text
None
Capitalize
Uppercase
lowercase
1
Used together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document
Normal
Embed
Bidi-override
2

Sets the vertical alignment of an element
Baseline
Sub
Super
Top
Text-top
Middle
Bottom
Text-bottom
Length
%
1
Specifies how white-space inside an element is handled
Normal
Pre
nowrap
1
Increases or decreases the space between words in a text
Normal
length
1
Specifies whether a punctuation character may be placed outside the line box

3
Specifies whether a punctuation character should be trimmed

3
text-align-last
Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"

3

Specifies the justification method used when text-align is "justify"

3
Specifies a text outline

3
Specifies what should happen when text overflows the containing element

3
Specifies the decoration added to text
None
Underline
Overline
Line-through
blink
1



1 comment: