Template:Float center: Difference between revisions
Jump to navigation
Jump to search
en>Calebgcooper No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 17:39, 8 November 2020
margin-left: auto; margin-right: auto;
Usage
This template may be used in tables for the "style" parameter.
{| class="wikitable" style="{{float right}} text-align: center;" ! Header 1 ! Header 2 |- | Cell 1 | Cell 2 |}
Header 1 | Header 2 |
---|---|
Cell 1 | Cell 2 |
{| class="wikitable" style="{{float center}} text-align: center;" ! Header 1 ! Header 2 |- | Cell 1 | Cell 2 |}
Header 1 | Header 2 |
---|---|
Cell 1 | Cell 2 |
{| class="wikitable" style="{{float left}} text-align: center;" ! Header 1 ! Header 2 |- | Cell 1 | Cell 2 |}
Header 1 | Header 2 |
---|---|
Cell 1 | Cell 2 |
See also
- {{align}}
- {{center}}, {{right}} and {{left}}
- {{float center}}, {{float right}} and {{float left}}
- {{Image frame}}