Difference between revisions of "Clear/Documentation"

m (Categorized)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
Affects elements with the CSS property <code>float</code>.
 
Affects elements with the CSS property <code>float</code>.
 
==Usage==
 
==Usage==
<pre>
+
{{T|Clear}}<br>
{{Clear}}
+
{{T|Clear|left}}<br>
{{Clear|left}}
+
{{T|Clear|right}}
{{Clear|right}}
+
 
</pre>
 
 
==Parameters==
 
==Parameters==
 
{{parameter|side|The side of the screen on which the content is located.|both}}
 
{{parameter|side|The side of the screen on which the content is located.|both}}
 +
<includeonly>[[Category:General Wiki Templates]]</includeonly>

Latest revision as of 18:25, 19 August 2023

Description[edit]

Content following the template will not be displayed until the existing content on the specified sides is displayed completely. Often used to ensure that text does not flow around unrelated images.
Affects elements with the CSS property float.

Usage[edit]

{{Clear}}
{{Clear|<left>}}
{{Clear|<right>}}

Parameters[edit]

Arrow.pngside: The side of the screen on which the content is located.
Optional. Defaults to 'both'.