Vorlage:Center/doc
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
This is a documentation subpage for Vorlage:Center. It contains usage information, categories and other content that is not part of the original vorlage page. |
A simple template to center-align content in tables and other places.
Example
Markup | Renders as |
---|---|
{{Center|Hello world!}} |
Hello world!
|
To do this without a template, simply use the following code:
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">your text</div>
Table
Header text | ||
---|---|---|
{{align|left|text}} |
Center |
{{align|right|text}} |
See also
- {{align}}