<?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>westworld: a webmasters best friend &#187; CSS</title>
	<atom:link href="http://www.westworld.be/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.westworld.be</link>
	<description>A webmasters best friend</description>
	<lastBuildDate>Tue, 22 Nov 2011 10:58:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Browsersniffing with CSS</title>
		<link>http://www.westworld.be/a-note-to-self/sniffing-with-css/</link>
		<comments>http://www.westworld.be/a-note-to-self/sniffing-with-css/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 10:30:04 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[Browsersniffing]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=10</guid>
		<description><![CDATA[A list of possible options for browserdetection with CSS.<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/sniffing-with-css/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/sniffing-with-css/" title="Browsersniffing with CSS"></a><p>After some research I found the follow css code for sniffing out browsers and emailclients through css.  /*Internet Explorer*/<br />
<code>&lt;!--[if IE 7]&gt;<br />
</code>.glue{color: black;}<code><br />
&lt;![endif]--&gt;</code><br />
&lt;!&#8211;[if IE 6]&gt;<br />
.glue{color: blue;}<br />
&lt;![endif]&#8211;&gt;</p>
<p>/* outlook 2007*/</p>
<pre>&lt;!--[if gte mso 9]&gt;
.glue{color: aqua;}
&lt;![endif]--&gt;</pre>
<p><code> </code> /* Firefox */  <code><br />
@-moz-document url-prefix() {</code><code><br />
.glue { color: red; }<br />
}</code></p>
<p><code>/* Opera */</code><br />
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) { .glue { color: yellow; }<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/sniffing-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototype css selectors and observe</title>
		<link>http://www.westworld.be/a-note-to-self/prototype-css-selectors-and-observe/</link>
		<comments>http://www.westworld.be/a-note-to-self/prototype-css-selectors-and-observe/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 12:02:49 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Prototypejs]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=8</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/prototype-css-selectors-and-observe/" title="Prototype css selectors and observe"></a>When using $$ in Prototype, the result is an array. You need to loop through the array to attach the observe function. Expl. $$(&#8216;.myitems&#8216;).each(function(item) { item.observe(&#8216;click&#8217;,function(){alert (&#8216;clicked&#8217;)});}); or $$(&#8216;.myitems&#8217;).invoke(&#8216;observe&#8217;, &#8216;click&#8217;, function() {alert(&#8216;clicked&#8217;)});]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/prototype-css-selectors-and-observe/" title="Prototype css selectors and observe"></a><p>When using $$ in Prototype, the result is an array. You need to loop through the array to attach the observe function.  Expl.<br />
$$<span class="brackets">(&#8216;.myitems</span><span class="brackets">&#8216;)</span>.each<span class="brackets">(</span><span class="keywords">function</span><span class="brackets">(</span>item<span class="brackets">)</span> { item.observe(&#8216;click&#8217;,function(){alert (&#8216;clicked&#8217;)});});</p>
<p>or</p>
<p>$$(&#8216;.myitems&#8217;).invoke(&#8216;observe&#8217;, &#8216;click&#8217;, function() {alert(&#8216;clicked&#8217;)});</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/prototype-css-selectors-and-observe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.westworld.be @ 2012-02-06 09:02:55 -->
