Template:Center

From Gobblerpedia
Revision as of 09:09, 13 October 2015 by imported>Mr. stradivarius (Changed protection level of Template:Center: Highly visible template: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

Template:High use A simple template to center-align content in tables and other places.

Example

Template:Markup

To do this without a template, simply use the following code:

<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">...</div>

To center a table, see Help:TABLECENTER.

Table

Using Template:Tld / Template:Tld / Template:Tld

Header text
Template:Left
Center
Template:Right

Using Template:Tld / Template:Tld / Template:Tld

Header text
Template:Align Template:Align Template:Align

See also