Please create an account or Login! Have fun!
Template:Clear: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div><noinclude> | <div style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div> | ||
< | <noinclude>This template adds <tt><div style="clear:both;"></div></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> |
Latest revision as of 18:17, 22 May 2019
This template adds <div style="clear:both;"></div>.
The nameless first parameter is optional; if specified, it should either be left or right. If it is set to left, then the template will add
<div style="clear:left;"></div>
Similarly, setting the first parameter to right will add:
<div style="clear:right;"></div>