<?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>thinkwithstyle</title>
	<atom:link href="http://thinkwithstyle.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkwithstyle.com</link>
	<description>Nice web design. Since 1969!</description>
	<lastBuildDate>Fri, 26 Feb 2010 16:43:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wonderful English from Around the World</title>
		<link>http://thinkwithstyle.com/2009/12/01/wonderful-english-from-around-the-world/</link>
		<comments>http://thinkwithstyle.com/2009/12/01/wonderful-english-from-around-the-world/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 12:22:01 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Funny stuff]]></category>

		<guid isPermaLink="false">http://thinkwithstyle.com/?p=158</guid>
		<description><![CDATA[This is a test
In a Bangkok temple:
It is forbidden to enter a woman, even a foreigner, if dressed as a man.
Cocktail lounge , Norway :
Ladies are requested not to have children in the bar.

Doctors office, Rome :
Specialist in women and other diseases.
Dry cleaners, Bangkok :
Drop your trousers here for the best results.
In a Nairobi restaurant:
Customers [...]]]></description>
			<content:encoded><![CDATA[<p>This is a test</p>
<h3>In a Bangkok temple:</h3>
<p>It is forbidden to enter a woman, even a foreigner, if dressed as a man.</p>
<h3>Cocktail lounge , Norway :</h3>
<p>Ladies are requested not to have children in the bar.</p>
<p><span id="more-158"></span></p>
<h3>Doctors office, Rome :</h3>
<p>Specialist in women and other diseases.</p>
<h3>Dry cleaners, Bangkok :</h3>
<p>Drop your trousers here for the best results.</p>
<h3>In a Nairobi restaurant:</h3>
<p>Customers who find our waitresses rude ought to see the manager.</p>
<h3>On the main road to Mombassa, leaving Nairobi :</h3>
<p>Take notice: when this sign is under water, this road is impassable.</p>
<h3>On a poster at Kencom:</h3>
<p>Are you an adult that cannot read? If so, we can help!</p>
<h3>In a City restaurant:</h3>
<p>Open seven days a week and weekends.</p>
<h3>In a cemetery:</h3>
<p>Persons are prohibited from picking flowers from any but their own graves.</p>
<h3>Tokyo hotel&#8217;s rules and regulations:</h3>
<p>Guests are requested not to smoke or do other disgusting behaviours in bed.</p>
<h3>On the menu of a Swiss restaurant:</h3>
<p>Our wines leave you nothing to hope for.</p>
<h3>In a Tokyo bar:</h3>
<p>Special cocktails for the ladies with nuts.</p>
<h3>Hotel, Yugoslavia :</h3>
<p>The flattening of underwear with pleasure is the job of the chambermaid.</p>
<h3>Hotel, Japan :</h3>
<p>You are invited to take advantage of the chambermaid.</p>
<h3>In the lobby of a Moscow hotel across from a Russian Orthodox monastery:</h3>
<p>You are welcome to visit the cemetery where famous russian and soviet composers, artists and writers are buried daily except thursday.</p>
<h3>A sign posted in Germany &#8217;s Black Forest :</h3>
<p>It is strictly forbidden on our black forest camping site that people of different sex, for instance, men and women, live together in one tent unless they are married with each other for this purpose.. <em>(This is the most hilarious&#8230;)</em></p>
<h3>Hotel, Zurich :</h3>
<p>Because of the impropriety of entertaining guests of the opposite sex in the bedroom, it is suggested that the lobby be used for this purpose.</p>
<h3>Advertisement for donkey rides, Thailand :</h3>
<p>Would you like to ride on your own ass?</p>
<h3>Airline ticket office, Copenhagen :</h3>
<p>We take your bags and send them in all directions.</p>
<h3>A laundry in Rome :</h3>
<p>Ladies, leave your clothes here and spend the afternoon having a good time.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkwithstyle.com/2009/12/01/wonderful-english-from-around-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pure css star rating. No javascript for ie6!</title>
		<link>http://thinkwithstyle.com/2008/11/06/pure-css-star-rating-i-mean-also-for-ie6/</link>
		<comments>http://thinkwithstyle.com/2008/11/06/pure-css-star-rating-i-mean-also-for-ie6/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 21:03:06 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://thinkwithstyle.com/?p=19</guid>
		<description><![CDATA[CSS only start rating system. No javascript involved (not even for ie6).
Here&#8217;s the html code:

&#60;ul class=&#34;rating&#34;&#62;
&#60;li&#62;&#60;a class=&#34;worst&#34; title=&#34;1 star&#34; rel=&#34;nofollow&#34; href=&#34;#a1&#34;&#62;1&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a class=&#34;bad&#34; title=&#34;2 stars&#34; rel=&#34;nofollow&#34; href=&#34;#a2&#34;&#62;2&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a class=&#34;fair&#34; title=&#34;3 stars&#34; rel=&#34;nofollow&#34; href=&#34;#a3&#34;&#62;3&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a class=&#34;good&#34; title=&#34;4 stars&#34; rel=&#34;nofollow&#34; href=&#34;#a4&#34;&#62;4&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a class=&#34;best&#34; title=&#34;5 stars&#34; rel=&#34;nofollow&#34; href=&#34;#a5&#34;&#62;5&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;

It uses multiple classes for ul: we will add to ul.rating one more class from [...]]]></description>
			<content:encoded><![CDATA[<p>CSS only start rating system. No javascript involved (not even for ie6).<span id="more-19"></span></p>
<p>Here&#8217;s the html code:</p>
<pre class="brush: xml;">
&lt;ul class=&quot;rating&quot;&gt;
&lt;li&gt;&lt;a class=&quot;worst&quot; title=&quot;1 star&quot; rel=&quot;nofollow&quot; href=&quot;#a1&quot;&gt;1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;bad&quot; title=&quot;2 stars&quot; rel=&quot;nofollow&quot; href=&quot;#a2&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;fair&quot; title=&quot;3 stars&quot; rel=&quot;nofollow&quot; href=&quot;#a3&quot;&gt;3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;good&quot; title=&quot;4 stars&quot; rel=&quot;nofollow&quot; href=&quot;#a4&quot;&gt;4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;best&quot; title=&quot;5 stars&quot; rel=&quot;nofollow&quot; href=&quot;#a5&quot;&gt;5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>It uses multiple classes for ul: we will add to ul.rating one more class from the five available- from worst to best, in order to display the current rating.</p>
<p>And here&#8217;s the css</p>
<pre class="brush: css;">
ul.rating {list-style: none;position: relative;width: 100px;height: 20px;background-image: url(&quot;ratings.png&quot;);background-position: -100px 0;background-repeat: no-repeat;padding: 0;left: 50px;margin-left: -50px;overflow: hidden;}
.rating li {margin: 0;padding: 0;float: left;}
.rating li a {display: block;position: absolute;width: 20px;height: 20px;text-indent: -9999px;overflow: hidden;z-index: 20;}
ul.worst { background-position: -80px 0;}
ul.bad { background-position: -60px 0;}
ul.fair { background-position: -40px 0;}
ul.good { background-position: -20px 0;}
ul.best { background-position: 0 0;}
.rating a.worst { left: 0; }
.rating a.bad { left: 20px; }
.rating a.fair { left: 40px; }
.rating a.good { left: 60px; }
.rating a.best { left: 80px; }
.rating li a:hover {background: transparent url(&quot;star.png&quot;) left top repeat-x;left: 0;z-index: 1;}
.rating a.worst:hover {width: 20px;}
.rating a.bad:hover {width: 40px;}
.rating a.fair:hover {width: 60px;}
.rating a.good:hover {width: 80px;}
.rating a.best:hover {width: 100px;}
</pre>
<p>You can check it out here: <a href="http://thinkwithstyle.com/rating/ ">http://thinkwithstyle.com/rating/ </a></p>
]]></content:encoded>
			<wfw:commentRss>http://thinkwithstyle.com/2008/11/06/pure-css-star-rating-i-mean-also-for-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css3 selectors test</title>
		<link>http://thinkwithstyle.com/2008/06/25/css3-selectors-test/</link>
		<comments>http://thinkwithstyle.com/2008/06/25/css3-selectors-test/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 11:52:50 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://thinkwithstyle.com/?p=3</guid>
		<description><![CDATA[CSS3 selectors tests. More than half of the following selectors don&#8217;t work in Firefox 2.0 AND 3.0 (yes, Firefox 3.0 still hasn&#8217;t good support for CSS3), Opera 9.01 and IE7. All of them work fine in Opera 9.5 and Safari 3.0 (Win). However, I prepared them only up to #15, the rest has to wait [...]]]></description>
			<content:encoded><![CDATA[<p>CSS3 selectors tests. More than half of the following selectors don&#8217;t work in Firefox 2.0 AND 3.0 (yes, Firefox 3.0 still hasn&#8217;t good support for CSS3), Opera 9.01 and IE7. All of them work fine in Opera 9.5 and Safari 3.0 (Win). <del datetime="2008-06-19T12:39:36+00:00">However, I prepared them only up to #15, the rest has to wait a couple of days. </del><span id="more-3"></span><br />
Later edit: Google&#8217;s Chrome also does the job quite well &#8211; no surprise, being a Webkit browser, so it&#8217;s a Safari relative.<br />
Anyway, I noticed that Chrome does not have support for embedded fonts. Safari allows you to use web fonts (truetype) but Chrome doesn&#8217;t.<br />
Edited on 27.01.2009 &#8211; Firefox 3.1 HAS support for almost all selectors (except for for E:checked).</p>
<ul id="css3selectors">
<li>
<h4>Attribute selectors</h4>
<ul>
<li>
<dl>
<dt>E[foo^="bar"]</dt>
<dd>an E element whose “foo” attribute value begins exactly with the string “bar”. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv1');return false;" href="#selectdiv1">Example</a><code> #selectdiv1 p[class^="bar"] {color:red}</code></p>
<div id="selectdiv1" class="info">
<p class="barstring">p.barstring &#8211; This paragraph should be colored in red, because it’s class attribute starts with ‘bar’.</p>
<p class="stringbarstring">p.stringbarstring &#8211; This paragraph should be unstyled, although it’s class contains the word ‘bar’, but it does not start with it.</p>
</div>
</li>
<li>
<dl>
<dt>E[foo*="bar"]</dt>
<dd>an E element whose “foo” attribute value contains the substring “bar”. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv2');return false;" href="#selectdiv2">Example</a> <code>#selectdiv2 p[class*="bar"] {color:red}</code></p>
<div id="selectdiv2" class="info">
<p class="barstring">p.barstring- This paragraph should be colored in red, because it’s class attribute contains ‘bar’.</p>
<p class="stringbarstring">p.stringbarstring-This paragraph should be also colored in red, because it’s class attribute contains ‘bar’.</p>
<p class="string">p.string &#8211; This paragraph should be unstyled</p>
</div>
</li>
<li>
<dl>
<dt>E[foo$="bar"]</dt>
<dd>an E element whose “foo” attribute value ends exactly with the string “bar”. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv3');return false;" href="#selectdiv3">Example</a> <code>#selectdiv3 p[class$="bar"] {color:red}</code></p>
<div id="selectdiv3" class="info">
<p class="stringbar">p.stringbar &#8211; This paragraph should be also colored in red, because it’s class ends with ‘bar’.</p>
<p class="barstring">p.barstring- This paragraph should be unstyled.</p>
<p class="string">p.string &#8211; This paragraph should be unstyled</p>
</div>
</li>
</ul>
</li>
<li>
<h4>Pseudo-classes:</h4>
<ul>
<li>
<dl>
<dt>E:root</dt>
<dd>an E element, root of the document. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv4');return false;" href="#selectdiv4">Example</a> <code>html:root #selectdiv4 p:first-child{color:red}</code></p>
<div id="selectdiv4" class="info">
<p>GOTCHA! In html the root element is  itself. To show this selector in action, I had to declare html:root #selectdiv4 p:first-child{color:red}. And this paragraph should be red. Not in IE7,  it doesn’t do it.</p>
<p>This paragraph is unstyled, it is black (or grey, whatever).</p>
</div>
</li>
<li>
<dl>
<dt>E:nth-child(n)</dt>
<dd>an E element, the n-th child of its parent. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv5');return false;" href="#selectdiv5">Example</a> <code>#selectdiv5 p:nth-child(2n){color:green} #selectdiv5 p:nth-child(2n+1){color:red}</code></p>
<div id="selectdiv5" class="info">
<p>This paragraph should be red.</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red.</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red.</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red.  Not for IE7 and Firefox 2.</p>
</div>
</li>
<li>
<dl>
<dt>E:nth-last-child(n)</dt>
<dd>an E element, the n-th child of its parent, counting from the last one. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv6');return false;" href="#selectdiv6">Example</a> <code>#selectdiv6 p:nth-last-child(2n){color:green} #selectdiv6 p:nth-last-child(2n+1){color:red}</code></p>
<div id="selectdiv6" class="info">
<p>This paragraph should be red.</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red.</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red.</p>
<p>This paragraph should be green.</p>
<p>This paragraph should be red. Not for IE7 and Firefox 2</p>
</div>
</li>
<li>
<dl>
<dt>E:nth-of-type(n)</dt>
<dd>an E element, the n-th sibling of its type. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv7');return false;" href="#selectdiv7">Example</a> <code>#selectdiv7 p:nth-of-type(3) {color:red} #selectdiv7 p:nth-of-type(2n+1) {font-weight:bold}</code></p>
<div id="selectdiv7" class="info">
<p>This paragraph should be bold.</p>
<p>This paragraph should be unstyled.</p>
<div>This is a div and should not be affected by the rule, because it’s not a paragraph.</div>
<p>This paragraph should be red and bold.</p>
<p>This paragraph should be unstyled.</p>
</div>
</li>
<li>
<dl>
<dt>E:nth-last-of-type(n)</dt>
<dd>an E element, the n-th sibling of its type, counting from the last one. </dd>
</dl>
<p><a onclick="toggle_info('selectdiv8');return false;" href="#selectdiv8">Example</a> <code>#selectdiv8 p:nth-last-of-type(1) {color:red} #selectdiv8 p:nth-last-of-type(3) {font-weight:bold}</code></p>
<div id="selectdiv8" class="info">
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be bold.</p>
<div>This is a div and should not be affected by the rule.</div>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be red.</p>
</div>
</li>
<li>
<dl>
<dt>E:last-child</dt>
<dd>an E element, last child of its parent</dd>
</dl>
<p><a onclick="toggle_info('selectdiv9');return false;" href="#selectdiv9">Example</a> <code>#selectdiv9 p:last-child {color:red}</code></p>
<div id="selectdiv9" class="info">
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be red, because it’s the last child of it’s type.</p>
</div>
</li>
<li>
<dl>
<dt>E:first-of-type</dt>
<dd>an E element, first sibling of its type</dd>
</dl>
<p><a onclick="toggle_info('selectdiv10');return false;" href="#selectdiv10">Example</a> <code>#selectdiv10 p:first-of-type {color:red}</code></p>
<div id="selectdiv10" class="info">
<div>This is a div and should not be affected by the rule, because it’s not a paragraph.</div>
<p>This paragraph should be red.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
</div>
</li>
<li>
<dl>
<dt>E:last-of-type</dt>
<dd>an E element, last sibling of its type</dd>
</dl>
<p><a onclick="toggle_info('selectdiv11');return false;" href="#selectdiv11">Example</a> <code>#selectdiv11 p:last-of-type {color:red}</code></p>
<div id="selectdiv11" class="info">
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be unstyled.</p>
<p>This paragraph should be red.</p>
<div>This is a div and should not be affected by the rule, because it’s not a paragraph.</div>
</div>
</li>
<li>
<dl>
<dt>E:only-child</dt>
<dd>an E element, only child of its parent</dd>
</dl>
<p><a onclick="toggle_info('selectdiv12');return false;" href="#selectdiv12">Example 1</a> <code>#selectdiv12 <img src='http://thinkwithstyle.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly-child {color:red}</code><a onclick="toggle_info('selectdiv121');return false;" href="#selectdiv121">Example 2</a> <code>#selectdiv121 <img src='http://thinkwithstyle.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly-child {color:red}</code></p>
<div id="selectdiv12" class="info">
<p>This paragraph should be red, because is the only child of the outer div.</p>
</div>
<div id="selectdiv121" class="info">
<p>This paragraph should be unstyled, because there are more children of the outer div.</p>
<div>This is a div</div>
</div>
</li>
<li>
<dl>
<dt>E:only-of-type</dt>
<dd>an E element, only sibling of its type</dd>
</dl>
<p><a onclick="toggle_info('selectdiv13');return false;" href="#selectdiv13">Example 1</a> <code>#selectdiv13 p:only-of-type {color:red}</code><a onclick="toggle_info('selectdiv131');return false;" href="#selectdiv131">Example 2</a> <code>#selectdiv131 <img src='http://thinkwithstyle.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly-of-type {color:red}</code></p>
<div id="selectdiv13" class="info">
<p>This paragraph should be red because it’s the only child of it’s type.</p>
<div>This is a div.</div>
</div>
<div id="selectdiv131" class="info">
<p>This paragraph should be unstyled, because there are several children of it’s type in the outer div.</p>
<p>This paragraph should be unstyled, because there are several children of it’s type in the outer div.</p>
<div>But this div should be red, because it’s teh only child of it’s type.</div>
</div>
</li>
<li>
<dl>
<dt>E:empty</dt>
<dd>an E element that has no children (including text nodes)</dd>
</dl>
<p><a onclick="toggle_info('selectdiv14');return false;" href="#selectdiv14">Example</a><code>#selectdiv14 p:empty {padding:50px 0}</code></p>
<div id="selectdiv14" class="info">
<p>This paragraph should be unstyled, because it’s not empty &#8211; text nodes count, including whitespaces.</p>
<p><!-- this is a comment, and therefore the p is considered empty --></p>
<p>If above is a huge blank space, it means that the declaration works. Above is an empty paragraph containing a comment and nothing else.</p>
</div>
</li>
<li>
<dl>
<dt>E:target</dt>
<dd>an E element being the target of the referring URI</dd>
</dl>
<p><a onclick="toggle_info('selectdiv15');return false;" href="#selectdiv15">Example</a> <code>#selectdiv15 :target {background:#fc3}</code></p>
<div id="selectdiv15" class="info">
<ul>
<li><a href="#div1">This is the link to the target div 1</a></li>
<li><a href="#div2">This is the link to the target div 2</a></li>
<li><a href="#div3">This is the link to the target div 3</a></li>
</ul>
<div id="div1">This is the target div 1</div>
<div id="div2">This is the target div 2</div>
<div id="div3">This is the target div 3</div>
</div>
</li>
<li>
<dl>
<dt>E:enabled, E:disabled</dt>
<dd> a user interface element E which is enabled or disabled</dd>
</dl>
<p><a onclick="toggle_info('selectdiv16');return false;" href="#selectdiv16">Example</a> <code>#selectdiv16 :enabled {border:1px solid red} #selectdiv16 :disabled {border:1px solid blue}</code></p>
<div id="selectdiv16" class="info">
<input type="text" /> An input which should have a red border Inputs are enabled by default.</p>
<input disabled="disabled" type="text" /> An input with blue border  because it was disabled.</p>
<select disabled="disabled"><option>Option1 </option></select>
<p>A select box with blue border  because it was disabled.</p>
</div>
</li>
<li>
<dl>
<dt>E:checked</dt>
<dd>a user interface element E which is checked (for instance a radio-button or checkbox)</dd>
</dl>
<p><a onclick="toggle_info('selectdiv17');return false;" href="#selectdiv17">Example</a> <code>#selectdiv17 input:checked {border:1px solid red}</code></p>
<div id="selectdiv17" class="info">
<input checked="checked" type="radio" /> This is a radiobutton which should have a red border, because it has checked=”checked”.</p>
<input type="checkbox" /> This is a checkbox and whould have red border only when it’s checked</p>
<input checked="checked" type="text" /> This is a text input and should not have red border even if it has checked=”checked”, because attribute “checked” is not meant for this type of inputs.</p>
</div>
</li>
<li>
<dl>
<dt>E:not(s)</dt>
<dd>an E element that does not match simple selector s</dd>
</dl>
<p><a onclick="toggle_info('selectdiv19');return false;" href="#selectdiv19">Example</a> <code>#selectdiv19 :not(.some_class) {color:red}</code></p>
<div id="selectdiv19" class="info">
<p>This paragraph should be red, because it does not have class=”some_class”</p>
<p class="some_class">This paragraph should be unstyled, bacause it has class=”some_class”.</p>
<p class="some_class">This paragraph should be unstyled, bacause it has class=”some_class”.</p>
<h3>This heading h3 should be red, because it does not have class=”some_class”</h3>
<h3 class="some_class">This heading h3 should be unstyled, because it does have class=”some_class”</h3>
</div>
</li>
</ul>
</li>
<li>
<h4>General sibling combinator:</h4>
<ul>
<li>
<dl>
<dt>E ~ F</dt>
<dd>an F element preceded by an E element</dd>
</dl>
<p><a onclick="toggle_info('selectdiv20');return false;" href="#selectdiv20">Example 1</a> <code>#selectdiv20 h3 ~ p {color:red}</code><br />
<a onclick="toggle_info('selectdiv201');return false;" href="#selectdiv201">Example 2</a> <code>#selectdiv20 h3.blue ~ p {color:blue}</code></p>
<div id="selectdiv20" class="info">
<p>This paragraph should be unstyled, because no heading h3 comes before it.</p>
<h3>This is a h3 heading</h3>
<p>This paragraph should be red because it is next and adjiacent to a heading h3.</p>
<p>This paragraph should be red because it comes after a heading h3.</p>
<p>This paragraph should be red because it comes after a heading h3</p>
</div>
<div id="selectdiv201" class="info">
<p>This paragraph should be unstyled, because no heading h3 comes before it.</p>
<h3>This is a h3 heading</h3>
<p>This paragraph should be red because it is next and adjiacent to a heading h3.</p>
<p>This paragraph should be red because it comes after a heading h3.</p>
<h3 class="blue">This is a h3 heading class=”blue”</h3>
<p>This paragraph should be blue because it comes after a heading h3.blue</p>
<p>This paragraph should be blue because it comes after a heading h3.blue</p>
</div>
</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thinkwithstyle.com/2008/06/25/css3-selectors-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
