Actions

Template

Template:Clear

From Necroxia Origin

Revision as of 05:56, 4 August 2019 by Necroxia Staff (talk | contribs) (Página creada con «<noinclude> '''Usage:''' :<nowiki>{{Clear|</nowiki>''side''<nowiki>|height=</nowiki>''height''<nowiki>}}</nowiki><br /> '''Parameters:''' :<dl><dt>height</dt><dd>The height…»)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage:

{{Clear|side|height=height}}

Parameters:

height
The height of the div. Include units (e.g. 3em)
side
The side to clear. Possible values: left, right, both. Defaults to both.

What it does: Clears any floating elements with a div. div, being a block element will force a new line for the text or table following it. Can be used where tables overlap each other, to separate them instead of using a thousand line-breaks.