模板:Clear

来自康健生活
Kangkk​(留言 | 贡献)2020年3月2日 (一) 16:53的版本 (创建页面,内容为“<noinclude>{{Documentation}}</noinclude> <includeonly><div style="clear:{{{1|both}}};"></div></includeonly>”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
模板文档[查看] [编辑] [历史] [刷新]

Description

It makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.

Usage

  • {{clear}} — adds <div style="clear:both;"></div>
  • {{clear|left}} — adds <div style="clear:left;"></div>
  • {{clear|right}} — adds <div style="clear:right;"></div>

For technical details, see the discussion in the talk page.

Examples