Forum

Methodology

Toolbox

Platform

Community

desktop
touch-pad
touch-phone

clearfix

This block provides a CSS class that implements the clearfix layout hack, also known as the Easy Clearing Method. The hack allows you to clear wrapping for elements with the CSS float property, without making any changes to the document's original HTML structure.

This block can be used as a container for elements with the float property, or mixed with such a container.

Example when used as a container:

Open in a new window

Mixed with a container block:

Open in a new window

Public block technologies

The block is implemented in:

  • css.