Template:Clear: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
m (added templatedata) |
||
Line 8: | Line 8: | ||
*<code><nowiki>{{clear|left}}</nowiki></code> | *<code><nowiki>{{clear|left}}</nowiki></code> | ||
*<code><nowiki>{{clear|right}}</nowiki></code> | *<code><nowiki>{{clear|right}}</nowiki></code> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]<templatedata> | ||
{ | |||
"params": {}, | |||
"description": "This template creates a div containing the CSS \"clear\" property. It will cause content below it not to wrap around floating elements directly above it.\n" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 09:40, 25 September 2023
This template creates a div containing the CSS "clear" property. It will cause content below it not to wrap around floating elements directly above it.
Defaults to "clear:both" (affects any floating elements, regardless of which side they're on), but can be changed to "clear:left" (affects only left-floating elements) or "clear:right" (affects only right-floating elements).
- Syntax
{{clear}}
{{clear|left}}
{{clear|right}}
This template creates a div containing the CSS "clear" property. It will cause content below it not to wrap around floating elements directly above it.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |