Template:Clear: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
OneWeirdDude (talk | contribs) m Fixed punctutation. |
move onlyinclude to noinclude |
||
(40 intermediate revisions by 27 users not shown) | |||
Line 1: | Line 1: | ||
<div style="clear: |
<div style="clear:{{{1|both}}};"></div><noinclude>{{documentation}}</noinclude> |
||
This template adds <tt><div style="clear: both"></div></tt>; |
|||
for technical XHTML details see [[Template talk:{{PAGENAME}}]]. |
|||
[[Category:Wikipedia special effects templates|{{PAGENAME}}]] </noinclude> |
Latest revision as of 18:59, 14 April 2018
Usage
This template can be used to clear the HTML-Properties. For example, {{clear}}
results in <div style="clear:both;"></div>
.
You can use the parameter 1
to clear only a specific aspect. Possible values are:
both
(default)right
left
none
(same as without template, so do not use)
The above documentation is transcluded from Template:Clear/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |