Template:Clear: Difference between revisions
From Ymirheim Wiki
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
[[Category:Formatting Templates]] | [[Category:Formatting Templates{{#translation:}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:31, 8 July 2024
Clears DOM element flow previously affected by blocks with float: left;
or float: right;
(or both) styles. It makes any following blocks appear under the floating blocks, not beside them.
Examples
{{Clear}}
{{Clear|left}}
[[File:Shelphy Adriana.png|thumb|A block with <code>float: right;</code>]] A text before the clear. {{Clear|right}} A text after the clear.
A text before the clear.
A text after the clear.