Jump to content

Template:Text-align/doc

From Wikipedia, the free encyclopedia

This template takes a single anonymous parameter with one or two characters or a keyword, which are mapped to supported values of the CSS text-align property[1]:

  • left: <, left, l and start, s because English is written left-to-right
  • right: >, right, r and end, e
  • justify: <>, justify, j, both, b
  • center: ><, center, c, none, n
  • auto: a, auto, default

The output is a full CSS rule usable in style attributes.