<?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>The CSS Ninja &#187; rant</title>
	<atom:link href="http://www.thecssninja.com/category/rant/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thecssninja.com</link>
	<description>All things CSS, JavaScript &#38; HTML</description>
	<lastBuildDate>Sat, 21 Jan 2012 02:06:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Top 8 April Fools websites of 2009</title>
		<link>http://www.thecssninja.com/rant/top-8-april-fools-2009</link>
		<comments>http://www.thecssninja.com/rant/top-8-april-fools-2009#comments</comments>
		<pubDate>Sun, 05 Apr 2009 12:56:06 +0000</pubDate>
		<dc:creator>Ryan Seddon</dc:creator>
				<category><![CDATA[rant]]></category>
		<category><![CDATA[April Fools]]></category>
		<category><![CDATA[Pranks]]></category>

		<guid isPermaLink="false">http://www.thecssninja.com/?p=228</guid>
		<description><![CDATA[Each and every the web produces some of the best April Fools jokes across the globe, some go all out and create fantastic often highly involved and well thought out pranks. Let take a look at the top 8. &#160; 8. Google gBall&#8482; An Australian specific Google April Fool&#8217;s joke this explores their new fantasy [...]]]></description>
			<content:encoded><![CDATA[<p>Each and every the web produces some of the best April Fools jokes across the globe, some go all out and create fantastic often highly involved and well thought out pranks. Let take a look at the top 8.<span id="more-228"></span></p>
<div class="clear">&nbsp;</div>
<h2 class="subtitle02">8. Google gBall&trade;</h2>
<p>An Australian specific Google April Fool&#8217;s joke this explores their new fantasy product for Aussie Rules Football. Lets users track their stats by using the <a href="http://www.google.com.au/intl/en/gball/">gBall&trade;</a> with inbuilt GPS &amp; Accelerometer.</p>
<p><a href="http://www.google.com.au/intl/en/gball/"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_gball.png" alt="Google gBall" title="Google gBall" width="609" height="288" class="article-img main-img" /></a></p>
<h2 class="subtitle02">7. Reddit&#8217;s new layout</h2>
<p>A classic little &#8220;digg&#8221; at a competing site, <a href="http://www.reddit.com/r/classic/">reddit rebranded their website</a> to a hilarious reddigg to match that of digg.com layout. </p>
<p><a href="http://www.reddit.com/r/classic/"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_reddigg.png" alt="Reddit&#039;s new layout" title="Reddit&#039;s new layout" width="609" height="222" class="article-img main-img" /></a></p>
<h2 class="subtitle02">6. Internet reboot</h2>
<p>The popular sitepoint website announced that due to several reason&#8217;s the <a href="http://www.sitepoint.com/blogs/2009/04/01/internet-reboot-today/">internet will need to be rebooted</a> to help increase stability and hopefully decrease spam.</p>
<p><a href="http://www.sitepoint.com/blogs/2009/04/01/internet-reboot-today/"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_internet-reboot.png" alt="Internet reboot" title="Internet reboot" width="609" height="289" class="article-img main-img" /></a></p>
<h2 class="subtitle02">5. IE 8.1</h2>
<p>Smashing Magazine got breaking news of the soon to be released <a href="http://www.smashingmagazine.com/2009/03/31/breaking-internet-explorer-81-eagle-eyes-leaked/">Internet Explorer 8.1</a> with fast improvements including support for Firefox extensions!</p>
<p><a href="http://www.smashingmagazine.com/2009/03/31/breaking-internet-explorer-81-eagle-eyes-leaked/"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_ie81.png" alt="Internet Explorer 8.1" title="Internet Explorer 8.1" width="609" height="364" class="article-img main-img" /></a></p>
<h2 class="subtitle02">4. Microsoft requests a bailout package.</h2>
<p>Troubling times ahead, <a href="http://www.infoworld.com/d/adventures-in-it/microsoft-asks-feds-bailout-720">Microsoft is requesting a rescue package</a> of a cool $20 billion claiming they are too big to fail.</p>
<p><a href="http://www.infoworld.com/d/adventures-in-it/microsoft-asks-feds-bailout-720"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_microsoft-bailout.png" alt="Microsoft&#039;s $20 billion bailout" title="Microsoft&#039;s $20 billion bailout" width="609" height="385" class="article-img main-img" /></a></p>
<h2 class="subtitle02">3. The Guardian switches from print to Twitter</h2>
<p>UK&#8217;s The Guardian has decided to switch all its articles to <a href="http://www.guardian.co.uk/media/2009/apr/01/guardian-twitter-media-technology">appear exclusively on Twitter</a>.</p>
<blockquote cite="http://www.guardian.co.uk/media/2009/apr/01/guardian-twitter-media-technology"><p>Consolidating its position at the cutting edge of new media technology, the Guardian today announces that it will become the first newspaper in the world to be published exclusively via Twitter, the sensationally popular social networking service that has transformed online communication.</p></blockquote>
<p><a href="http://www.guardian.co.uk/media/2009/apr/01/guardian-twitter-media-technology"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_guardian-twitter.png" alt="The Guardian switches to Twitter" title="The Guardian switches to Twitter" width="609" height="303" class="article-img main-img" /></a></p>
<h2 class="subtitle02">2. Save IE6</h2>
<p>A new campaign to <a href="http://www.saveie6.com/">save IE6 was launched</a> arguing that IE6&#8242;s longevity is a clear sign everyone should still be using it.</p>
<p><a href="http://www.saveie6.com/"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_save-ie6.png" alt="Save IE6 campaign" title="Save IE6 campaign" width="609" height="175" class="article-img main-img" /></a></p>
<h2 class="subtitle02">1. Facial gestures</h2>
<p>Opera announced a new feature for their browser that would enable people to <a href="http://labs.opera.com/news/2009/04/01/">navigate through websites via facial gestures.</a></p>
<p><a href="http://labs.opera.com/news/2009/04/01/"><img src="http://www.thecssninja.com/wp-content/uploads/2009/04/gr_facial-gestures.png" alt="Opera&#039;s new facial gestures" title="Opera&#039;s new facial gestures" width="609" height="332" class="article-img main-img" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecssninja.com/rant/top-8-april-fools-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chroming: How google is changing the browser</title>
		<link>http://www.thecssninja.com/rant/chroming-how-google-is-changing-the-browser</link>
		<comments>http://www.thecssninja.com/rant/chroming-how-google-is-changing-the-browser#comments</comments>
		<pubDate>Mon, 23 Mar 2009 11:23:22 +0000</pubDate>
		<dc:creator>Ryan Seddon</dc:creator>
				<category><![CDATA[rant]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html 5]]></category>

		<guid isPermaLink="false">http://www.thecssninja.com/?p=187</guid>
		<description><![CDATA[The browser wars are in full effect once again thanks to a healthy plethora of browsers available such as Safari, Firefox, Opera and Chrome all leading the way in the addition of new and exciting features in the upcoming CSS3 &#38; html 5 specifications. But the real war this time is in the JavaScript engine [...]]]></description>
			<content:encoded><![CDATA[<p>The browser wars are in full effect once again thanks to a healthy plethora of browsers available such as Safari, Firefox, Opera and Chrome all leading the way in the addition of new and exciting features in the upcoming <a href="http://www.w3.org/TR/css3-roadmap/">CSS3</a> &amp; <a href="http://dev.w3.org/html5/spec/Overview.html">html 5</a> specifications.</p>
<p><span id="more-187"></span>But the real war this time is in the JavaScript engine which was ignited when Google came into the browsers wars with their Chrome release sporting the <a href="http://code.google.com/p/v8/">ridiculously fast V8 JavaScript engine</a>, which blew any of the previous engines out of the water with its shear speed. <a href="https://wiki.mozilla.org/JavaScript:TraceMonkey" title="Mozilla's upcoming JavaScript engine caled Tracemonkey">Mozilla</a>, <a href="http://webkit.org/blog/189/announcing-squirrelfish/" title="Webkit's upcoming JavaScript engine called Squirrelfish">Webkit</a> and <a href="http://my.opera.com/core/blog/2009/02/04/carakan/" title="Opera's upcoming JavaScript engine called Carakan">Opera</a> are all playing catch up by releasing their own super fast JavaScript engines. This can only mean great things for the users, not only will the browser rival performance of a desktop app, in some cases will outperform it.</p>
<p>Chrome has just released a new beta of their browser sporting an even faster update to their <a href="http://chrome.blogspot.com/2009/03/google-chrome-has-new-beta_17.html">javascript engine boasting a 25% increase</a> in speed of JavaScript execution.<br />
Enough with all the geeky crap what does this mean to your average user? Awesome tools that can be used natively in the browser with no extensions or plugins needed. Google has launched a new site showing the power of the JavaScript engine called <a href="http://www.chromeexperiments.com/">Chrome Experiments</a>. These showcases aren&#8217;t limited to the Chrome browser they do work in the latest stable releases of Safari, Opera &#038; Firefox but their performance on some of the more intensive examples doesn&#8217;t match that of Chrome.</p>
<p>With new releases of browsers due to drop soon such as Safari 4, Opera 10 &#038; Firefox 3.5 (all boasting extremely fast JavaScript engines and support for the latest and greatest in html 5 &#038; CSS3) these sort of experiments can only become more viable in real world situations creating rich interactive websites using nothing more than html &#038; JavaScript.</p>
<p>Google engineers are hard at work to constantly improve on their already fantastic work, with impending releases of Chrome for Mac OS X & Linux; its user base will only begin to rise creating a healthy competition between vendors which can only mean great things for consumers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecssninja.com/rant/chroming-how-google-is-changing-the-browser/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t kill IE6, degrade it.</title>
		<link>http://www.thecssninja.com/css/dont-kill-ie6-degrade-it</link>
		<comments>http://www.thecssninja.com/css/dont-kill-ie6-degrade-it#comments</comments>
		<pubDate>Wed, 11 Mar 2009 11:12:57 +0000</pubDate>
		<dc:creator>Ryan Seddon</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://www.thecssninja.com/?p=94</guid>
		<description><![CDATA[Buzz about the internet has been rampant this year with many claiming that this is it, 2009 will be the death of IE6. A campaign in Norway has declared war with some great success. There are now some high profile Norwegian sites following with a week long campaign to educate users on more suitable browsers [...]]]></description>
			<content:encoded><![CDATA[<p>Buzz about the internet has been rampant this year with many claiming that this is it, 2009 will be the death of IE6. <a href="http://labs.finn.no/blog/finn-anbefaler-ie6-brukere-a-oppgradere-sin-nettleser">A campaign in Norway has declared war</a> with some great success. There are now some high profile Norwegian sites following with a week long campaign to educate users on more suitable browsers they can use instead of IE6.<br />
<span id="more-94"></span></p>
<p>As a front-end developer there is considerable time involved in making some of IE6&#8242;s short comings work the way they do in more standard compliant browsers. But with a large user base still using IE6, and this is usually not their choice but is part of their internal legacy infrastructure. We don&#8217;t have solid ground to stop supporting IE6 all together. A client paying a large amount of money would expect their product to work regardless of what browser they use and usually they aren&#8217;t even aware what browser they are using. It would only fuel frustration to a user to have a big message appear stating they are using obsolete software.</p>
<h2 class="subtitle02">Don&#8217;t kill it, degrade it</h2>
<p>What is really needed is for front-end developers to gracefully degrade a website in IE6. A website is still very much functional but doesn&#8217;t have all the bells and whistles of a more modern browser. Let&#8217;s take a look at 5 things we can do that won&#8217;t ruin the experience for a user in IE6. For users of good browsers their experience will only be made more appealing through the techniques we are about to go through.</p>
<h2 class="subtitle02">Rounded corners</h2>
<p>This website utilises rounded corners on the link whoring box at the top of each post. It uses a mixture of CSS 3&#8242;s <a href="http://www.css3.info/preview/rounded-border/">border-radius property</a>, along with the propriety implementations of this property by mozilla &#038; webkit.</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #6666ff;">.resources01</span>
<span style="color: #00AA00;">&#123;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span>;
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span>;
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Border radius is set to 6px for all corners, you can of course set all 4 corners to be different using the clockwise motion top, right, bottom and left. The -webkit &#038; -moz is set so it will work in firefox and webkit based browsers such as safari.</p>
<h2 class="subtitle02">Transparency using RGBA</h2>
<p>Another example would be utilising the <a href="http://www.css3.info/preview/rgba/">rgba property to accomplish transparency</a> of an element, and as a fallback for non supporting browsers would be to use a solid colour. Why not use opacity you ask? The difference is that rgba will not cascade the opacity level set to the parent to its child elements as opacity currently does.</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">div <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">rgb</span><span style="color: #00AA00;">&#40;</span>0<span style="color: #00AA00;">,</span> 0<span style="color: #00AA00;">,</span> 0<span style="color: #00AA00;">&#41;</span>;
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> rgba<span style="color: #00AA00;">&#40;</span>0<span style="color: #00AA00;">,</span> 0<span style="color: #00AA00;">,</span> 0<span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">0.7</span><span style="color: #00AA00;">&#41;</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The example above would make all div elements black and if it supports rgba the black would become 70% transparent. Some of the earlier Firefox releases would read from the rgba property but not apply the transparency, the reason it is there twice is because browsers like IE will skip the rgba element as it doesn&#8217;t know what it is.</p>
<h2 class="subtitle02">Custom fonts</h2>
<p>Custom fonts without flash or javascript using <a href="http://www.css3.info/preview/web-fonts-with-font-face/">@font-face</a>. If the browser doesn&#8217;t support it it will utilise the base set browser font. This upcoming feature which is currently only supported in safari 3.1 &#038; 4, Opera 10 alpha and the upcoming Firefox 3.5 is bound to get some solid use as there is no consequence with using it if the browser doesn&#8217;t support it. </p>
<p><span style="font-family: Gesture;">If you&#8217;re looking at this sentence in a supporting browser it should be rendered out using a custom font.</span></p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face</span>
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Gesture; <span style="color: #808080; font-style: italic;">/* name the custom font for use on elements */</span>
	src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'Gesture.ttf'</span><span style="color: #00AA00;">&#41;</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h1
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Gesture; <span style="color: #808080; font-style: italic;">/* Applies custom font all h1's */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h2 class="subtitle02">Multiple columns</h2>
<p style="column-width: 200px; column-gap: 16px; -moz-column-width: 200px; -moz-column-gap: 16px; -webkit-column-width: 200px; -webkit-column-gap: 16px;">If you have ever wanted to split paragraphs into multiple columns you can use the <a href="http://www.css3.info/preview/multi-column-layout/">multi-column properties</a> so a paragraph could mimic that of a newspaper layout with thin columns of text. This feature has been around for quite a while, it&#8217;s been in Firefox since version 1.5. Viewing this in a supporting browser will be split the text into 2 columns. Depending on the column-width and the room the paragraph has got to work with it will span more columns than 2, unless column-count is specified.</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">p
<span style="color: #00AA00;">&#123;</span>
	column-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span>;
	column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span>;
	-moz-column-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span>;
	-moz-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span>;
	-webkit-column-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span>;
	-webkit-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h2 class="subtitle02">Drop shadows</h2>
<p>Setting up drop shadows to work fluidly has been a headache in any browser, IE6 makes it worse by not supporting 24bit transparency in png images. CSS 3 is to the rescue again with 2 great properties <a href="http://www.css3.info/preview/text-shadow/">text-shadow</a> &#038; <a href="http://www.css3.info/preview/box-shadow/">box-shadow</a>. Text shadow was proposed in CSS 2 but the only browser to implement it was safari.</p>
<p style="text-shadow: 3px 3px 3px #fff;">The following text will have a white shadow around it in supporting browsers.</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">p
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span> <span style="color: #933;">3px</span> <span style="color: #933;">3px</span> <span style="color: #cc00cc;">#fff</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>We can also set shadows to block elements with box-shadow, such as a div. This is much more useful than text-shadow property.</p>
<div style="box-shadow: 10px 10px 10px #fff; -webkit-box-shadow: 10px 10px 10px #fff; background-color: #000; padding: 10px; margin: 0 0 2em;">
<p style="margin: 0;">In supporting browsers this black box should have a white shadow appear around it with 10px offset from the bottom and right and a 10px blur radius to give it a feathered look.</p>
</div>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">div
<span style="color: #00AA00;">&#123;</span>
	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#fff</span>;
	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#fff</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h2 class="subtitle02">And now to put it all together</h2>
<div class="css3fest">
<p>In a really good browser you should see the box have rounded corners have a transparent background, the paragraph of text should be split into 2 columns, the text should be rendered in a non standard font and finally the text and containing box should have drop shadows.</p>
</div>
<p>It should be noted that these techniques, support may be sporadic between different browsers and if it&#8217;s a must for all browsers it may not be a viable option. But these are all safe to use as they are non destructive if the browser doesn&#8217;t support it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecssninja.com/css/dont-kill-ie6-degrade-it/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

