Text

This section describes Cascading Style Sheets (CSS) features related to text.

In this section

PropertyDescription

letter-spacing

Specifies the amount of additional space between letters in the object.

line-break

Specifies line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean.

-ms-block-progression

Specifies the block progression and layout orientation.

-ms-hyphenate-limit-chars

Specifies one to three values that indicates the minimum number of characters in a hyphenated word.

-ms-hyphenate-limit-lines

Specifies a value that indicates the maximum number of consecutive lines in an element that may be ended with a hyphenated word.

-ms-hyphenate-limit-zone

Specifies a value that defines the width of the hyphenation zone.

-ms-hyphens

Specifies a value that indicates whether additional break opportunities for the current line are created by hyphenating individual words within the line.

-ms-ime-mode

Specifies the state of an Input Method Editor (IME).

-ms-layout-flow

Specifies the direction and flow of the content in the object.

-ms-layout-grid

Specifies the composite document grid properties that specify the layout of text characters.

-ms-layout-grid-char

Specifies the size of the character grid used for rendering the text content of an element.

-ms-layout-grid-line

Specifies the gridline value used for rendering the text content of an element.

-ms-layout-grid-mode

Specifies whether the text layout grid uses two dimensions.

-ms-layout-grid-type

Specifies the type of grid used for rendering the text content of an element.

-ms-text-align-last

Specifies a value that indicates how to align the last line or only line of text in the specified object.

-ms-text-autospace

Specifies the autospacing and narrow space width adjustment of text.

text-justify

Specifies the type of alignment used to justify text in the object.

-ms-text-kashida-space

Deprecated. Specifies the ratio of kashida expansion to white space expansion when justifying lines of text in the object.

-ms-text-size-adjust

Adjusts the text size on a webpage on IE for Windows Phone.

text-overflow

Specifies a value that indicates whether to render ellipses (...) to indicate text overflow.

-ms-text-underline-position

Specifies the position of the underline decoration that is set through the text-decoration property of the object.

word-break

Specifies line-breaking behavior within words, particularly where multiple languages appear in the object.

word-wrap

Specifies whether to break words when the content exceeds the boundaries of its container.

text-align

Specifies whether the text in the object is left-aligned, right-aligned, centered, or justified.

text-decoration

Specifies a value that indicates whether the text in the object has blink, line-through, overline, or underline decorations.

text-indent

Specifies the indentation of the first line of text in the object.

This property is not supported for Windows Store apps using JavaScript.

text-shadow

Specifies a comma-separated list of shadows that attaches one or more drop shadows to the specified text.

text-transform

Specifies the rendering of the text in the object.

white-space

Specifies a value that indicates whether lines are automatically broken inside the object.

word-spacing

Specifies the amount of additional space between words in the object.

 

 

 

Show:
© 2014 Microsoft