Template:-/Documentation

Template page
Revision as of 23:33, 7 February 2022 by Flagrama (talk | contribs) (clearfix doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically.

Usage

{{-}}

or

{{-
|left, right, or both (default: both)
}}

Example

Header 1

This is a floating element.

Normally Header 2 would start immediately below this text, which would look very ugly.

Header 2

With the clearing element between Header 1 and Header 2, the two headers are separated from each other.