9 out of 16 rated this helpful - Rate this topic

Text

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

In this section

PropertyDescription

letter-spacing

Sets or retrieves the amount of additional space between letters in the object.

line-break

Deprecated. Gets or sets line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean.

-ms-block-progression

Sets or retrieves the block progression and layout orientation.

-ms-hyphenate-limit-chars

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

-ms-hyphenate-limit-lines

Gets or sets 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

Gets or sets a value that defines the width of the hyphenation zone.

-ms-hyphens

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

-ms-ime-mode

Sets or retrieves the state of an Input Method Editor (IME).

-ms-layout-flow

Sets or retrieves the direction and flow of the content in the object.

-ms-layout-grid

Sets or retrieves the composite document grid properties that specify the layout of text characters.

-ms-layout-grid-char

Sets or retrieves the size of the character grid used for rendering the text content of an element.

-ms-layout-grid-line

Sets or retrieves the gridline value used for rendering the text content of an element.

-ms-layout-grid-mode

Gets or sets whether the text layout grid uses two dimensions.

-ms-layout-grid-type

Sets or retrieves the type of grid used for rendering the text content of an element.

-ms-text-align-last

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

-ms-text-autospace

Sets or retrieves the autospacing and narrow space width adjustment of text.

-ms-text-justify

Sets or retrieves the type of alignment used to justify text in the object.

-ms-text-kashida-space

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

-ms-text-overflow

Sets or retrieves a value that indicates whether to render ellipses (...) to indicate text overflow.Sets or retrieves a value that indicates whether to render ellipses (...) to indicate text overflow.

-ms-text-underline-position

Sets or retrieves the position of the underline decoration that is set through the text-decoration property of the object.

-ms-word-break

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

-ms-word-wrap

Sets or retrieves whether to break words when the content exceeds the boundaries of its container.

text-align

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

text-decoration

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

text-indent

Sets or retrieves the indentation of the first line of text in the object.

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

text-shadow

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

text-transform

Sets or retrieves the rendering of the text in the object.

white-space

Sets or retrieves a value that indicates whether lines are automatically broken inside the object.

word-spacing

Sets or retrieves the amount of additional space between words in the object.

 

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.