Search results
Results from the WOW.Com Content Network
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 ...
Note: This method is a hack which does not work with all Wikipedia skins. For example, users of the Classic skin will have the links at the top of the page covered up by the title.
By default, text is aligned to the left of data cells. By default, text is aligned to the center of header cells. All of the above is true in both desktop and mobile view.
text-align: center Caption font-weight: bold text-align: center: left Row border: 1px #aaa solid: border-bottom: 1px solid #EEE border-bottom last-child: none padding: 0.3em 0.4em: 0.2em Cell border: 1px #aaa solid border-bottom: 1px solid #EEE border-right: 1px solid #EEE border-right last-child: none padding: 0.3em 0.4em: 0.2em
Align all table cells left by default defaultcenter: Align all table cells center by default defaultright: Align all table cells right by default colNleft: Align the cells in column N left, where N is a number colNcenter: Align the cells in column N center, where N is a number colNright: Align the cells in column N right, where N is a number
horizontal align: align: text alignment inside the cell, either 'left', 'right', 'center' or 'justified' Suggested values left center right justified Default center: String: optional: style: style: a semicolon-separated list of additional CSS rules to be applied to the table cell. Default (template dependent) String: optional: background color ...
Note: If you trying to align a table column (left, center, or right) use Template:Table alignment. This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:
text color: text color: The color of the text. Default black Example green: Unknown: optional: text align: text align: The alignment of the text (css text-align) Default left Example center: Unknown: optional: spacing: spacing: The spacing of the letters. Unknown: optional: font: font: The font of the text. Unknown: optional: font size: font ...