Template:Clear/doc: Difference between revisions
Content added Content deleted
(+TR) |
(Merge from Template:-/doc) |
||
Line 1: | Line 1: | ||
{{doc/start}} |
{{doc/start}} |
||
This template adds <code><div style="clear:both;"></div></code> |
This template adds <code><div style="clear:both;"></div></code>, which allows you to clear the left side, the right side or both. |
||
{{tl|Clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. |
{{tl|Clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. |
||
To clear the left, simply put {{tlx|Clear|left}}. To clear the right, put {{tlx|Clear|right}}. To clear both sides, put {{tl|Clear}}. |
|||
<noinclude> |
<noinclude> |
Revision as of 02:10, 12 May 2021
This template adds <div style="clear:both;"></div>
, which allows you to clear the left side, the right side or both.
{{Clear}}
: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
To clear the left, simply put {{Clear|left}}
. To clear the right, put {{Clear|right}}
. To clear both sides, put {{Clear}}
.