<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Kilian Valkhof</title>
	
	<link>http://kilianvalkhof.com</link>
	<description />
	<pubDate>Mon, 10 Nov 2008 20:01:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Kilianvalkhofcom" type="application/rss+xml" /><item>
		<title>On rendering engines and graphic libraries</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/447888135/</link>
		<comments>http://kilianvalkhof.com/2008/web/on-rendering-engines-and-graphic-libraries/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 01:00:16 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=222</guid>
		<description><![CDATA[<blockquote><p>So while you may expect that the stuff that works in Safari also works in Google Chrome, that won't always be the case.</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>It won&#8217;t be long before we have a really solid baseline across the 4 major rendering engines in terms of CSS support. Gecko, Webkit, Presto and IE8&#8217;s rendering engine. But what about their graphic libraries?<span id="more-222"></span></p>
<p>Graphic libraries exist to take the page from the rendering engine and onto the screen. They&#8217;ve been underexposed for some time because the rendering engines caused the most grief, but with those getting rapidly better, little annoyances with the graphic libraries start to appear. </p>
<h3>Google Chrome</h3>
<p>When Google announced Google Chrome and it turned out to use the Webkit rendering engine, I think everyone collectively sighed in relief. <em>Not yet another browser to support!</em> Well, that was until it became known that Google Chrome actually doesn&#8217;t support a lot of Webkit&#8217;s more advanced CSS stuff such as text-shadow or transformations. The reason for this is called <strong><a href="http://www.satine.org/archives/2008/09/02/skia-source-code-released/">Skia</a></strong>.</p>
<p>Skia is the <em>graphic library</em> Google Chrome uses. Webkit renders the page and then Skia actually paints it on the screen. All fair and well, but Google Chrome is the only browser to use Skia. Safari, which also used Webkit, uses the <a href="http://developer.apple.com/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_concepts/chapter_2_section_1.html#//apple_ref/doc/uid/TP30001185-CH202-TPXREF101">Core Image libraries</a>. So while you may expect that the stuff that works in Safari also works in Google Chrome, that won&#8217;t always be the case. The result: <strong>Same rendering engine, different looking sites.</strong></p>
<h3>Firefox</h3>
<p>Another example: Firefox uses the Gecko rendering engine. It used to use the Pango graphics library but some time ago they switched to <a href="http://www.cairographics.org/">Cairo</a>, which dramatically improved Firefox&#8217;s graphic rendering. However because of Cairo, fixed elements, when viewed on Linux, jitter. If you&#8217;re on Linux, and scroll this website, the top right background jitters. <em>Very annoying</em>, especially since this doesn&#8217;t happen on Mac or Windows. This isn&#8217;t a problem of gecko, but of Cairo having to (re)paint the site on the screen. </p>
<h3>So what does this mean?</h3>
<p>Do we all have to buckle up for a new era of browser hacking and working around more and more cross-graphic-libraries oddities? No, I don&#8217;t think so. I don&#8217;t think this will really become a big problem. </p>
<p>However, very few people know about the how and why of these differences. <strong>As a front-end developer it will help you build better websites if you do.</strong> So will you?</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/web/on-rendering-engines-and-graphic-libraries/">On rendering engines and graphic libraries</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=lRkZN"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=lRkZN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=avOdn"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=avOdn" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=7LBMn"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=7LBMn" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=5GHbN"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=5GHbN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=TUS7n"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=TUS7n" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=wBF9N"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=wBF9N" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=3A4jN"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=3A4jN" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/web/on-rendering-engines-and-graphic-libraries/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/web/on-rendering-engines-and-graphic-libraries/</feedburner:origLink></item>
		<item>
		<title>Text-shadow in IE with jQuery</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/433068352/</link>
		<comments>http://kilianvalkhof.com/2008/javascript/text-shadow-in-ie-with-jquery/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 01:00:36 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=206</guid>
		<description><![CDATA[<blockquote><p>One handy little thing of Internet Explorer is that it also gives you access to CSS declarations it does <em>not</em> understand</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>With the soon-released FireFox 3.1, three of the four major browsers support text-shadow. That leaves just Internet Explorer with the lack of text-shadow. <a href="http://kilianvalkhof.com/2008/design/almost-cross-browser-text-shadow/">I have already taken care of that problem</a>, but decided to wrap it up in a nice automated jQuery plugin.<span id="more-206"></span></p>
<h3>How it works</h3>
<p>One handy little thing of Internet Explorer is that it also gives you access to CSS declarations it does <em>not</em> understand, so we can simply request the text-shadow value of a given element and process that. For a more in-depth explanation of how the technique itself works, please read <a href="http://kilianvalkhof.com/2008/design/almost-cross-browser-text-shadow/">the original article</a>. It should work in Internet Explorer 5.5 to Internet Explorer 8, since I also added the new Internet Explorer 8 version of filter, <a href="http://blogs.msdn.com/ie/archive/2008/09/08/microsoft-css-vendor-extensions.aspx">-ms-filter</a>. </p>
<h3>Demo</h3>
<p><a href="/uploads/jquerytextshadow/">Demo</a>. <em>Works only in Internet Explorer.</em> :)</p>
<h3>The Plugin</h3>
<p>The plugin itself offers two functions: <code>textShadow();</code> and <code>removeTextShadow();</code>, which do what you expect them to do. </p>
<p><code>textShadow();</code> Allows you to optionally overwrite the text-shadow declaration from your CSS to tweak the look of the text-shadow in Internet Explorer, if needed. The available options look like this:</p>
<pre><code>$(elem).textShadow({
	color:   "#000",
	xoffset: "5px",
	yoffset: "5px",
	radius:  "5px",
	opacity: "50"
});</code></pre>
<p>You&#8217;ll notice that all the regular options of text-shadow are there but that I&#8217;ve also added opacity, which helps tweak the intensity of the text-shadow. It&#8217;s translates to Internet Explorer alpha-opacity, so it&#8217;s range is 0 to 100. 50 works best in most cases and is also the default.</p>
<h3>Limitations</h3>
<p>There is really only one major limitation, it just doesn&#8217;t look as good as native text-shadow support in the other browsers. It works pretty well for average-sized text-shadows, but it falls apart on smaller or larger sizes. Tweaking it may help, but <abbr title="Your Mileage May Vary">YMMV</abbr>.</p>
<p>Another small limitation is that the <code>padding-top</code> and <code>padding-left</code> of the elements that get a shadow need to be in pixels, otherwise it won&#8217;t work. I could theoretically write something that takes care of <code>em</code>, <code>%</code>, <code>cm</code>, <code>mm</code>, <code>pt</code>, <code>pc </code><em>and</em> <code>in</code>, but I&#8217;d really rather not.</p>
<h3>Download</h3>
<p>Here you go: <strong><a href="/uploads/jquerytextshadow/jquery.textshadow.js">jquery.textshadow.js</a></strong>. Tested with jQuery 1.2+ but will probably work with older versions as well.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/javascript/text-shadow-in-ie-with-jquery/">Text-shadow in IE with jQuery</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=yIEsM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=yIEsM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=HPJgm"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=HPJgm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=wxJJm"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=wxJJm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=Sf3KM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=Sf3KM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=89g2m"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=89g2m" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=f0QXM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=f0QXM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=BUAOM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=BUAOM" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/javascript/text-shadow-in-ie-with-jquery/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/javascript/text-shadow-in-ie-with-jquery/</feedburner:origLink></item>
		<item>
		<title>Twitter search in sidebar using Greasemonkey</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/412327387/</link>
		<comments>http://kilianvalkhof.com/2008/javascript/twitter-search-in-sidebar-using-greasemonkey/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 01:00:13 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=183</guid>
		<description><![CDATA[<blockquote><p>There is one awesome thing about doing stuff with Greasemonkey: <em>it's easy</em></p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>Twitter&#8217;s recent redesign is great, but quite a few people missed the Twitter people search, or hoped it would add the new search.twitter.com in the sidebar. As I hadn&#8217;t done anything with Greasemonkey yet, but wanted to play around with it for some time, I decided to combine the two.<span id="more-183"></span></p>
<h3>Twitter search in sidebar</h3>
<p>Click the link to install it using <a href="http://greasespot.net">Greasemonkey</a>: <strong><a href="/uploads/twittersearch.user.js">twittersearch.user.js</a></strong></p>
<p>And this is what it looks like:<br />
<img src="http://farm4.static.flickr.com/3149/2911915166_cc8605f649.jpg?v=0" alt="screenshot by Robert Gaal"/></p>
<h3>Greasemonkey</h3>
<p>There is one awesome thing about doing stuff with Greasemonkey: <em>it&#8217;s easy</em>. You&#8217;re just writing regular javascript and some comments that tell Greasemonkey the name and description, which websites to apply to (or not to apply to) and <em>that&#8217;s it</em>. The above script took me about an hour, including eating my dinner. </p>
<p>If you need to do heavier stuff and want to make use of library&#8217;s, <a href="http://wiki.greasespot.net/Code_snippets#Use_jQuery_in_a_GreaseMonkey_script">you can do that, too</a>. The only gotcha I really had, had to do with innerHTML (<strong>shock!</strong>) that acted a bit icky with onfocus functions and parameters in quotes. Solution: remove the quotes. </p>
<p><em>Onfocus</em>? Not event listeners? Well, no. Greasemonkey script themselves are javascript already, so if it&#8217;s in the page, then the user has javascript on. Using an onfocus then is just much easier :)</p>
<p>There are a couple of websites I looked around to find info on Greasemonkey:</p>
<ul>
<li><a href="http://diveintogreasemonkey.org/">Dive into Greasemonkey</a></li>
<li><a href="http://wiki.greasespot.net/Main_Page">The Greasemonkey wiki</a></li>
</ul>
<p>If there&#8217;s an annoyance with a website you use often, and you think you could fix it easily, then Greasemonkey is an excellent way to do that fast and easy. Do you have any tips for Greasemonkey?</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/javascript/twitter-search-in-sidebar-using-greasemonkey/">Twitter search in sidebar using Greasemonkey</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=Yi4JM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=Yi4JM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=JHPTm"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=JHPTm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=GOCDm"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=GOCDm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=Mo0KM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=Mo0KM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=DlnXm"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=DlnXm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=YuoFM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=YuoFM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=XMKmM"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=XMKmM" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/javascript/twitter-search-in-sidebar-using-greasemonkey/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/javascript/twitter-search-in-sidebar-using-greasemonkey/</feedburner:origLink></item>
		<item>
		<title>Absolute positioning Vs. floats</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/399618028/</link>
		<comments>http://kilianvalkhof.com/2008/css-xhtml/absolute-positioning-vs-floats/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 01:00:28 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[CSS &amp; (X)HTML]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=178</guid>
		<description><![CDATA[<blockquote><p>They're both right. Each method breaks faster, but in different situations.</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>It seems that there is a divide between people saying you should use absolute positioning and people saying you should use floats, both claiming that the other method breaks faster.<span id="more-178"></span></p>
<h3>They&#8217;re both right.</h3>
<p>Of course, it&#8217;s all about <em>when</em> you use which method. In some cases, absolute positioning breaks faster and it&#8217;s better to use floats, while in other situations it&#8217;s better to use absolute positioning because floats would break the layout. luckily for us, there is one very simple rule:</p>
<blockquote><p>If elements should not interact, use absolute positioning, if they should, use floats.</p>
</blockquote>
<p>It&#8217;s that simple. Lets take this site for example. The searchform in the top right uses fixed positioning (which mostly behaves like absolute positioning) because it will, and it must, never interact with the other elements on the website. However if you scroll down to the footer, you can see 4 lists next to each other. It&#8217;s entirely possible that there are only two or three lists available. In that case, you do not want a gap on the left or in the middle, you want the elements to interact and line up nicely starting from the left. That&#8217;s what floats do for you.</p>
<p>If you want a more in-depts explaination of css positioning, check out my articles on them: </p>
<ul>
<li><a href="http://kilianvalkhof.com/2008/css-xhtml/understanding-css-positioning-part-1/">Understanding CSS positioning, part 1</a></li>
<li><a href="http://kilianvalkhof.com/2008/css-xhtml/understanding-css-positioning-part-2/">Understanding CSS positioning, part 2</a></li>
<li><a href="http://kilianvalkhof.com/2008/css-xhtml/understanding-css-positioning-part-3/">Understanding CSS positioning, part 3</a></li>
</ul>
<p>So, now you know that it&#8217;s not black and white (<em>It&#8217;s grey!</em>). There are times when you use floats, and there are times when you use absolute positioning. In my opinion, correctly styled floats are much more robust than absolute positioning, so I personally tend to use them more. How about you?</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/css-xhtml/absolute-positioning-vs-floats/">Absolute positioning Vs. floats</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=qC0AL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=qC0AL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=B7Xcl"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=B7Xcl" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=N8L9l"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=N8L9l" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=dPVgL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=dPVgL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=fTH9l"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=fTH9l" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=lPItL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=lPItL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=iWdNL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=iWdNL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/css-xhtml/absolute-positioning-vs-floats/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/css-xhtml/absolute-positioning-vs-floats/</feedburner:origLink></item>
		<item>
		<title>When will pixels become obsolete?</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/386212278/</link>
		<comments>http://kilianvalkhof.com/2008/design/when-will-pixels-become-obsolete/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 01:00:09 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=167</guid>
		<description><![CDATA[<blockquote><p>The pixel will become less and less the "solid" measure most Front end developers regard it as.</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>No matter how many EM&#8217;s or percentages we use in our design, we are still locked down with pixels for images and screen sizes. For how much longer?<span id="more-167"></span></p>
<p>It used to be so easy. Every screen was 72DPI, so you were quite certain in how large or small something would display on a monitor. Nowadays, websites are viewed on all sorts of devices with all sorts of DPI. Most screens have 72 or 92DPI, some have 120DPI. An iPhone has 160DPI and regular cellphones have around 100 to 200DPI</p>
<p>That means that your 400px wide image will look very different on a range of monitors, and that the pixel will become less and less the &#8220;solid&#8221; measure most Front end developers regard them as. This isn&#8217;t new, Roger Johansson blogged about it <a href="http://www.456bereastreet.com/archive/200606/safari_brings_high_resolution_to_the_web/">two years ago</a>.</p>
<p>One thing the article mentions is that a CSS pixel is not always equal to a device pixel (otherwise zooming would be impossible, for instance). Unfortunately, as you can read in the same article, this doesn&#8217;t mean you can go merrily about your ways, because it will <em>still</em> look different on a screen with higher or lower DPI.</p>
<h3>what now?</h3>
<p>I think that in the future, pixel based designs will not be a viable option for web design any more. Technologies such as SVG and CANVAS, coupled with relative sizing (relative to the base size of browsers), or even the CSS gradients, repetition and stretching background options CSS3 and the Webkit team bring us, will be used in favour of jpg&#8217;s, gif&#8217;s and png&#8217;s. For most website designs, SVG etc. would be easier to use and maintain than pixel based formats. But alas, not all browsers support it yet.</p>
<p>However, this doesn&#8217;t completely solve the problem, because there are plenty of photographs used in web design. What about those? The current idea is to give higher resolution images to screens with a higher DPI and lower resolution images to screens with lower DPI. I am uncertain if this will work, as it essentially doubles the work of a web designer.</p>
<h3>Well, will they become obsolete?</h3>
<p>I certainly hope so! It might not be in the next couple of years, but in a decade or so, I think web developers won&#8217;t be thinking in pixels any more.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/design/when-will-pixels-become-obsolete/">When will pixels become obsolete?</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=pGnYL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=pGnYL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=M12Rl"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=M12Rl" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=sg2Ol"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=sg2Ol" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=JC8LL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=JC8LL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=wiGGl"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=wiGGl" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=5x6NL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=5x6NL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=cF3PL"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=cF3PL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/design/when-will-pixels-become-obsolete/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/design/when-will-pixels-become-obsolete/</feedburner:origLink></item>
		<item>
		<title>Creating your own chances</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/380047753/</link>
		<comments>http://kilianvalkhof.com/2008/life/creating-your-own-chances/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 01:00:00 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=141</guid>
		<description><![CDATA[<blockquote><p>Show the passion you have for what you do, when you can.</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>I spent the summer in Barcelona. It has been the most social time of my life, I think. As I write this, it&#8217;s a little past midnight and I&#8217;ve been in my room, alone, for the entire evening. Ah, contrast.<span id="more-141"></span></p>
<div class="twocol">
<p>I would&#8217;ve never gotten a job offer in Barcelona if I didn&#8217;t open myself up to it, didn&#8217;t show passion for working abroad by contacting different people and making ways for them to contact me.</p>
<p>Sure, I didn&#8217;t get that internship abroad that I would&#8217;ve liked, but a week after that I was working, <em>working</em> in Spain and living 50m from the beach. And now I have two fantastic job offers ready back here in the Netherlands. If I can, so can you.</p>
<h3>Passion</h3>
<p>Most of you have a passion for working with the web. It doesn&#8217;t always come trough in clinic blog posts about technique this or that, or in talking about petty details with your client. Show it more. Get angry at your boss if he doesn&#8217;t give you the time you need. Excite your colleagues with a great new technique. Say no to a client that is being unreasonable, write <em>this</em> blog article. <strong>Be honest, show Passion.</strong></p>
<p>Show the passion you have for what you do, when you can. Don&#8217;t take &#8220;<a href="http://www.themaninblue.com/images/writing/perspective/2008/08/12/small_talk.gif">Oh! I&#8217;ve got this problem with my email&hellip;</a>&#8221; for an answer.</p>
<p><strong>Get angry, get exited</strong>. It&#8217;s scary, it makes you vulnerable and it might even work out adversely but that&#8217;s fine, don&#8217;t care about people that can&#8217;t handle someone with passion for what they do. Remember:</p>
</div>
<h3 class="closingtext">By showing passion, you create your own chances.</h3>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/life/creating-your-own-chances/">Creating your own chances</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=yBNKnK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=yBNKnK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=vzDUGk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=vzDUGk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=3pE6ok"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=3pE6ok" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=V8h5uK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=V8h5uK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=16LJ7k"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=16LJ7k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=NVSqVK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=NVSqVK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=REOurK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=REOurK" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/life/creating-your-own-chances/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/life/creating-your-own-chances/</feedburner:origLink></item>
		<item>
		<title>The CSS3 :not() selector</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/374076281/</link>
		<comments>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 08:11:07 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[CSS &amp; (X)HTML]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135</guid>
		<description><![CDATA[<blockquote><p>The <code>:not()</code> selector is only supported by modern browsers, <code>:not(IE)</code>.</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>There isn&#8217;t a lot of information to be found about the <code>:not()</code> selector. The specifications only offer 3 lines of text and a couple of examples. So lets see what it can do!<span id="more-135"></span></p>
<h3>The Specification</h3>
<blockquote><p>The negation pseudo-class, :not(X), is a functional notation taking a simple selector [&hellip;] as an argument. It represents an element that is not represented by the argument. </p></blockquote>
<p>What it says here, is that a selector with a <code>:not()</code> in it will match all elements that <em>do not</em> match what&#8217;s between the parenthesis. </p>
<p>A simple selector is a term used in the specifications. A simple selector is: a single element, attribute selector, class, id or pseude-class.</p>
<p>Examples of simple selectors:</p>
<pre><code>body
*
[value="foo"]
.foo
#foo
:hover</code></pre>
<p>Basically, any of the above type, but with only <em>one</em> selector. </p>
<h3>The browsers</h3>
<p>The <code>:not()</code> selector is only supported by modern browsers (Firefox, Safari and Opera), <code>:not(IE)</code>.</p>
<p>Let&#8217;s take a look at what browsers allow you to do:</p>
<pre><code>div:not(.home) {&hellip;}</code></pre>
<p>This selects all div elements that do not have the class <code>.home</code></p>
<pre><code>div *:not(p) em {&hellip;}</code></pre>
<p>This selects all em elements that are in an element (that is not a p element) and that are in a div element. so <code>&lt;div&gt;&lt;strong&gt;&lt;em&gt;&hellip;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;</code> is a match, but <code>&lt;div&gt;&lt;p&gt;&lt;em&gt;&hellip;&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</code> is not.</p>
<pre><code>input:not([type="file"]) {&hellip;}</code></pre>
<p>This uses the attribute selector to select all input element, save for the file upload ones. </p>
<p>I was surprised to find out that</p>
<pre><code>h2:not(.foo, .bar) {&hellip;}</code></pre>
<p>also works. You can give the <code>:not()</code> selector a comma separated list as well! (Tested in Firefox 3) This is surprising, because it&#8217;s not documented as such in the specifications.</p>
<p>You can use the <code>:not()</code> selector as a part of a large selector. I&#8217;ve done this a few times in my current design:</p>
<pre><code>li:not(.pingback) .comment-content p:first-child:first-line {&hellip;}
body:not(.home) h2 + p:first-letter {&hellip;}
.post:not(.first-post) a:hover {&hellip;}</code></pre>
<p>The <code>:not()</code> selector is a nice addition to the CSS Tookit, and it can already be used in a way that allows for graceful degradation, such as I do on this website. If you have any nice experiences with <code>:not()</code>, please share them in the comments!</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/">The CSS3 :not() selector</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=vvainK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=vvainK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=xYkP1k"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=xYkP1k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=xG3qrk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=xG3qrk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=DF6dJK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=DF6dJK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=cgMHgk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=cgMHgk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=hRFrsK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=hRFrsK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=rKNRSK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=rKNRSK" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/</feedburner:origLink></item>
		<item>
		<title>Popular posts for Wordpress 2.6</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/367656407/</link>
		<comments>http://kilianvalkhof.com/2008/wordpress/popular-posts-for-wordpress-26/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 01:00:27 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=130</guid>
		<description><![CDATA[<blockquote><p>I wanted something that wasn't so common, so I had to make something for myself.</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>On my homepage, I have the three most popular posts. Finding a plugin that did what I wanted <em>and</em> that worked with Wordpress 2.6 proved to be quite impossible.<span id="more-130"></span></p>
<p>I wanted something that wasn&#8217;t so common: display the title, category, date, comments <em>and</em> excerpt, so I had to make something for myself.</p>
<h3>What it does</h3>
<p>At the moment, it&#8217;s quite basic. It sorts the posts on comment count, and displays the top <em>n</em> articles. I have three on my homepage. It uses the excellent <a href="http://rmarsh.com/plugins/">post plugin library</a> to get the date, category and excerpt into shape. (so, the post plugin library is needed for this to work). The code is based off of <a href="http://wordpress.org/support/topic/188045">this example</a> from the Wordpress forums.</p>
<h3>The Code</h3>
<p>I haven&#8217;t looked into making wordpress plugins yet, so my popular post solution is just a snippet you can include in your theme:</p>
<pre><code>&lt;?php
	$sql='SELECT post_title, comment_count, guid, post_date, post_content, ID
	      FROM wp_posts
	      ORDER BY comment_count DESC
	      LIMIT 3;';
	$popresults = $wpdb-&gt;get_results($sql);

	foreach ($popresults as $r) {
		echo '&lt;div class="post"&gt;';
		echo '	&lt;h3&gt;&lt;a href="' . $r-&gt;guid . '"&gt;' . $r-&gt;post_title .'&lt;/a&gt;';
		echo '		&lt;span&gt;'. otf_categorylinks($r-&gt;ID, $r,', ').',';
		echo '			&lt;abbr title="'. oth_format_date($r-&gt;post_date, "j F Y") . '"&gt;'. oth_format_date($r-&gt;post_date, "j/m") . '&lt;/abbr&gt;,';
		echo '			&lt;abbr title="' . $r-&gt;comment_count . ' comments"&gt;' . $r-&gt;comment_count . '&lt;/abbr&gt;';
		echo '		&lt;/span&gt;';
		echo '	&lt;/h3&gt;';
		echo '	&lt;p&gt;'. oth_trim_excerpt($r-&gt;post_content, '45') .'…&lt;/p&gt;';
		echo '&lt;/div&gt;';
	}
?&gt;</code></pre>
<p>This snippet can be improved in a lot of ways. For one, making it a plugin would be a good idea. Secondly, attaching a time-based element would be nice, so that it can become &#8220;the popular posts of last month&#8221; instead of the all-time popular posts. Even more interesting would be linking it to the <a href="http://wordpress.org/extend/plugins/stats/">WP-Stats</a> plugin. That offers an &#8220;active posts&#8221; lists, which seems to be based off of comments and visits to a certain posts over a limited period of time.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/wordpress/popular-posts-for-wordpress-26/">Popular posts for Wordpress 2.6</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=yPQULK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=yPQULK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=1rtIik"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=1rtIik" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=3dO67k"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=3dO67k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=HbQ42K"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=HbQ42K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=YVA0nk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=YVA0nk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=jh4Q0K"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=jh4Q0K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=87QoBK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=87QoBK" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/wordpress/popular-posts-for-wordpress-26/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/wordpress/popular-posts-for-wordpress-26/</feedburner:origLink></item>
		<item>
		<title>My first design is finally done</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/363934659/</link>
		<comments>http://kilianvalkhof.com/2008/design/my-first-design-is-finally-done/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 14:23:05 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=99</guid>
		<description><![CDATA[<blockquote><p>This site is made with a <strong>screw IE</strong> attitude</p></blockquote>]]></description>
			<content:encoded><![CDATA[<p>After over a year and a half, I finally have a design of my own. It&#8217;s been announced way too many times, but now it&#8217;s really here. Find out what happened to the tagline, after the break!<span id="more-99"></span></p>
<h3>Design wise</h3>
<p>This is actually the first design I made on a Linux machine (<em>nerd</em>), and the first design that went directly from sketch to html. My sketches were more detailed because of this, and I might add them to the article later, when I have a good camera at hand. In any case it means I didn&#8217;t buy fancy pencils for nothing :) Most of the typography was actually sketched out, instead of added as an afterthought. The header is set in <a href="http://www.insignedesign.com/Typeface.aspx?FamilyName=Asturias">Asturias</a>.</p>
<p>Besides that, the whole website adheres to a vertical rhythm of 18px (even my form elements!), largely the cause of the <em>awesome</em> <a href="http://sencss.kilianvalkhof.com">SenCSs</a>. There is a pretty strict grid as well. It might seem quite small if you have a fancy 24&#8243; monitor, but since I have an Asus EEE, I wanted it to work on there as well. I can create 1, 2, 3 or 4 columns within my style, with space to the right of the design where I can put extra stuff. I might experiment with that in time.</p>
<p>I&#8217;m using my <a href="http://kilianvalkhof.com/2008/css-xhtml/context-hover-adding-context-feedback-to-your-links/">Context Hover</a> javascript trick as well,  I think it works very nice on this site.</p>
<p>I liked the idea of having as little administrative cruft available as possible, and initially didn&#8217;t have a search form at all. This is functionality I wanted to offer though, so I settled for what you currently see. It&#8217;s in the top right corner with <code>position:fixed</code>, more part of the browser window (right below your google search bar) than my website. Huzzah! I also removed the sharing options, and made the meta information as small and invisible as possible.</p>
<p>Oh, and about the tagline, it&#8217;s still there for those who look :)</p>
<h3>Code Wise</h3>
<p>Yep, I used SenCSs for this design, and that took away about 50% of the styling needs. I&#8217;m so happy with developing it :) There are probably some things here and there that I&#8217;m going to change in SenCSs 0.4.7, or, if I can finish the form part, they&#8217;ll go straight into 0.5 :) (0.5 being the first version to include form styling). </p>
<p>HTML-wise it&#8217;s quite boring. xhtml strict, nothing spectacular. I went down a scale in headings in articles. (So what was <code>h2</code> with the old design will be <code>h3</code> in the new design.) Will be interesting to see what Google thinks of that&hellip;</p>
<p>I&#8217;m also happy to tell you that this site is made with a <strong>screw IE</strong> attitude. I can do this, because IE users are only about 15% of my visitors. Most of the site will work for them, the fancy stuff won&#8217;t. What fancy stuff, you ask? Well, That would be fancy CSS selectors such as these:</p>
<pre><code>h2 + p:first-line
.first-post > p:first-line
.comment-form .left ~ button
<a href="http://kilianvalkhof.com/2008/css-xhtml/your-best-css-selector/">li:not([class=pingback]) .comment-content p:first-child:first-letter</a></code></pre>
<p>I&#8217;m using the <a href="http://rmarsh.com/plugins/similar-posts/">similar posts plugin</a> to display related posts at the bottom of my articles, which works pretty well and I find myself browsing through my backlog, so I hope you will, too. :)</p>
<p>On the homepage I have the three most popular posts. Anyone that has searched for a plugin to take care of that and works with Wordpress 2.6 probably found out there isn&#8217;t one. So I had to make my own little snippet* that uses the post options plugin. I&#8217;ll post an article with the code in the next couple of days. *<em>my Wordpress-fu isn&#8217;t good enough to develop plugins yet</em></p>
<h3>More than a weblog</h3>
<p>I like the idea of this just being a weblog, but I am also a freelancer, and wouldn&#8217;t mind showcasing that on my site a bit more. So the <a href="#">projects</a> page will include both open source and client work. I got some cool things lined up for release. On the homepage I&#8217;m displaying a list of projects I developed or am involved with. Currently that&#8217;s just SenCSs, but expect that to fill up in the near future. </p>
<h3>Your Thoughts?</h3>
<p>I&#8217;m quite interested in your thoughts on the design and the website in general, let me know in the comments and if you&#8217;re browser is hot enough, I&#8217;ll give you a sweet <code>:first-letter</code> and <code>first-line</code> effect! ;)</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/design/my-first-design-is-finally-done/">My first design is finally done</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=zRLXkK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=zRLXkK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=12svdk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=12svdk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=7m1qkk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=7m1qkk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=HZ0g3K"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=HZ0g3K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=GTQg2k"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=GTQg2k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=1awOzK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=1awOzK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=OcXI2K"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=OcXI2K" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/design/my-first-design-is-finally-done/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/design/my-first-design-is-finally-done/</feedburner:origLink></item>
		<item>
		<title>Your best CSS selector?</title>
		<link>http://feeds.feedburner.com/~r/Kilianvalkhofcom/~3/355364999/</link>
		<comments>http://kilianvalkhof.com/2008/css-xhtml/your-best-css-selector/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 14:15:29 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
		
		<category><![CDATA[CSS &amp; (X)HTML]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=91</guid>
		<description><![CDATA[I am making great progress on my new design, and one of the decisions I made was to just forget about IE and use all the css I want. This lead to perhaps the best CSS selector I have ever written:
li:not([class=pingback]) .comment-content p:first-child:first-letter

Which is one of the selectors I use to style the comment section [...]]]></description>
			<content:encoded><![CDATA[<p>I am making great progress on my new design, and one of the decisions I made was to just forget about IE and use all the css I want. This lead to perhaps the best CSS selector I have ever written:<span id="more-91"></span></p>
<pre><code>li:not([class=pingback]) .comment-content p:first-child:first-letter
</code></pre>
<p>Which is one of the selectors I use to style the comment section of my new design. Not bad, is it? </p>
<p><em>Sorry for the delay on the second part of <a href="http://kilianvalkhof.com/2008/javascript/building-your-own-lightbox-part-1/">Building your own lightbox</a>. The article is proving itself to be, how do I say it, <em>humongous</em>.</em></p>
<p>So, for this week, <strong>Tell me your best CSS selector!</strong></p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!</p>
<p><a href="http://kilianvalkhof.com/2008/css-xhtml/your-best-css-selector/">Your best CSS selector?</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=LHdd2K"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=LHdd2K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=USzqbk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=USzqbk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=Szbpak"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=Szbpak" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=V4FgIK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=V4FgIK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=WLTDLk"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=WLTDLk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=kJy2WK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=kJy2WK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Kilianvalkhofcom?a=nBv2iK"><img src="http://feeds.feedburner.com/~f/Kilianvalkhofcom?i=nBv2iK" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2008/css-xhtml/your-best-css-selector/feed/</wfw:commentRss>
		<feedburner:origLink>http://kilianvalkhof.com/2008/css-xhtml/your-best-css-selector/</feedburner:origLink></item>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetFeedData?uri=Kilianvalkhofcom</feedburner:awareness></channel>
</rss><!-- Dynamic Page Served (once) in 0.726 seconds --><!-- Cached page served by WP-Super-Cache -->
