<?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/popular/language/css</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 21 Mar 2010 21:12:58 GMT</pubDate>
<item>
<title>(CSS) min-height for IE (and all other browsers) - jonhenshaw</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ <p>Since min-height doesn't work in IE, this code makes up for IE's shortcomings. The first part of the code is the correct code that works in Firefox and Safari. The second part of the code is for IE. Internet Explorer will ignore min-height and is just given a height of 8em. The IE bug automatically expands the container to fit the extra text.</p> ]]></description>
<pubDate>Wed, 31 Dec 1969 18:00:00 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>(CSS) CSS Rounded Corners - zensir</title>
<link>http://snipplr.com/view/830/css-rounded-corners/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Aug 2006 10:06:11 GMT</pubDate>
<guid>http://snipplr.com/view/830/css-rounded-corners/</guid>
</item>
<item>
<title>(CSS) Opacity Hack - speck</title>
<link>http://snipplr.com/view/200/opacity-hack/</link>
<description><![CDATA[ <p>Sets the opacity of an element and its children. Doesn't validate. Mozilla began supporting the opacity rule in version 1.7, so '-moz-opacity' may not be necessary...</p> ]]></description>
<pubDate>Sun, 02 Jul 2006 16:31:25 GMT</pubDate>
<guid>http://snipplr.com/view/200/opacity-hack/</guid>
</item>
<item>
<title>(CSS) Clear floats without structural markup - travis</title>
<link>http://snipplr.com/view/86/clear-floats-without-structural-markup/</link>
<description><![CDATA[ <p>".clearfix" is the container that holds all of your floated elements. Works in all browsers that support "float" and "clear".</p> ]]></description>
<pubDate>Thu, 29 Jun 2006 14:00:48 GMT</pubDate>
<guid>http://snipplr.com/view/86/clear-floats-without-structural-markup/</guid>
</item>
<item>
<title>(CSS) Dead Centre a DIV - 1man</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>
<item>
<title>(CSS) min/max-width fix for IE6 - roberocity</title>
<link>http://snipplr.com/view/318/minmaxwidth-fix-for-ie6/</link>
<description><![CDATA[ <p>Javascript expression in css to allow for min/max widths. replaces the min-width, max-width that works for IE6.</p> ]]></description>
<pubDate>Sun, 09 Jul 2006 19:48:32 GMT</pubDate>
<guid>http://snipplr.com/view/318/minmaxwidth-fix-for-ie6/</guid>
</item>
<item>
<title>(CSS) Big Curly Blockquotes - 1man</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) Handy CSS Debug Snippet - 1man</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) CSS Image Preloader - aznprncritic</title>
<link>http://snipplr.com/view/2122/css-image-preloader/</link>
<description><![CDATA[ <p>A low-tech but useful technique that uses only CSS.  After placing the css in your stylesheet, insert this just below the body tag of your page: "".  Whenever the images are referenced throughout your pages they will now be loaded from cache.</p> ]]></description>
<pubDate>Sun, 04 Feb 2007 19:47:05 GMT</pubDate>
<guid>http://snipplr.com/view/2122/css-image-preloader/</guid>
</item>
<item>
<title>(CSS) CSS Box Model Hack - alvaroisorna</title>
<link>http://snipplr.com/view/214/css-box-model-hack/</link>
<description><![CDATA[ <p>classical box model hack, by Tantek Çelik

http://www.tantek.com/CSS/Examples/boxmodelhack.html</p> ]]></description>
<pubDate>Tue, 04 Jul 2006 07:50:38 GMT</pubDate>
<guid>http://snipplr.com/view/214/css-box-model-hack/</guid>
</item>
<item>
<title>(CSS) A CSS-based Form Template - damarev</title>
<link>http://snipplr.com/view/1951/a-cssbased-form-template/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 09 Jan 2007 02:38:30 GMT</pubDate>
<guid>http://snipplr.com/view/1951/a-cssbased-form-template/</guid>
</item>
<item>
<title>(CSS) Master Stylesheet - j_junyent</title>
<link>http://snipplr.com/view/4233/master-stylesheet/</link>
<description><![CDATA[ <p>One of the most common mistakes I see beginners and intermediates fall victim to when it comes to CSS is not removing the default browser styling. This leads to inconsistencies in the appearance of your design across browsers, and ultimately leaves a lot of designers blaming the browser. It is a misplaced blame, of course. Before you do anything else when coding a website, you should reset the styling.</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 15:15:09 GMT</pubDate>
<guid>http://snipplr.com/view/4233/master-stylesheet/</guid>
</item>
<item>
<title>(CSS) Background images for bullets list - zensir</title>
<link>http://snipplr.com/view/962/background-images-for-bullets-list/</link>
<description><![CDATA[ <p>To move the content away from the background image apply "padding-left" to the "LI" element. In this case "0.6em" has been used. As with vertical alignment, list padding will be determined by the size of your image.</p> ]]></description>
<pubDate>Mon, 28 Aug 2006 04:59:27 GMT</pubDate>
<guid>http://snipplr.com/view/962/background-images-for-bullets-list/</guid>
</item>
<item>
<title>(CSS) Horizontal-Vertical div align - luman</title>
<link>http://snipplr.com/view/741/horizontalvertical-div-align/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 05 Aug 2006 10:26:02 GMT</pubDate>
<guid>http://snipplr.com/view/741/horizontalvertical-div-align/</guid>
</item>
<item>
<title>(CSS) undohtml.css - Tantek's Original (Removes Browser Default Style) - expertseries</title>
<link>http://snipplr.com/view/266/undohtmlcss--tanteks-original-removes-browser-default-style/</link>
<description><![CDATA[ <p>Purpose: undo some of the default styling of common (X)HTML browsers. (CC) 2004 Tantek Celik.</p> ]]></description>
<pubDate>Fri, 07 Jul 2006 18:19:28 GMT</pubDate>
<guid>http://snipplr.com/view/266/undohtmlcss--tanteks-original-removes-browser-default-style/</guid>
</item>
<item>
<title>(CSS) 8 Font Stacks - chippper</title>
<link>http://snipplr.com/view/10978/8-font-stacks/</link>
<description><![CDATA[ <p>From Michael Tuck's article</p> ]]></description>
<pubDate>Wed, 07 Jan 2009 11:03:14 GMT</pubDate>
<guid>http://snipplr.com/view/10978/8-font-stacks/</guid>
</item>
<item>
<title>(CSS) ClearFix - masaya</title>
<link>http://snipplr.com/view/489/clearfix/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 18 Jul 2006 03:25:59 GMT</pubDate>
<guid>http://snipplr.com/view/489/clearfix/</guid>
</item>
<item>
<title>(CSS) rounded corners without images - olive</title>
<link>http://snipplr.com/view/1460/rounded-corners-without-images/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 24 Oct 2006 11:38:19 GMT</pubDate>
<guid>http://snipplr.com/view/1460/rounded-corners-without-images/</guid>
</item>
<item>
<title>(CSS) 8 Premium One Line Css Tips - zingo</title>
<link>http://snipplr.com/view/5760/8-premium-one-line-css-tips/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Apr 2008 19:56:26 GMT</pubDate>
<guid>http://snipplr.com/view/5760/8-premium-one-line-css-tips/</guid>
</item>
<item>
<title>(CSS) Transparent PNG Fix for IE 5.5 &amp;amp; 6 - jonhenshaw</title>
<link>http://snipplr.com/view/2243/transparent-png-fix-for-ie-55--6/</link>
<description><![CDATA[ <p>This is an excellent solution for fixing IE 6's inability to display transparent PNGs correctly.

Step 1: Include the following conditional comment the HEAD area of your document. You will need to update the CSS selector and also the path to whereever you put the .htc file.

&amp;lt;!--[if lte IE 6]&amp;gt;
&amp;lt;style type="text/css"&amp;gt;
&amp;#160;&amp;#160;img { behavior: url(/css/iepngfix.htc) }
&amp;lt;/style&amp;gt;
&amp;lt;![endif]--&amp;gt;

Step 2: Create a transparent GIF that's 1x1 and save it as blank.gif in your images folder.

Step 3. Copy the source below and save it in a file called iepngfix.htc and place it in your CSS folder. Note, you may need to update the images folder to match the folder you're using on your site.

That's it. Once you have everything in place and assuming everything is referenced correclty, PNG transparency will work in IE 6.</p> ]]></description>
<pubDate>Wed, 07 Mar 2007 12:10:25 GMT</pubDate>
<guid>http://snipplr.com/view/2243/transparent-png-fix-for-ie-55--6/</guid>
</item>
<item>
<title>(CSS) Table with style, CSS - zensir</title>
<link>http://snipplr.com/view/834/table-with-style-css/</link>
<description><![CDATA[ <p>Table with style as in;
http://24ways.org/examples/tables-with-style/table_columns.html</p> ]]></description>
<pubDate>Wed, 16 Aug 2006 14:52:13 GMT</pubDate>
<guid>http://snipplr.com/view/834/table-with-style-css/</guid>
</item>
<item>
<title>(CSS) CSS Sticky Footer - rouxmout</title>
<link>http://snipplr.com/view/5660/css-sticky-footer/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Apr 2008 13:16:39 GMT</pubDate>
<guid>http://snipplr.com/view/5660/css-sticky-footer/</guid>
</item>
<item>
<title>(CSS) Accessible CSS Forms: Using CSS to Create a Two-Column Layout - zensir</title>
<link>http://snipplr.com/view/990/accessible-css-forms-using-css-to-create-a-twocolumn-layout/</link>
<description><![CDATA[ <p>In a recent study of web design patterns, Dr. Melody Ivory found that accessibility is the most underutilized aspect of good web page design (Ivory 2005). In fact websites have become more complex and less accessible over time (Hackett 2003). Less than 20% of the Fortune 100 have websites that are fully accessible (Loiacono 2004). Accessible forms are one way to combat this disturbing trend. With CSS layout, you can create two-column forms without the use of tables to save space and time. This article shows how to create a simple two-column contact form using CSS to style structural elements that is both fast and accessible.

A survey of CSS-based forms revealed many variations on a theme (see Vandersluis 2004). Most use block-level floats and margins to position form elements on the page. However, in my testing I found IE5.x Mac to have rendering problems with many of these forms. After numerous iterations, I arrived at a solution that worked for IE5.x Mac as well as Safari 1.07 Mac, Firefox 1.07 Win/Mac, IE 6 Win, Camino, and Opera. Our goal here is to create a simple accessible contact form without the use of tables (see Figure 1).</p> ]]></description>
<pubDate>Thu, 31 Aug 2006 13:20:42 GMT</pubDate>
<guid>http://snipplr.com/view/990/accessible-css-forms-using-css-to-create-a-twocolumn-layout/</guid>
</item>
<item>
<title>(CSS) Reset Browser Styles - tylerhall</title>
<link>http://snipplr.com/view/778/reset-browser-styles/</link>
<description><![CDATA[ <p>Put this these rules at the top of your CSS file and it will reset the default settings across all browsers to render the same. It's a great starting point for any new design. I took these rules from the Yahoo! YUI opensource kit.</p> ]]></description>
<pubDate>Fri, 11 Aug 2006 12:00:14 GMT</pubDate>
<guid>http://snipplr.com/view/778/reset-browser-styles/</guid>
</item>
<item>
<title>(CSS) WinIE PNG Filter - masaya</title>
<link>http://snipplr.com/view/497/winie-png-filter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 18 Jul 2006 04:36:44 GMT</pubDate>
<guid>http://snipplr.com/view/497/winie-png-filter/</guid>
</item>
</channel>
</rss>