<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/css/tags/float</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 10:47:04 GMT</pubDate>
<item>
<title>(CSS) Best Method for Clearing Floats - Huskie</title>
<link>http://snipplr.com/view/62371/best-method-for-clearing-floats/</link>
<description><![CDATA[ <p>In my opinion, this is the best cross-browser method of clearing floated elements in a container. Remember to add .clear-fix{zoom:1;} to an IE specific stylesheet, otherwise IE 7 will complain.</p> ]]></description>
<pubDate>Sat, 07 Jan 2012 00:59:43 GMT</pubDate>
<guid>http://snipplr.com/view/62371/best-method-for-clearing-floats/</guid>
</item>
<item>
<title>(CSS) CSS Layouts - Percent Based - digitalzoomstudio</title>
<link>http://snipplr.com/view/57740/css-layouts--percent-based/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 11 Aug 2011 07:03:32 GMT</pubDate>
<guid>http://snipplr.com/view/57740/css-layouts--percent-based/</guid>
</item>
<item>
<title>(CSS) Clearing a Float without Source Markup - xcsteve99</title>
<link>http://snipplr.com/view/57130/clearing-a-float-without-source-markup/</link>
<description><![CDATA[ <p>just add a class of .clearfix to any element containing a float needing to be cleared</p> ]]></description>
<pubDate>Tue, 26 Jul 2011 02:01:41 GMT</pubDate>
<guid>http://snipplr.com/view/57130/clearing-a-float-without-source-markup/</guid>
</item>
<item>
<title>(CSS) CSS - Float Fix / Overflow Fix - clearfix / overflowfix - kreatific</title>
<link>http://snipplr.com/view/55768/css--float-fix--overflow-fix--clearfix--overflowfix/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 27 Jun 2011 14:31:37 GMT</pubDate>
<guid>http://snipplr.com/view/55768/css--float-fix--overflow-fix--clearfix--overflowfix/</guid>
</item>
<item>
<title>(CSS) Center horizontal float menu - spcmnk7</title>
<link>http://snipplr.com/view/54264/center-horizontal-float-menu/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 May 2011 19:36:49 GMT</pubDate>
<guid>http://snipplr.com/view/54264/center-horizontal-float-menu/</guid>
</item>
<item>
<title>(CSS) CSS Multiple Floating - f3webdesign</title>
<link>http://snipplr.com/view/51437/css-multiple-floating/</link>
<description><![CDATA[ <p>Multiple CSS floating of DIV's tags</p> ]]></description>
<pubDate>Fri, 01 Apr 2011 23:17:21 GMT</pubDate>
<guid>http://snipplr.com/view/51437/css-multiple-floating/</guid>
</item>
<item>
<title>(CSS) CSS Clearfix - 1man</title>
<link>http://snipplr.com/view/50587/css-clearfix/</link>
<description><![CDATA[ <p>CSS clearfix without using overflow: hidden.</p> ]]></description>
<pubDate>Sat, 12 Mar 2011 20:50:34 GMT</pubDate>
<guid>http://snipplr.com/view/50587/css-clearfix/</guid>
</item>
<item>
<title>(CSS) Clearing a float container (:after method) - lamebollock</title>
<link>http://snipplr.com/view/47022/clearing-a-float-container-after-method/</link>
<description><![CDATA[ <p>When a float is contained within a container box that has a visible border or background, that float does not automatically force the container's bottom edge down as the float is made taller. Instead the float is ignored by the container and will hang down out of the container bottom like a flag. Those familiar only with Explorer for Windows may scratch their heads and say "That's not right!" True, IE/Win does enclose a float within a container 'automatically', but only if the container element happens to possess the MS-only quality called hasLayout.

This site has other methods of achieving the same effect, [http://blogs.sitepoint.com/2005/02/26/simple-clearing-of-floats/](http://blogs.sitepoint.com/2005/02/26/simple-clearing-of-floats//) , depends on your scenario.</p> ]]></description>
<pubDate>Thu, 13 Jan 2011 03:38:11 GMT</pubDate>
<guid>http://snipplr.com/view/47022/clearing-a-float-container-after-method/</guid>
</item>
<item>
<title>(CSS) Clearfix - shodan_uk</title>
<link>http://snipplr.com/view/46867/clearfix/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Jan 2011 22:11:05 GMT</pubDate>
<guid>http://snipplr.com/view/46867/clearfix/</guid>
</item>
<item>
<title>(CSS) Clearing a float container - lamebollock</title>
<link>http://snipplr.com/view/45363/clearing-a-float-container/</link>
<description><![CDATA[ <p>No need for markup</p> ]]></description>
<pubDate>Tue, 07 Dec 2010 01:38:37 GMT</pubDate>
<guid>http://snipplr.com/view/45363/clearing-a-float-container/</guid>
</item>
<item>
<title>(CSS) Stop Text Wrapping Beneath A Floated Left Element - Meander365</title>
<link>http://snipplr.com/view/38849/stop-text-wrapping-beneath-a-floated-left-element/</link>
<description><![CDATA[ <p>In the example .description is a label and so needs to be made a block level element.  For  elements (etc) this is not needed.

The key to all this is overflow:hidden.</p> ]]></description>
<pubDate>Tue, 10 Aug 2010 14:34:52 GMT</pubDate>
<guid>http://snipplr.com/view/38849/stop-text-wrapping-beneath-a-floated-left-element/</guid>
</item>
<item>
<title>(CSS) Clearfix - mennyj</title>
<link>http://snipplr.com/view/35859/clearfix/</link>
<description><![CDATA[ <p>[via rtcrm]

Add this class to elements containing multiple floating elements.</p> ]]></description>
<pubDate>Fri, 18 Jun 2010 00:57:10 GMT</pubDate>
<guid>http://snipplr.com/view/35859/clearfix/</guid>
</item>
<item>
<title>(CSS) IE6 &amp;amp; IE7 Table float override - vagrantradio</title>
<link>http://snipplr.com/view/35025/ie6--ie7-table-float-override/</link>
<description><![CDATA[ <p>Any table with an attribute of align="left" also applies float:left in older versions of IE, this fixes it.</p> ]]></description>
<pubDate>Fri, 21 May 2010 14:16:48 GMT</pubDate>
<guid>http://snipplr.com/view/35025/ie6--ie7-table-float-override/</guid>
</item>
<item>
<title>(CSS) Clearfix:After - mariusscheel</title>
<link>http://snipplr.com/view/29119/clearfixafter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 02 Mar 2010 06:38:29 GMT</pubDate>
<guid>http://snipplr.com/view/29119/clearfixafter/</guid>
</item>
<item>
<title>(CSS) Cross-Browser Self-Clearing Float Containers using CSS - adamcoulombe</title>
<link>http://snipplr.com/view/25170/crossbrowser-selfclearing-float-containers-using-css/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 21 Dec 2009 11:43:22 GMT</pubDate>
<guid>http://snipplr.com/view/25170/crossbrowser-selfclearing-float-containers-using-css/</guid>
</item>
<item>
<title>(CSS) Clearfix - kerpunk</title>
<link>http://snipplr.com/view/23267/clearfix/</link>
<description><![CDATA[ <p>Clears a parent container with floated children</p> ]]></description>
<pubDate>Tue, 17 Nov 2009 06:18:50 GMT</pubDate>
<guid>http://snipplr.com/view/23267/clearfix/</guid>
</item>
<item>
<title>(CSS) Reset CSS plus Clearfix - misteroneill</title>
<link>http://snipplr.com/view/19091/reset-css-plus-clearfix/</link>
<description><![CDATA[ <p>This is Eric Meyer's (meyerweb.com/eric/) CSS Reset with the "clearfix" class added in for forcing containers to wrap floats.  Also, uses the uncommon "zoom" property to achieve the same effect in IE6/7.  I like "zoom:1;" for this purpose because as an invalid CSS property, it stands a much better chance of not influencing other/good browsers' rendering.</p> ]]></description>
<pubDate>Tue, 01 Sep 2009 00:15:48 GMT</pubDate>
<guid>http://snipplr.com/view/19091/reset-css-plus-clearfix/</guid>
</item>
<item>
<title>(CSS) Float bug fix in div to expand - webdevelopertut</title>
<link>http://snipplr.com/view/17336/float-bug-fix-in-div-to-expand/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 22 Jul 2009 13:03:00 GMT</pubDate>
<guid>http://snipplr.com/view/17336/float-bug-fix-in-div-to-expand/</guid>
</item>
<item>
<title>(CSS) Vertical align text in floating div using css - webdevelopertut</title>
<link>http://snipplr.com/view/16812/vertical-align-text-in-floating-div-using-css/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Jul 2009 13:00:11 GMT</pubDate>
<guid>http://snipplr.com/view/16812/vertical-align-text-in-floating-div-using-css/</guid>
</item>
<item>
<title>(CSS) CSS - Force element to self-clear - charmcitycoder</title>
<link>http://snipplr.com/view/16071/css--force-element-to-selfclear/</link>
<description><![CDATA[ <p>I saw this somewhere else, so I can't claim to have come up with it myself. Def life-saver!</p> ]]></description>
<pubDate>Thu, 18 Jun 2009 09:43:45 GMT</pubDate>
<guid>http://snipplr.com/view/16071/css--force-element-to-selfclear/</guid>
</item>
</channel>
</rss>
