<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WTF CSS</title>
	
	<link>http://wtfcss.com</link>
	<description>Horrible CSS Snippets</description>
	<lastBuildDate>Tue, 02 Mar 2010 01:29:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WTFCSS" /><feedburner:info uri="wtfcss" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Please Use A Big Boy Reset</title>
		<link>http://feedproxy.google.com/~r/WTFCSS/~3/Wv7WzLX9EG4/please-use-a-big-boy-reset</link>
		<comments>http://wtfcss.com/please-use-a-big-boy-reset#comments</comments>
		<pubDate>Tue, 02 Mar 2010 00:54:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtfcss.com/?p=30</guid>
		<description><![CDATA[* { margin: 0; padding: 0; } Not every element has margin and padding that needs to be reset. Better to use: body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, checkbox, textarea, p, blockquote, th, td { margin:0;padding:0;}]]></description>
			<content:encoded><![CDATA[<pre><code><span class="selector">* {</span>
    margin: 0;
    padding: 0;
<span class="selector">}</span>
</pre>
<p></code></p>
<p>Not every element has margin and padding that needs to be reset.</p>
<p>Better to use: <code>body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, checkbox, textarea, p, blockquote, th, td { margin:0;padding:0;}</code></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WTFCSS?a=Wv7WzLX9EG4:KH2H9ricCps:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=Wv7WzLX9EG4:KH2H9ricCps:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=Wv7WzLX9EG4:KH2H9ricCps:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=Wv7WzLX9EG4:KH2H9ricCps:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=Wv7WzLX9EG4:KH2H9ricCps:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=Wv7WzLX9EG4:KH2H9ricCps:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=Wv7WzLX9EG4:KH2H9ricCps:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=Wv7WzLX9EG4:KH2H9ricCps:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WTFCSS/~4/Wv7WzLX9EG4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wtfcss.com/please-use-a-big-boy-reset/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wtfcss.com/please-use-a-big-boy-reset</feedburner:origLink></item>
		<item>
		<title>Unordered Children</title>
		<link>http://feedproxy.google.com/~r/WTFCSS/~3/gQFqkUyFE6I/unordered-children</link>
		<comments>http://wtfcss.com/unordered-children#comments</comments>
		<pubDate>Mon, 01 Mar 2010 15:20:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wtfcss.com/?p=13</guid>
		<description><![CDATA[ul > li Sure maybe ul.class > li made sense, but take away the class, and this bit of CSS is pure donkey status. Every ul has a direct descendant li, so ul > li is basically the same as ul li.]]></description>
			<content:encoded><![CDATA[<pre><code><span class="selector">ul > li</span>
</code></pre>
<p>Sure maybe <code>ul.class > li</code> made sense, but take away the class, and this bit of CSS is pure donkey status.  </p>
<p>Every <code>ul</code> has a direct descendant <code>li</code>, so <code>ul > li</code> is basically the same as <code>ul li</code>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WTFCSS?a=gQFqkUyFE6I:tHKEpjznUhU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=gQFqkUyFE6I:tHKEpjznUhU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=gQFqkUyFE6I:tHKEpjznUhU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=gQFqkUyFE6I:tHKEpjznUhU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=gQFqkUyFE6I:tHKEpjznUhU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=gQFqkUyFE6I:tHKEpjznUhU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=gQFqkUyFE6I:tHKEpjznUhU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=gQFqkUyFE6I:tHKEpjznUhU:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WTFCSS/~4/gQFqkUyFE6I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wtfcss.com/unordered-children/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wtfcss.com/unordered-children</feedburner:origLink></item>
		<item>
		<title>Static Positioning</title>
		<link>http://feedproxy.google.com/~r/WTFCSS/~3/KNnuOs_fD0s/static-positioning</link>
		<comments>http://wtfcss.com/static-positioning#comments</comments>
		<pubDate>Mon, 01 Mar 2010 13:28:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wtfcss.com/?p=20</guid>
		<description><![CDATA[div { position : static !important; z-index : 10; top : 50px; left : 200px; } Unless you&#8217;re changing the position attribute dynamically, static position essentially means &#8220;not positioned&#8221;, so the z-index, top and left are completely meaningless.]]></description>
			<content:encoded><![CDATA[<pre><code><span class="selector">div {</span>
    position : static !important;
    z-index : 10;
    top : 50px;
    left : 200px;
<span class="selector">}</span>
</code></pre>
<p>Unless you&#8217;re changing the position attribute dynamically, <code>static</code> position essentially means &#8220;not positioned&#8221;, so the <code>z-index</code>, <code>top</code> and <code>left</code> are completely meaningless.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WTFCSS?a=KNnuOs_fD0s:WC5koui4uGA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=KNnuOs_fD0s:WC5koui4uGA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=KNnuOs_fD0s:WC5koui4uGA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=KNnuOs_fD0s:WC5koui4uGA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=KNnuOs_fD0s:WC5koui4uGA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=KNnuOs_fD0s:WC5koui4uGA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=KNnuOs_fD0s:WC5koui4uGA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=KNnuOs_fD0s:WC5koui4uGA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WTFCSS/~4/KNnuOs_fD0s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wtfcss.com/static-positioning/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wtfcss.com/static-positioning</feedburner:origLink></item>
		<item>
		<title>Double IDs</title>
		<link>http://feedproxy.google.com/~r/WTFCSS/~3/bVeathTiJlc/double-ids</link>
		<comments>http://wtfcss.com/double-ids#comments</comments>
		<pubDate>Mon, 01 Mar 2010 02:02:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wtfcss.com/?p=4</guid>
		<description><![CDATA[div#id1#id2 This bit of disgusting CSS is what inspired me to start WTF CSS (after promptly puking in my mouth). Taken from a tweet by Nicholas Zakas.]]></description>
			<content:encoded><![CDATA[<pre><code><span class="selector">div#id1#id2</span>
</code></pre>
<p>This bit of disgusting CSS is what inspired me to start WTF CSS (after promptly puking in my mouth). </p>
<p>Taken from a <a href="http://twitter.com/slicknet/status/9789299977">tweet by Nicholas Zakas</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WTFCSS?a=bVeathTiJlc:a3Cj3t0nlPE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=bVeathTiJlc:a3Cj3t0nlPE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=bVeathTiJlc:a3Cj3t0nlPE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=bVeathTiJlc:a3Cj3t0nlPE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WTFCSS?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=bVeathTiJlc:a3Cj3t0nlPE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=bVeathTiJlc:a3Cj3t0nlPE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WTFCSS?a=bVeathTiJlc:a3Cj3t0nlPE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WTFCSS?i=bVeathTiJlc:a3Cj3t0nlPE:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WTFCSS/~4/bVeathTiJlc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wtfcss.com/double-ids/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wtfcss.com/double-ids</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 2.746 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-04-25 22:53:50 -->
