Please create an account or Login! Have fun!

Template:Clear: Difference between revisions

Jump to navigation Jump to search
370 bytes added ,  22 May 2019
m
no edit summary
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<div style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div><noinclude>{{/doc}}</noinclude>
<div style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div>
<noinclude>[[Category:Formatting templates]]</noinclude>
<noinclude>This template adds <tt>&lt;div style="clear:both;"&gt;&lt;/div&gt;</tt>.
 
The nameless first parameter is optional; if specified, it should either be <tt>left</tt> or <tt>right</tt>. If it is set to <tt>left</tt>, then the template will add
<pre>
<div style="clear:left;"></div>
</pre>
Similarly, setting the first parameter to <tt>right</tt> will add:
<pre>
<div style="clear:right;"></div>
</pre>
 
[[Category:Formatting templates]]
</noinclude>
trusted-editors
9,522

edits

Navigation menu