
When specified on or propagated to an inline element, itĪffects all the boxes generated by that element, and is further To the text of an element using the element's color. This property describes decorations that are added Media: visual Computed value: as specified 'text-decoration' Value: none | | inherit Initial: none

Note: CSS may add a way to justify text with Its white space may be altered for the purpose of justification. 'pre-wrap', then neither the glyphs of that element's text content nor If an element has a computed value for 'white-space' of 'pre' or (See also 'letter-spacing' and 'word-spacing'.) The contents of inline boxes, else aligned as for the initial With both sides of the line box if possible, by expanding or contracting This property specifies that the inline-level boxes are to be made flush How the inline-level boxes within each line box align with respect to the lineīox's left and right sides alignment is not with respect to the viewport. In the case of 'left', 'right' and 'center', this property specifies Have the following meanings: left, right, center, justify Left, right, center, and justify text, respectively, as described in the section on inline formatting.īoxes. This property describes how inline-level content of a block Media: visual Computed value: the initial value or as specified 'text-align' Value: left | right | center | justify | inherit Initial: a nameless value that acts as 'left' if 'direction' is 'ltr', Whether such text that overflows the block is visible. If the value of 'text-indent' is either negative orĮxceeds the width of the block, that first box, described above, There may be implementation-specific limits. The value of 'text-indent' may be negative, but The indentation is a percentage of the containing Values have the following meanings: The indentation is a fixed length. For example, the first line of an anonymous block box is onlyĪffected if it is the first child of its parent element. 'Text-indent' only affects a line if it is the first formatted line of anĮlement. User agents must render this indentation as blank space.

Respect to the left (or right, for right-to-left layout) edge of the More precisely, it specifies the indentation of theįirst box that flows into the block's first line box. This property specifies the indentation of the first line of text Media: visual Computed value: the percentage as specified or the absolute length Percentages: refer to width of containing block 'text-indent' Value: | | inherit Initial: 0
