Difference between revisions of "Template:Clear"

From RRU Knowledge Base
Line 2: Line 2:
<noinclude>
<noinclude>
== Usage instructions ==
== Usage instructions ==
This template inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.<br> You can set the first parameter to ''left'' or ''right'' to only have it clear that side, e.g. <tt><nowiki>{{clear|left}}</nowiki></tt>.
This template inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.<br> You can set the first parameter to ''left'' or ''right'' to only have it clear that side, e.g. <tt><nowiki>{{clear|left}}</nowiki></tt>. If left blank, it will clear both.
[[Category:Utility templates]]</noinclude>
[[Category:Utility templates]]</noinclude>

Revision as of 06:29, 19 August 2017


Usage instructions

This template inserts a clear: both block. Useful for getting below images in pages.
You can set the first parameter to left or right to only have it clear that side, e.g. {{clear|left}}. If left blank, it will clear both.