Template:Float center: Difference between revisions
Appearance
| [unchecked revision] | [unchecked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
margin-left: auto; margin-right: auto;<noinclude> |
margin-left: auto; margin-right: auto;<noinclude> |
||
{{Documentation|Template:Float |
{{Documentation|Template:Float right/doc}}</noinclude> |
||
Revision as of 18:54, 3 November 2020
margin-left: auto; margin-right: auto;
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
Usage
This template may be used in tables for the "style" parameter.
{| class="wikitable" {{float right|style=text-align: center}}
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{{float right|Right aligned Text}}
Right aligned Text
{| class="wikitable" {{float center|style=text-align: center}}
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{{float center|Center aligned Text}}
margin-left: auto; margin-right: auto;
{| class="wikitable" {{float left|style=text-align: center}}
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
{{float left|Left Text}}
Left Text
See also
- {{align}}
- {{center}}, {{right}} and {{left}}
- {{float center}}, {{float right}} and {{float left}}
- {{Image frame}}