<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Everything is Crap &#187; css</title>
	<atom:link href="http://everythingiscrap.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://everythingiscrap.com</link>
	<description>Notes on the crap we&#039;ve been subjected to</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:10:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSS is crap!</title>
		<link>http://everythingiscrap.com/css-is-crap/</link>
		<comments>http://everythingiscrap.com/css-is-crap/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 13:49:15 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.everythingiscrap.com/?p=583</guid>
		<description><![CDATA[&#8230;not that I want to go back to straight HTML, because that's crap, but CSS is crap too. After pulling my hair out for a bit and wondering why my styles weren't applying I found this helpful article on CSS specificity. Here's the good part: Element, Pseudo Element: d = 1 – (0,0,0,1) Class, Pseudo [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://everythingiscrap.com/wp-content/uploads/2010/07/t4_css_sucks2.jpg"><img src="http://www.everythingiscrap.com/wp-content/uploads/2010/07/t4_css_sucks2-150x150.jpg" alt="" title="t4_css_sucks2" width="150" height="150" class="alignnone size-thumbnail wp-image-585" /></a></p>
<p>&#8230;not that I want to go back to straight HTML, because that's crap, but CSS is crap too.</p>
<p>After pulling my hair out for a bit and wondering why my styles weren't applying I found this helpful <a href="http://www.vanseodesign.com/css/css-specificity-inheritance-cascaade/">article on CSS specificity</a>. Here's the good part:</p>
<blockquote><p>Element, Pseudo Element: d = 1 – (0,0,0,1)<br />
Class, Pseudo class, Attribute: c = 1 – (0,0,1,0)<br />
Id: b = 1 – (0,1,0,0)<br />
Inline Style: a = 1 – (1,0,0,0)</p></blockquote>
<p>(1,0,0,0) is the most specific, (0,0,0,1) is the least. When conflicts exist, the most specific wins. So, (0,0,1,0) always wins out over (0,0,0,15). Also if two are in conflict and have the same specificity, then the one declared last wins.</p>
<p>Good to note. Back to work!</p>
]]></content:encoded>
			<wfw:commentRss>http://everythingiscrap.com/css-is-crap/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The order matters! Are you kidding me?</title>
		<link>http://everythingiscrap.com/the-order-matters-are-you-kidding-me/</link>
		<comments>http://everythingiscrap.com/the-order-matters-are-you-kidding-me/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 02:58:56 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://piotrouble.wordpress.com/?p=107</guid>
		<description><![CDATA[While carefully coding a web site template by hand I couldn't figure out why my "a:hover" selector wasn't working. I Googled it and came across this website that explains that order matters in CSS&#8230; Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!! Note: a:active MUST come [...]]]></description>
			<content:encoded><![CDATA[<p>While carefully coding a web site template by hand I couldn't figure out why my "a:hover" selector wasn't working. I Googled it and came across this website that explains that order matters in CSS&#8230;</p>
<blockquote>
<div>Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!</div>
<div>Note: a:active MUST come after a:hover in the CSS definition in order to be effective!!</div>
</blockquote>
<p>Coding is hard.</p>
]]></content:encoded>
			<wfw:commentRss>http://everythingiscrap.com/the-order-matters-are-you-kidding-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Justification and Orphans with paragraphs displayed on the web</title>
		<link>http://everythingiscrap.com/justification-and-orphans-with-paragraphs-displayed-on-the-web/</link>
		<comments>http://everythingiscrap.com/justification-and-orphans-with-paragraphs-displayed-on-the-web/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 23:28:00 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://piotrouble.wordpress.com/2008/01/21/justification-and-orphans-with-paragraphs-displayed-on-the-web</guid>
		<description><![CDATA[What do you know! You can fully justify text using CSS (text-align: justify). You can also control orphans (single words on a line at the end of a paragraph) by adding a &#60;span&#62; element and setting the white-space style to no-wrap (white-space: nowrap). Who knew! As a note, the Chicago Manual of Style is silent [...]]]></description>
			<content:encoded><![CDATA[<p>What do you know! You can fully justify text using CSS (text-align: justify). You can also control orphans (single words on a line at the end of a paragraph) by adding a &lt;span&gt; element and setting the white-space style to no-wrap (white-space: nowrap). Who knew! As a note, the Chicago Manual of Style is silent on orphans and how many words you should include to avoid orphans. In general I've seen the requirement of 5 characters plus an ending punctuation mark. But, that's not a rule, and Kathie didn't want any single-word lines in her paragraphs. So, I just went through and spanned the last few words of each paragraph. That did the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://everythingiscrap.com/justification-and-orphans-with-paragraphs-displayed-on-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

