Difference between revisions of "Template:Clear"
m (one </nowiki> was redundant) |
(Added category) |
||
Line 7: | Line 7: | ||
* <nowiki>{{clear|left}}</nowiki> — adds <code><div style="clear:left;"></div></code> | * <nowiki>{{clear|left}}</nowiki> — adds <code><div style="clear:left;"></div></code> | ||
* <nowiki>{{clear|right}}</nowiki> — adds <code><div style="clear:right;"></div></code> | * <nowiki>{{clear|right}}</nowiki> — adds <code><div style="clear:right;"></div></code> | ||
+ | |||
+ | [[Category: Wiki Templates]]</noinclude> |
Latest revision as of 22:00, 26 April 2024
Description
It makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.
Usage
- {{clear}} — adds
<div style="clear:both;"></div>
- {{clear|left}} — adds
<div style="clear:left;"></div>
- {{clear|right}} — adds
<div style="clear:right;"></div>