{"name":"clear","description":"This property indicates which sides of an element's box(es) may not be adjacent to an earlier floating box.","keywords":["css","property","clear"],"longDescription":"<p>The <code>clear<\/code> property does not consider floats inside the element itself or in other block formatting contexts.<\/p>\n<p>Values other than <code>none<\/code> potentially introduce clearance. Clearance inhibits margin collapsing and acts as spacing above the margin-top of an element. It is used to push the element vertically past the float.<\/p>\n","syntax":["clear: none | left | right | both;"],"defaultValue":"none","values":{"none":{"description":"No constraint on the box's position with respect to floats."},"left":{"description":"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},"right":{"description":"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."},"both":{"description":"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."}},"versions":{"doc1":"http:\/\/www.w3.org\/TR\/CSS1\/#clear","doc2":"http:\/\/www.w3.org\/TR\/CSS2\/visuren.html#propdef-clear","doc21":"http:\/\/www.w3.org\/TR\/CSS21\/visuren.html#propdef-clear","doc3":"http:\/\/www.w3.org\/TR\/css3-box\/#clear"}}