2.1.95 [CSS-Level2-2009] Section 16.1, Indentation: the 'text-indent' property


The specification states:

 Value:                 <length> | <percentage> | inherit
 Initial:               0
 Applies to:            block containersInherited:             yes
 Percentages:           refer to width of containing block
 Media:                 visual
 Computed value:        the percentage as specified or the absolute length

Quirks Mode and IE7 Mode (All Versions)

The text-indent property is applied to the following elements:

  • display:inline

  • display:table-column

  • display:table-column-group


The specification states:

 The value of 'text-indent' may be negative, but there may be implementation-
 specific limits. If the value of 'text-indent' is either negative or exceeds the 
 width of the block, that first box, described above, can overflow the block. The 
 value of 'overflow' will affect whether such text that overflows the block is 

IE7 Mode (All Versions)

Negative percentages are not supported.