Template:Clear: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(can't figure out Template:NoWiki yet - so going with nowiki)
m (Updating with clear template from GLAM: http://meta.wikimedia.org/wiki/Template:Clear)
 
Line 1: Line 1:
<div style="clear:both"></div><noinclude>This template addresses spacing issues between sections or blocks of text. Often, an image will jut down into the next section, especially on smaller monitors; this template, if placed at the bottom of the section, forces the next section down a little, adding some white space.
<div style="clear:both;"></div><noinclude>
==Usage==
<pre>{{clear}}</pre>


; <nowiki>{{Clear}}</nowiki>
This template adds a break, pushing following content to the next line below nearby floating images or templates.
 
==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 14:45, 14 March 2012

Usage

{{clear}}

This template adds a break, pushing following content to the next line below nearby floating images or templates.

See also