<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - jonhenshaw</title>
<link>http://snipplr.com/users/jonhenshaw/language/css</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 05 Sep 2008 01:39:11 GMT</pubDate>
<item>
<title>(CSS) How To Style A Horizontal Rule With CSS (IE Friendly)</title>
<link>http://snipplr.com/view/7751/how-to-style-a-horizontal-rule-with-css-ie-friendly/</link>
<description><![CDATA[ <p>A good CSS example of how to style Horizontal Rule (HR) elements. It's also Internet Explorer (IE) friendly.</p> ]]></description>
<pubDate>Wed, 06 Aug 2008 20:24:35 GMT</pubDate>
<guid>http://snipplr.com/view/7751/how-to-style-a-horizontal-rule-with-css-ie-friendly/</guid>
</item>
<item>
<title>(CSS) CSS Page Break</title>
<link>http://snipplr.com/view/5736/css-page-break/</link>
<description><![CDATA[ <p>auto 	Default. Insert a page break after the element if necessary
always 	Insert a page break after the element
avoid 	Avoid inserting a page break after the element
left 	Insert page breaks after the element until it reaches a blank left page
right 	Insert page breaks after the element until it reaches a blank right page</p> ]]></description>
<pubDate>Mon, 07 Apr 2008 14:06:49 GMT</pubDate>
<guid>http://snipplr.com/view/5736/css-page-break/</guid>
</item>
<item>
<title>(CSS) CSS PNG Image Fix for IE</title>
<link>http://snipplr.com/view/4090/css-png-image-fix-for-ie/</link>
<description><![CDATA[ <p>The selector portion of the CSS rule targets which XHTML tags/classes this rule will be applied to. At first glance, it looks like all img tags as well as all tags with a class of "png". You’ll notice the * html in front of both of these. Wait, there is no “anytag” preceding the html tag, so this won’t get applied! True. For all non-crappy (that is a pro term by the way) browsers, this rule won’t get applied. However, since IE6 is a pile, it thinks that there is a tag before the html tag, so it will apply this rule. Great! Now IE6 is the only browser that will use this rule.</p> ]]></description>
<pubDate>Thu, 08 Nov 2007 08:22:32 GMT</pubDate>
<guid>http://snipplr.com/view/4090/css-png-image-fix-for-ie/</guid>
</item>
<item>
<title>(CSS) Turn Off Box Element and Positioning Outline (for Firefox and Safari)</title>
<link>http://snipplr.com/view/3097/turn-off-box-element-and-positioning-outline-for-firefox-and-safari/</link>
<description><![CDATA[ <p>Turns off the outline that often shows up in positioned blocks on Firefox and Safari</p> ]]></description>
<pubDate>Fri, 29 Jun 2007 15:32:50 GMT</pubDate>
<guid>http://snipplr.com/view/3097/turn-off-box-element-and-positioning-outline-for-firefox-and-safari/</guid>
</item>
<item>
<title>(CSS) YUI Reset CSS</title>
<link>http://snipplr.com/view/2482/yui-reset-css/</link>
<description><![CDATA[ <p>The foundational YUI Reset CSS file creates a level playing field across A-grade browsers and provides a sound foundation upon which you can explicitly declare your intentions. It normalizes the default rendering of all HTML elements, for example it sets margin, padding, and border to 0, font sizes to YUI Font's default, italic and bold styles to normal, and list-style to none.</p> ]]></description>
<pubDate>Sun, 15 Apr 2007 15:06:13 GMT</pubDate>
<guid>http://snipplr.com/view/2482/yui-reset-css/</guid>
</item>
<item>
<title>(CSS) Transparent PNG Fix for IE 5.5 &amp;amp; 6</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) CSS nowrap - Prevent Text From Wrapping in HTML</title>
<link>http://snipplr.com/view/1948/css-nowrap--prevent-text-from-wrapping-in-html/</link>
<description><![CDATA[ <p>This handy CSS attribute can be used to keep text from wrapping. It can also be used to keep other HTML elements from wrapping. Simply apply the white-space:nowrap attribute to any HTML element to force text and images to not return within a specified blog.

Something to note, IE6 can be buggy when this is used with an unordered list – but when isn't IE6 buggy?</p> ]]></description>
<pubDate>Mon, 08 Jan 2007 08:02:24 GMT</pubDate>
<guid>http://snipplr.com/view/1948/css-nowrap--prevent-text-from-wrapping-in-html/</guid>
</item>
<item>
<title>(CSS) Internet Explorer (IE6) CSS Hover</title>
<link>http://snipplr.com/view/1912/internet-explorer-ie6-css-hover/</link>
<description><![CDATA[ <p>IE6 and before doesn't support :hover in CSS (except for anchors). You can use this script to make hovers work in IE. Just add the following line to your stylesheet (this assumes the path of the file -- you may need to change it to reflect your paths).

body { behavior:url(&amp;quot;csshover.htc&amp;quot;); }</p> ]]></description>
<pubDate>Mon, 01 Jan 2007 20:17:07 GMT</pubDate>
<guid>http://snipplr.com/view/1912/internet-explorer-ie6-css-hover/</guid>
</item>
<item>
<title>(CSS) min-height for IE (and all other browsers)</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>