Difference between revisions of "Template:Float right"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(update info)
imported>Calebgcooper
 
Line 1: Line 1:
 
float: right; margin-left: 1em; clear: right;<noinclude>
 
float: right; margin-left: 1em; clear: right;<noinclude>
{{Documentation
+
{{Documentation}}</noinclude>
| content =
 
This template may be used in tables for the "style" parameter.
 
 
 
For example:
 
<code><nowiki>{| style="{{float right}} width: 242px; border: #99B3FF solid 1px; text-align: center"</nowiki></code>
 
 
 
===See also===
 
* {{tl|clear}}
 
* {{tl|align}}
 
* {{tl|center}}, {{tl|right}} and {{tl|left}}
 
* {{tl|float center}}, {{tl|float right}} and {{tl|float left}}
 
* {{tl|Image frame}}
 
 
 
[[Category:Positioning templates]]
 
}}</noinclude>
 

Latest revision as of 18:51, 3 November 2020

float: right; margin-left: 1em; clear: right;

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