Difference between revisions of "Template:Float left"

From blackwiki
Jump to navigation Jump to search
imported>Thayts
imported>Calebgcooper
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
float: left; margin-right: 1em;<noinclude>
 
float: left; margin-right: 1em;<noinclude>
 
+
{{Documentation|Template:Float right/doc}}</noinclude>
{{Documentation
 
| content =
 
This template may be used in tables for the "style" parameter.
 
 
 
===See also===
 
*{{tl|Float right}}
 
*{{tl|Left}}
 
 
 
[[Category:Positioning templates]]
 
}}<!--(end Documentation)-->
 
</noinclude>
 

Latest revision as of 18:53, 3 November 2020

float: left; margin-right: 1em;

50px Template documentation[view] [edit] [history] [purge]

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