Template:Clear

From "PTTLink Wiki"
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Clear/doc.

This template clears floating elements, that is, it inserts as much space as needed so that the content after this template is below all floating elements (or elements floating to a given side of the page, if a side is specified).

Usage

{{Clear |1= }}

Or use the shorthand {{Clr}}

Code: <div style="clear:both"></div>

Template parameters

This template clears floating elements, that is, it inserts as much space as needed so that the content after this template is below all floating elements (or elements floating to a given side of the page, if a side is specified).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
side1

Which side to clear on: “left”, “right” or “both”

Default
both
Lineoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

⧼Seealso⧽

Localization

This template is not intended to be localized.