Jump to content
Toggle menu
  • 799 articles
  • 4.8K files
  • 4 users
  • 64.6K edits
2b2t Uncensored
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Clear: Difference between revisions

Template page
m>Ruud Koot
{{hprotected}} -> {{protected template}}
m>CesarB
m /doc
Line 1: Line 1:
<div style="clear: both"></div><noinclude>
<div style="clear: both"></div><noinclude>{{protected template}}{{/doc}}</noinclude>
{{protected template}}
This template adds <tt>&lt;div style="clear: both"&gt;&lt;/div&gt;</tt>;
for technical XHTML details see [[Template talk:{{PAGENAME}}]].
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
[[vi:Tiêu bản:Clear]]
</noinclude>

Revision as of 16:22, 4 September 2006

Template:Protected template

Description
This template is a shorthand for <br style="clear: both;" />.
It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc.).
Syntax
{{clear}} clears both right and left content.
{{clear}} clears only left floating objects.
{{clear}} clears only right floating objects.
{{clear}} will not clear text after floating objects.
Other options
inherit and initial
See also
{{-}} and {{clr}} clear both like this template. They do not have options.
{{clrl}} clears left.
{{clrr}} clears right.