Vorlage:Center: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
(Die Seite wurde neu angelegt: „<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;">{{{1}}}</div></includeonly><noinclude> {{documentation}} </noinclude>“) |
(kein Unterschied)
|
Aktuelle Version vom 25. September 2014, 08:54 Uhr
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}}
| The above documentation is transcluded from Vorlage:Center/doc. (edit | history) Please add categories to the /doc subpage. Subpages of this template. |