Template:Clear: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Taken from Wikipedia.)
 
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="clear: both"></div>
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude>
Inserts a <tt>clear: both</tt> 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. <tt><nowiki>{{clear|left}}</nowiki></tt>.
 
[[Category:Layout templates]]</noinclude>

Latest revision as of 04:17, 24 January 2024

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}}.