Difference between revisions of "Template:Clear"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Willscrlt
(Updated to match current en.wiki version)
imported>Nyttend
m (Changed protection level of Template:Clear: Enable access by template editors; NeilN is okay with this move ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div style="clear:both;"></div><noinclude>
+
<div style="clear:{{{1|both}}};"></div><noinclude>
 
+
{{documentation}}
----
 
This template outputs <code>&lt;div style="clear:both;"&gt;&lt;/div&gt;</code>, which causes a break to be added between two objects. If there is an image, infobox, or other item floating to the left of the right, the break will extend to the bottom of the floated item. In other words, it will expand until the space is clear on both the left and the right.
 
 
 
 
 
== See also ==
 
* {{tl|clearleft}} delays content until left column is complete.
 
* {{tl|clearright}} delays content until right column is complete.
 
* {{tl|-}} is similar, but technically different.
 
*: ''The finer points of {{Tl|clear}} vs. {{Tl|-}} are discussed in [[w:Template talk:-#- versus clear|w:Template talk:-]] and [[w:Template talk:Clear]].''
 
 
 
 
 
[[Category:Typing-aid templates|{{PAGENAME}}]]
 
[[Category:Formatting templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:53, 5 October 2015

Template documentation[create]