Template:Clear/doc: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) Created template documentation. |
Dat Hack3r (talk | contribs) m We don't use a section for this in this Wiki. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images. | This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images. | ||
* {{tlx|clear}} → | * {{tlx|clear}} → | ||
*: <code><div style="clear:both;"></div></code> | *: <code><div style="clear:both;"></div></code> | ||
| Line 12: | Line 11: | ||
<div style="border: 1px solid black; padding: 1em; margin: 2em;"> | <div style="border: 1px solid black; padding: 1em; margin: 2em;"> | ||
=== Example without {{tlx|clear}} === | === Example without {{tlx|clear}} === | ||
[[File:Placeholder.png| | [[File:Placeholder tall.png|200px|left]] | ||
{{Lorem ipsum}} | {{Lorem ipsum}} | ||
| Line 22: | Line 21: | ||
=== Example that uses {{tlx|clear}} === | === Example that uses {{tlx|clear}} === | ||
[[File:Placeholder.png| | [[File:Placeholder tall.png|200px|left]] | ||
{{Lorem ipsum}}<br/> | {{Lorem ipsum}}<br/> | ||
'''{{tnull|clear}}''' | '''{{tnull|clear}}''' | ||