<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - 1man</title>
<link>http://snipplr.com/users/1man/tags/css</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 07 Sep 2008 17:54:20 GMT</pubDate>
<item>
<title>(CSS) CSS Collapsible Margins Fix (margin-top)</title>
<link>http://snipplr.com/view/4831/css-collapsible-margins-fix-margintop/</link>
<description><![CDATA[ <p>A very annoying 'bug' can occur when you are applying a top margin to an element inside a container. The inner elements margin seems to "leak" out of the top of the container. This pushes the container down, and looks very messy if you have a background applied.

Note: This is NOT and bug! Yay etc..

A quick fix is to add a padding of 1px, and a margin of -1px. Or you could add a border to the container.</p> ]]></description>
<pubDate>Tue, 29 Jan 2008 16:18:01 GMT</pubDate>
<guid>http://snipplr.com/view/4831/css-collapsible-margins-fix-margintop/</guid>
</item>
<item>
<title>(CSS) Image Replacement (No Extra Span)</title>
<link>http://snipplr.com/view/2679/image-replacement-no-extra-span/</link>
<description><![CDATA[ <p>CSS image replacement with no extra span needed.</p> ]]></description>
<pubDate>Mon, 21 May 2007 09:04:13 GMT</pubDate>
<guid>http://snipplr.com/view/2679/image-replacement-no-extra-span/</guid>
</item>
<item>
<title>(CSS) CSS Float Clearing</title>
<link>http://snipplr.com/view/2678/css-float-clearing/</link>
<description><![CDATA[ <p>Say you want a containing block with 2 floating elements to expand around the floating element, usually this wouldn't happen since the container has no height because the floating elements are out of the usual flow.

The method below fixes this problem.</p> ]]></description>
<pubDate>Mon, 21 May 2007 06:55:36 GMT</pubDate>
<guid>http://snipplr.com/view/2678/css-float-clearing/</guid>
</item>
<item>
<title>(PHP) Simple PHP Navigation</title>
<link>http://snipplr.com/view/2532/simple-php-navigation/</link>
<description><![CDATA[ <p>Very simple navigation. Style the id using CSS. Allows you to highlight the current page with CSS.</p> ]]></description>
<pubDate>Wed, 25 Apr 2007 08:59:27 GMT</pubDate>
<guid>http://snipplr.com/view/2532/simple-php-navigation/</guid>
</item>
<item>
<title>(CSS) Eric Meyers Baseline CSS</title>
<link>http://snipplr.com/view/2481/eric-meyers-baseline-css/</link>
<description><![CDATA[ <p>Removes the default styling different browsers use, so you minimise cross browser problems.</p> ]]></description>
<pubDate>Sun, 15 Apr 2007 14:00:55 GMT</pubDate>
<guid>http://snipplr.com/view/2481/eric-meyers-baseline-css/</guid>
</item>
<item>
<title>(CSS) CSS Line Height Example</title>
<link>http://snipplr.com/view/2444/css-line-height-example/</link>
<description><![CDATA[ <p>Example off ALA, pleasing typography layout for the web. Based on the grid system.</p> ]]></description>
<pubDate>Tue, 10 Apr 2007 08:40:47 GMT</pubDate>
<guid>http://snipplr.com/view/2444/css-line-height-example/</guid>
</item>
<item>
<title>(JavaScript) getNextElement DOM function</title>
<link>http://snipplr.com/view/2164/getnextelement-dom-function/</link>
<description><![CDATA[ <p>Useful function for CSS DOM, returns the next element after the selected node. So you could style the element directly after a h1 element for example.</p> ]]></description>
<pubDate>Tue, 13 Feb 2007 04:48:15 GMT</pubDate>
<guid>http://snipplr.com/view/2164/getnextelement-dom-function/</guid>
</item>
<item>
<title>(JavaScript) Stop Annoying IE Background Image Flicker Bug</title>
<link>http://snipplr.com/view/1270/stop-annoying-ie-background-image-flicker-bug/</link>
<description><![CDATA[ <p>Stop the background image flickering on IE by including this code in the header of your page. See link for more information.</p> ]]></description>
<pubDate>Fri, 29 Sep 2006 05:24:44 GMT</pubDate>
<guid>http://snipplr.com/view/1270/stop-annoying-ie-background-image-flicker-bug/</guid>
</item>
<item>
<title>(CSS) Handy CSS Debug Snippet</title>
<link>http://snipplr.com/view/746/handy-css-debug-snippet/</link>
<description><![CDATA[ <p>Great little debuging snippet found while browsing. The code adds different coloured borders to the assets depending on its level. Leave commented out if not needed.</p> ]]></description>
<pubDate>Mon, 07 Aug 2006 13:30:38 GMT</pubDate>
<guid>http://snipplr.com/view/746/handy-css-debug-snippet/</guid>
</item>
<item>
<title>(CSS) Fix li Background Repeat Bug In IE</title>
<link>http://snipplr.com/view/449/fix-li-background-repeat-bug-in-ie/</link>
<description><![CDATA[ <p>A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.</p> ]]></description>
<pubDate>Sun, 16 Jul 2006 14:07:25 GMT</pubDate>
<guid>http://snipplr.com/view/449/fix-li-background-repeat-bug-in-ie/</guid>
</item>
<item>
<title>(CSS) CSS Anchor Basic Styling (a:link, active, visited, hover)</title>
<link>http://snipplr.com/view/287/css-anchor-basic-styling-alink-active-visited-hover/</link>
<description><![CDATA[ <p>Simple styling for the links on a webpage using CSS. Sometimes hard to remember what order the have to be in for the :hover to work correctly. (Now fixed :)</p> ]]></description>
<pubDate>Sat, 08 Jul 2006 14:02:58 GMT</pubDate>
<guid>http://snipplr.com/view/287/css-anchor-basic-styling-alink-active-visited-hover/</guid>
</item>
<item>
<title>(CSS) Big Curly Blockquotes</title>
<link>http://snipplr.com/view/235/big-curly-blockquotes/</link>
<description><![CDATA[ <p>Markup example: See Big Curly Quotes Markup.
Thx to difusion.org.uk. No need for images to make big quotes on a page, CSS does it for you. Tested in many browsers.</p> ]]></description>
<pubDate>Wed, 05 Jul 2006 11:08:19 GMT</pubDate>
<guid>http://snipplr.com/view/235/big-curly-blockquotes/</guid>
</item>
<item>
<title>(CSS) Centre using Negative Margins</title>
<link>http://snipplr.com/view/234/centre-using-negative-margins/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 05 Jul 2006 11:00:44 GMT</pubDate>
<guid>http://snipplr.com/view/234/centre-using-negative-margins/</guid>
</item>
<item>
<title>(CSS) Centre using Auto Margins</title>
<link>http://snipplr.com/view/232/centre-using-auto-margins/</link>
<description><![CDATA[ <p>Taken from bluerobot. Create a content div, set the width and the margin set to auto will align the div to the centre horizontally.</p> ]]></description>
<pubDate>Wed, 05 Jul 2006 10:04:57 GMT</pubDate>
<guid>http://snipplr.com/view/232/centre-using-auto-margins/</guid>
</item>
<item>
<title>(CSS) Dead Centre a DIV</title>
<link>http://snipplr.com/view/231/dead-centre-a-div/</link>
<description><![CDATA[ <p>Taken from Dead Centre. Adjust #content depending on the size div you need.</p> ]]></description>
<pubDate>Wed, 05 Jul 2006 10:02:21 GMT</pubDate>
<guid>http://snipplr.com/view/231/dead-centre-a-div/</guid>
</item>
</channel>
</rss>