<?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/favorites/fael/tags/css</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 08 Sep 2008 05:09:01 GMT</pubDate>
<item>
<title>(CSS) No More IE6 Background Flicker - fael</title>
<link>http://snipplr.com/view/1412/no-more-ie6-background-flicker/</link>
<description><![CDATA[ <p>original post by Cristi Balan: http://evil.che.lu/2006/9/25/no-more-ie6-background-flicker</p> ]]></description>
<pubDate>Mon, 16 Oct 2006 07:56:01 GMT</pubDate>
<guid>http://snipplr.com/view/1412/no-more-ie6-background-flicker/</guid>
</item>
<item>
<title>(CSS) Accessible CSS Forms: Using CSS to Create a Two-Column Layout - fael</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) Background images for bullets list - fael</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) Table with style, CSS - fael</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 ROUNDED CORNERS - fael</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) Reset Browser Styles - fael</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) Basic CSS Template - fael</title>
<link>http://snipplr.com/view/528/basic-css-template/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Jul 2006 20:55:36 GMT</pubDate>
<guid>http://snipplr.com/view/528/basic-css-template/</guid>
</item>
<item>
<title>(CSS) ClearFix - fael</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) Fix li Background Repeat Bug In IE - fael</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 Box Model Hack - fael</title>
<link>http://snipplr.com/view/434/css-box-model-hack/</link>
<description><![CDATA[ <p>The CSS standard defines the width of a box as the width inside the box. Padding, border and margin are added seperately. The same applies to the height of a box.
(!!) IE 5.X WIN (!!) fails to implement the specification correctly. Border and width inside the box are added to the width. A box with a width of 200px, a padding of 20px and border of 10px results in a width of 260px in Mozilla and 200px in Internet Explorer. This can be extremely tedious if you want to do a pixel perfect layout.
TANTEKS HACK: (named after it's inventor) utilizes this weakness.

width:200px; is the defintion for Internet Explorer. IE stops processing the CSS rules after voice-family: "\"}\"";. Other browsers recognize the the value after it and overwrites the value. Opera doesn't, unfortunately</p> ]]></description>
<pubDate>Sat, 15 Jul 2006 09:04:30 GMT</pubDate>
<guid>http://snipplr.com/view/434/css-box-model-hack/</guid>
</item>
<item>
<title>(CSS) CSS Anchor Basic Styling (a:link, active, visited, hover) - fael</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) Dead Centre a DIV - fael</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) CSS Box Model Hack - fael</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>(XHTML) XHTML 1.1 web standards template - fael</title>
<link>http://snipplr.com/view/203/xhtml-11-web-standards-template/</link>
<description><![CDATA[ <p>This is a generic template for an XHMTL 1.1 doc that I start with at the beginning of every project.

Then i setup the directories to match. I use @import for CSS, then a seperate CSS file for screen-specific, and then one for print, …yes, then one for IE.
I have the basic DIV structure setup, too.

For a link to the inspiration of this template and further explanation (better), see this wonderful article:
http://particletree.com/features/quick-start-your-design-with-xhtml-templates/
Hope it helps!</p> ]]></description>
<pubDate>Sun, 02 Jul 2006 19:24:11 GMT</pubDate>
<guid>http://snipplr.com/view/203/xhtml-11-web-standards-template/</guid>
</item>
<item>
<title>(CSS) Opacity Hack - fael</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 - fael</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) min-height for IE (and all other browsers) - fael</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 19:00:00 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
</channel>
</rss>