<?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/tags/float</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 20:11:15 GMT</pubDate>
<item>
<title>(PHP) Direction Dependent Float In Wordpress - sagive</title>
<link>http://snipplr.com/view/70976/direction-dependent-float-in-wordpress/</link>
<description><![CDATA[ <p>This snippet is great for someone creating a wp theme which supports RTL as well as LTR since in enables you to use one function for multiple instances.</p> ]]></description>
<pubDate>Mon, 29 Apr 2013 06:44:15 GMT</pubDate>
<guid>http://snipplr.com/view/70976/direction-dependent-float-in-wordpress/</guid>
</item>
<item>
<title>(Bash) clear-fix - mattlowden</title>
<link>http://snipplr.com/view/66930/clearfix/</link>
<description><![CDATA[ <p>Makes the element with the class "clear-fix" extend to the height of the inner floated elements.</p> ]]></description>
<pubDate>Tue, 28 Aug 2012 20:19:03 GMT</pubDate>
<guid>http://snipplr.com/view/66930/clearfix/</guid>
</item>
<item>
<title>(CSS) styling image wraps - dkempdesigns</title>
<link>http://snipplr.com/view/66924/styling-image-wraps/</link>
<description><![CDATA[ <p>control text wrapping, add image size plus padding margin so that text does not float below images</p> ]]></description>
<pubDate>Tue, 28 Aug 2012 01:16:36 GMT</pubDate>
<guid>http://snipplr.com/view/66924/styling-image-wraps/</guid>
</item>
<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>(ActionScript 3) AS3 Truncating Decimal Number - adrianparr</title>
<link>http://snipplr.com/view/57204/as3-truncating-decimal-number/</link>
<description><![CDATA[ <p>Examples of different ways to truncate/round a decimal number.</p> ]]></description>
<pubDate>Wed, 27 Jul 2011 22:23:54 GMT</pubDate>
<guid>http://snipplr.com/view/57204/as3-truncating-decimal-number/</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>(Processing) Processing sample code - charlieMonroe</title>
<link>http://snipplr.com/view/53425/processing-sample-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 May 2011 05:17:18 GMT</pubDate>
<guid>http://snipplr.com/view/53425/processing-sample-code/</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>(HTML) Aligning divs on one line using a floated left unorderd list - bobbym245</title>
<link>http://snipplr.com/view/45434/aligning-divs-on-one-line-using-a-floated-left-unorderd-list/</link>
<description><![CDATA[ <p>The css style's in the  tags are important for this snippet to work.</p> ]]></description>
<pubDate>Wed, 08 Dec 2010 07:57:45 GMT</pubDate>
<guid>http://snipplr.com/view/45434/aligning-divs-on-one-line-using-a-floated-left-unorderd-list/</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>(JavaScript) get 1st float ( or int ) from given string - stryju</title>
<link>http://snipplr.com/view/43904/get-1st-float--or-int--from-given-string/</link>
<description><![CDATA[ <p>it parses given string and returns 1st number it encounters ( it will replace comas with dots so floats formatted as 12,345 could be 12.345 ( some countries use that ) )

then u can parse returned value as a number / float / int - do what You need with it ;-)</p> ]]></description>
<pubDate>Wed, 10 Nov 2010 22:36:53 GMT</pubDate>
<guid>http://snipplr.com/view/43904/get-1st-float--or-int--from-given-string/</guid>
</item>
<item>
<title>(jQuery) Animated Floating MENU scrolling with page - e11world</title>
<link>http://snipplr.com/view/42430/animated-floating-menu-scrolling-with-page/</link>
<description><![CDATA[ <p>This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it.
I used it with jquery 1.3.2 and up</p> ]]></description>
<pubDate>Sun, 17 Oct 2010 09:01:41 GMT</pubDate>
<guid>http://snipplr.com/view/42430/animated-floating-menu-scrolling-with-page/</guid>
</item>
<item>
<title>(Objective C) return a float value from a function - tenveer</title>
<link>http://snipplr.com/view/41565/return-a-float-value-from-a-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 05 Oct 2010 18:24:54 GMT</pubDate>
<guid>http://snipplr.com/view/41565/return-a-float-value-from-a-function/</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>
</channel>
</rss>