Search results
Results from the WOW.Com Content Network
This simple template vertically centers text, including multi-line wrapped text. It is meant to be used inside a div that defines the region the text is to appear to be in the middle of. It takes three unnamed parameters: The text to be vertically centered (the main parameter) An addendum to the style applied to the inner div container (styled ...
{{Vertical text|text}} where text (as unnamed parameter 1) is the string to be displayed vertically. An optional named parameter style may be used to specify additional CSS style attributes (e.g. font-size, color, etc). Note: These style attributes should be terminated with a semicolon and not enclosed in quotes (see examples below).
Note: Use {{Vertical align rows}} to align all rows at once. By default, text is aligned to the vertical middle of the cell (2nd column in table below). CSS can be used to vertically align individual cells, or single rows.
Note: For vertical alignment of text see: Help:Table#Vertical alignment in cells. If there is no global text alignment set in the top line of the table wikitext, then all text is left aligned, except for header cells which are default center aligned.
If the first text-word is too long, no text will fit to complete the left-hand side, so beware creating a "ragged left margin" when not enough space remains for text to fit alongside floating-tables. If multiple single image-tables are stacked, they will float to align across the page, depending on page-width.
This fixes a cosmetic issue with Internet Explorer where a wikilink followed immediately by an in-text cite may cause the link and cite to be underlined together; not supported by IE6 and IE7 /* Add a zero-width space before the in-text citation */ sup . reference : before { content : "\200B" ; text-decoration : none ; }
A simple template to center-align content in tables and other places. Be aware that the center class is applied to this template, which means every element within the template has its left and right margins set to auto. This may harm some templates. Template parameters [Edit template data] Parameter Description Type Status Content 1 Content to be centered Content required Custom CSS style ...
Comparison of template-linking templates according to the styles of generated text and link produced Text style ↓ {} options [note 1] to achieve text style Link style Linked Unlinked Linked with subst Unlinked with subst Linked including braces Linked with alternative text {} options [note 1] to achieve link style — DEFAULT nolink=yes