<?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>John On Web Stuff &#187; CSS</title>
	<atom:link href="http://blog.geekyjohn.com/category/programming/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.geekyjohn.com</link>
	<description>My take on web things. Sometimes witty. Sharing of stuff.</description>
	<lastBuildDate>Tue, 06 Apr 2010 11:26:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS Formatting Woes</title>
		<link>http://blog.geekyjohn.com/2009/11/css-formatting-woes/</link>
		<comments>http://blog.geekyjohn.com/2009/11/css-formatting-woes/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:01:14 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.geekyjohn.com/?p=210</guid>
		<description><![CDATA[As much as I like to save some bandwidth here and there, going in to edit a stylesheet where each rule is on its own line can be a nightmare. I went in search of some CSS formatting tools to make life a little easier. (Because who wants to reformat 4000 lines of CSS by [...]]]></description>
			<content:encoded><![CDATA[<p>As much as I like to save some bandwidth here and there, going in to edit a stylesheet where each rule is on its own line can be a nightmare. I went in search of some CSS formatting tools to make life a little easier. (Because who wants to reformat 4000 lines of CSS by hand, right?).</p>

<h2>Validness</h2>

<p>It’s always a good idea to try and keep your CSS as valid as possible. On occasion you might need to put some hacks in there for IE6 or IE7 – if there are many, it’s probably a good idea to separate those out to stylesheets that are then loaded in with conditional comments.</p>

<p>To validate your CSS, head over to <a title="http://jigsaw.w3.org/css-validator/" href="http://jigsaw.w3.org/css-validator/" target="_blank">http://jigsaw.w3.org/css-validator/</a> – there you can point to a stylesheet URL, upload a file, or directly input CSS and have it validated.</p>

<h2>Formatting</h2>

<p>To format CSS you can use the “Clean CSS” service at <a title="http://www.cleancss.com/" href="http://www.cleancss.com/" target="_blank">http://www.cleancss.com/</a>.</p>

<p>Input the CSS you want to format and choose from several options, hit submit, and voilà, out comes formatted CSS – it also lets you know the code changes that it made.</p>

<h3>The options</h3>

<p>From the dropdown select the type of formatting you want. For a production output you should probably choose “High (moderate readability, smaller size)”, if you want to make CSS more readable, use the “Low (higher readability)” option.</p>

<p>Unless you know what you’re doing – you should probably leave “Sort selectors” and “sort properties” unchecked, as these have the potential to break the cascade of styles in your stylesheet.</p>

<p>I personally prefer to keep the “Compress font-weight” option unchecked &#8211; (e.g. this changes <code>font-weight:bold;</code> to <code>font-weight:700;</code> doesn’t quite read the same).</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F11%2Fcss-formatting-woes%2F&amp;linkname=CSS%20Formatting%20Woes" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F11%2Fcss-formatting-woes%2F&amp;linkname=CSS%20Formatting%20Woes" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F11%2Fcss-formatting-woes%2F&amp;linkname=CSS%20Formatting%20Woes" title="Slashdot" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F11%2Fcss-formatting-woes%2F&amp;linkname=CSS%20Formatting%20Woes" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F11%2Fcss-formatting-woes%2F&amp;linkname=CSS%20Formatting%20Woes"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2009/11/css-formatting-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write less with Less to make more CSS</title>
		<link>http://blog.geekyjohn.com/2009/07/write-less-with-less-to-make-more-css/</link>
		<comments>http://blog.geekyjohn.com/2009/07/write-less-with-less-to-make-more-css/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 02:55:25 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.geekyjohn.com/?p=191</guid>
		<description><![CDATA[Less is a CSS pre-processor that I came across recently and there seems to be quite the buzz going around about it. Including some discussion about what is good about it, what really sucks about it, and so on.

After seeing some of the drawbacks, and the advantages of using Less, I've decided that it should be put through it's paces and I'll be trying to use it in a project in the near future so I can see if it will be a benefit.]]></description>
			<content:encoded><![CDATA[<p><a title="Less CSS" href="http://http://lesscss.org/" target="_blank">Less</a> is a <abbr title="Cascading Style Sheets">CSS</abbr> pre-processor that I came across a short while ago and there is quite a bit of buzz going around about it, including <a title="Write better CSS with Less - Sitepoint.com" href="http://www.sitepoint.com/blogs/2009/06/30/write-better-css-with-less/" target="_blank">some discussion at Sitepoint</a> about what is good about it, what really sucks about it, and so on.</p>

<p>After seeing some of the drawbacks, and the advantages of using Less, I&#8217;ve decided that it should be put through it&#8217;s paces and I&#8217;ll be trying to use it in a project in the near future so I can see if it will be a benefit.</p>

<h3>A quick breakdown of what Less is</h3>

<p>Less adds variables, mixins, operations and nested rules to CSS. This will enable us to treat our CSS a bit more like a programming language rather than a style descriptor language.</p>

<p><span id="more-191"></span></p>

<h3>Compiling</h3>

<p>You write Less in to a <code>.less</code> file and use the Less compiler to turn it into a <code>.css</code> file.</p>

<p>Worried about having to compile all the time? With the Less compiler, simply set the &#8216;watch&#8217; option on the command line and it will keep tabs of your <code>.less</code> file and compile it whenever there are changes.</p>

<p>To do a quick compile:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$  lessc styles.less my_styles.css</pre></div></div>


<p>You can leave the name of the css file off, if you do, Less will use the same filename as the <code>.less</code> file, with a <code>.css</code> extention of course.
To watch a file:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$  lessc styles.less <span style="color: #660033;">--watch</span></pre></div></div>


<h3>Variables</h3>

<p>Variables in CSS are an <strong><em>fantastic</em></strong> concept, I can&#8217;t believe that they weren&#8217;t part of the CSS spec in the first place! For example, by being able to define a colour or width in a variable, you can save yourself a lot of time and hassle. Seriously, who wants to remember that the brand colour for your current client is #0062fc?
Consider the following CSS that you would normally write:</p>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#0062fc</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
h2 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#0062fc</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<p>You would write this in Less as follows:</p>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@brand_colour: #0062fc;</span>
p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #a1a100;">@brand_colour; }</span>
h2 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #a1a100;">@brand_colour; }</span></pre></div></div>


<p>This is of course a very simple example, I&#8217;m sure that if you think about the implications of this, that you&#8217;ll see how powerful having variables in a language like CSS really is.</p>

<h3>Mixins</h3>

<p>Mixins are essentially rules that are included in other rules.
Instead of doubling up on writing the same bit of code for several items, you include the code that is generic in the other class. Think of it a very simplified extending of classes in OO languages.</p>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.bordered</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span> <span style="color: #00AA00;">&#123;</span>
  .bordered<span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>


<h3>Nested rules</h3>

<p>You can also nest rules with Less, meaning that you&#8217;ll have to write less code and you can write code that is cleaner to read.
For example:</p>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sidebar</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
  p <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#00c</span><span style="color: #00AA00;">;</span>
  <span style="color: #00AA00;">&#125;</span>
  q <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">italic</span><span style="color: #00AA00;">;</span>
  <span style="color: #00AA00;">&#125;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>


<p>This would be compiled to:</p>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sidebar</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#00c</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> q <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">italic</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<h3>Operations</h3>

<p>You can perform all sorts of operations on numbers, colours, pixel values. This will allow you quickly do things like set something to the same width as the main wrapper minus an arbitrary amount.</p>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@main_page_width: 800px;</span>
<span style="color: #a1a100;">@sidebar_width: 200px;</span>
&nbsp;
<span style="color: #cc00cc;">#content</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #a1a100;">@main_page_width - @sidebar_width;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>


<p>As you can see Less can be very helpful in writing CSS, rather, writing less CSS to achieve more, quicker. Since you don&#8217;t have to spend a lot of time learning the syntax of the language, you can get right on with coding!</p>

<p>Make sure you check out the <a title="Less CSS" href="http://http://lesscss.org/" target="_blank">Less website</a> for more information.</p>

<p>Less runs on Ruby, and has to be installed as a Ruby gem. I have had a play around with this on my Macbook, I have yet to give it a whirl on my Windows machine to see how easy this is to use on that platform. You don&#8217;t need to build your website using Ruby, or Ruby on Rails, you only need to have Ruby installed on the computer that your are using to build your site.</p>

<p>I have also seen 2 other CSS pre-processors, <a href="http://code.google.com/p/dtcss/" target="_blank">dtCSS</a> and <a href="http://www.shauninman.com/archive/2008/05/30/check_out_css_cacheer" target="_blank">CSS Cacheer</a>. Both are PHP based, and might be worth a look if Less isn&#8217;t what you&#8217;re after.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2009/07/write-less-with-less-to-make-more-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1 line CSS Grid Framework</title>
		<link>http://blog.geekyjohn.com/2009/06/1-line-css-grid-framework/</link>
		<comments>http://blog.geekyjohn.com/2009/06/1-line-css-grid-framework/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 01:30:11 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[grid framework]]></category>

		<guid isPermaLink="false">http://blog.afterlight.net.au/?p=124</guid>
		<description><![CDATA[This is the challenge of writing entire CSS layout system with one line CSS class. I just wanted to prove how easy CSS can be, and with little imagination we can be build cool things. via Carrer Blog: 1 line CSS Grid Framework. I wouldn&#8217;t mind giving a simple grid framework like this a try, [...]]]></description>
			<content:encoded><![CDATA[<blockquote>This is the challenge of writing entire CSS layout system with one line CSS class.

I just wanted to prove how easy CSS can be, and with little imagination we can be build cool things.</blockquote>

<p>via <a href="http://www.vcarrer.com/2009/06/1-line-css-grid-framework.html">Carrer Blog: 1 line CSS Grid Framework</a>.</p>

<p>I wouldn&#8217;t mind giving a simple grid framework like this a try, quite often we do have to deal with columns of similar widths. If only designers would follow some simple rules, like actually making sure that they have everything line up with a grid.</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F06%2F1-line-css-grid-framework%2F&amp;linkname=1%20line%20CSS%20Grid%20Framework" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F06%2F1-line-css-grid-framework%2F&amp;linkname=1%20line%20CSS%20Grid%20Framework" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F06%2F1-line-css-grid-framework%2F&amp;linkname=1%20line%20CSS%20Grid%20Framework" title="Slashdot" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F06%2F1-line-css-grid-framework%2F&amp;linkname=1%20line%20CSS%20Grid%20Framework" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F06%2F1-line-css-grid-framework%2F&amp;linkname=1%20line%20CSS%20Grid%20Framework"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2009/06/1-line-css-grid-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add-on for an add-on: FireScope</title>
		<link>http://blog.geekyjohn.com/2009/01/add-on-for-an-add-on-firescope/</link>
		<comments>http://blog.geekyjohn.com/2009/01/add-on-for-an-add-on-firescope/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 02:05:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.afterlight.net.au/?p=103</guid>
		<description><![CDATA[What&#8217;s the world coming to when we&#8217;ve got add-ons for add-ons in Firefox? This extension comes shortly after the announcement that Sitepoint have put up their JavaScript Reference. The new extension pulls in information from their reference, at the moment it only works for the HTML and CSS reference, but once the JavaScript reference is [...]]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s the world coming to when we&#8217;ve got add-ons for add-ons in Firefox?</p>

<p>This extension comes shortly after the <a href="http://www.sitepoint.com/blogs/2009/01/27/introducing-the-new-sitepoint-css-html-javascript-online-references/" target="_blank">announcement</a> that Sitepoint have put up their <a href="http://reference.sitepoint.com/javascript" target="_blank">JavaScript Reference</a>.</p>

<p>The <a href="http://www.sitepoint.com/blogs/2009/01/27/introducing-firescope-the-sitepoint-reference-tool-for-firebug/" target="_blank">new extension</a> pulls in information from their reference, at the moment it only works for the HTML and CSS reference, but once the JavaScript reference is more complete we might see that integrated as well.</p>

<p><span id="more-103"></span></p>

<blockquote><a href="http://tools.sitepoint.com/firescope/" target="_blank">FireScope</a> is a Firefox add-on that integrates with Firebug, to extend it with reference material for HTML and CSS.

The extension&#8217;s core functionality is centered around a new Reference panel, which contains a search tool for looking up HTML elements, attributes, and CSS properties.

The extension also hooks into context-menus in the HTML and CSS panels, the DOM crumbtrail, and the Inspector, adding options to look up a selected item ie. search for it in the Reference panel or to view a code example.</blockquote>

<p>At first glance, this little addition to Firebug/Firefox doesn&#8217;t strike one as more than just a gimmick, but it&#8217;s usefulness soon becomes apparent when trying to find out more about a CSS property or HTML element.</p>

<p>All in all most of us who are hardcore HTML and CSS programmers won&#8217;t always find the reference that fantastic, but it&#8217;s of course for those little used elements and properties where the reference is useful (when was the last time you used the CSS <code>clip</code> property? Anyone?).</p>

<p>One of the more useful things I&#8217;ve already become fan of, is the browser support table shown for elements and properties. This allows you to quickly see if there is a buggy implementation, or perhaps only partial support in certain browsers for whatever it is you&#8217;re trying to do.</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fadd-on-for-an-add-on-firescope%2F&amp;linkname=Add-on%20for%20an%20add-on%3A%20FireScope" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fadd-on-for-an-add-on-firescope%2F&amp;linkname=Add-on%20for%20an%20add-on%3A%20FireScope" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fadd-on-for-an-add-on-firescope%2F&amp;linkname=Add-on%20for%20an%20add-on%3A%20FireScope" title="Slashdot" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fadd-on-for-an-add-on-firescope%2F&amp;linkname=Add-on%20for%20an%20add-on%3A%20FireScope" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fadd-on-for-an-add-on-firescope%2F&amp;linkname=Add-on%20for%20an%20add-on%3A%20FireScope"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2009/01/add-on-for-an-add-on-firescope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Selector Shell Shows You Stuff</title>
		<link>http://blog.geekyjohn.com/2009/01/css-selector-shell-shows-you-stuff/</link>
		<comments>http://blog.geekyjohn.com/2009/01/css-selector-shell-shows-you-stuff/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 03:47:13 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.afterlight.net.au/?p=97</guid>
		<description><![CDATA[The CSS Selector Shell gives you a nice way to find out how the browser that you&#8217;re using interpets the CSS given. The shell is a browser-based tool for testing what CSS becomes in different browsers. This could seriously be a big help for debugging problems between browsers, especially when looking at inherited styles. (Found [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://selector-shell.appspot.com/">CSS Selector Shell</a> gives you a nice way to find out how the browser that you&#8217;re using interpets the CSS given. The shell is a browser-based tool for testing what CSS becomes in different browsers. This could seriously be a big help for debugging problems between browsers, especially when looking at inherited styles. (Found at <a href="http://ajaxian.com/archives/css-selector-shell-see-what-the-browsers-see" target="_blank">Ajaxian</a>)</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fcss-selector-shell-shows-you-stuff%2F&amp;linkname=CSS%20Selector%20Shell%20Shows%20You%20Stuff" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fcss-selector-shell-shows-you-stuff%2F&amp;linkname=CSS%20Selector%20Shell%20Shows%20You%20Stuff" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fcss-selector-shell-shows-you-stuff%2F&amp;linkname=CSS%20Selector%20Shell%20Shows%20You%20Stuff" title="Slashdot" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fcss-selector-shell-shows-you-stuff%2F&amp;linkname=CSS%20Selector%20Shell%20Shows%20You%20Stuff" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Fcss-selector-shell-shows-you-stuff%2F&amp;linkname=CSS%20Selector%20Shell%20Shows%20You%20Stuff"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2009/01/css-selector-shell-shows-you-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From the Department of Badly Chosen Defaults</title>
		<link>http://blog.geekyjohn.com/2009/01/from-the-department-of-badly-chosen-defaults/</link>
		<comments>http://blog.geekyjohn.com/2009/01/from-the-department-of-badly-chosen-defaults/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 23:44:13 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://blog.afterlight.net.au/?p=91</guid>
		<description><![CDATA[Note that all the other browsers use bicubic interpolation for scaling by default, because that’s the only thing that make sense, but IE requires a non-standard CSS extension. So, pictures on this site should be a little smoother for those of you determined to use Internet Explorer. From the Department of Badly Chosen Defaults &#8211; [...]]]></description>
			<content:encoded><![CDATA[<blockquote>Note that all the other browsers use bicubic interpolation for scaling by default, because that’s the only thing that make sense, but IE requires a non-standard CSS extension. So, pictures on this site should be a little smoother for those of you determined to use Internet Explorer.</blockquote>

<p><a href="http://joelonsoftware.com/items/2008/12/22.html">From the Department of Badly Chosen Defaults &#8211; Joel on Software</a>.</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Ffrom-the-department-of-badly-chosen-defaults%2F&amp;linkname=From%20the%20Department%20of%20Badly%20Chosen%20Defaults" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Ffrom-the-department-of-badly-chosen-defaults%2F&amp;linkname=From%20the%20Department%20of%20Badly%20Chosen%20Defaults" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Ffrom-the-department-of-badly-chosen-defaults%2F&amp;linkname=From%20the%20Department%20of%20Badly%20Chosen%20Defaults" title="Slashdot" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Ffrom-the-department-of-badly-chosen-defaults%2F&amp;linkname=From%20the%20Department%20of%20Badly%20Chosen%20Defaults" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2009%2F01%2Ffrom-the-department-of-badly-chosen-defaults%2F&amp;linkname=From%20the%20Department%20of%20Badly%20Chosen%20Defaults"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2009/01/from-the-department-of-badly-chosen-defaults/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Will Save Us All</title>
		<link>http://blog.geekyjohn.com/2008/10/javascript-will-save-us-all/</link>
		<comments>http://blog.geekyjohn.com/2008/10/javascript-will-save-us-all/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 11:25:54 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Eric Meyer]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[selectors]]></category>

		<guid isPermaLink="false">http://blog.afterlight.net.au/?p=38</guid>
		<description><![CDATA[A while back, I woke up one morning thinking, John Resig’s got some great CSS3 support in jQuery but it’s all forced into JS statements. I should ask him if he could set things up like Dean Edwards‘ IE7 script so that the JS scans the author’s CSS, finds the advanced selectors, does any necessary [...]]]></description>
			<content:encoded><![CDATA[<blockquote>A while back, I woke up one morning thinking, John Resig’s got some great CSS3 support in jQuery but it’s all forced into JS statements. I should ask him if he could set things up like Dean Edwards‘ IE7 script so that the JS scans the author’s CSS, finds the advanced selectors, does any necessary backend juggling, and makes CSS3 selector support Transparently Just Work. And then he could put that back into jQuery.

<a href="http://meyerweb.com/eric/thoughts/2008/10/22/javascript-will-save-us-all/">Eric&#8217;s Archived Thoughts: JavaScript Will Save Us All</a>.</blockquote>

<p>I love CSS, I love jquery. This sounds like an awesome solution to one of those annoying little problems. Backwards compatibility.</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2008%2F10%2Fjavascript-will-save-us-all%2F&amp;linkname=JavaScript%20Will%20Save%20Us%20All" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2008%2F10%2Fjavascript-will-save-us-all%2F&amp;linkname=JavaScript%20Will%20Save%20Us%20All" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2008%2F10%2Fjavascript-will-save-us-all%2F&amp;linkname=JavaScript%20Will%20Save%20Us%20All" title="Slashdot" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2008%2F10%2Fjavascript-will-save-us-all%2F&amp;linkname=JavaScript%20Will%20Save%20Us%20All" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.geekyjohn.com%2F2008%2F10%2Fjavascript-will-save-us-all%2F&amp;linkname=JavaScript%20Will%20Save%20Us%20All"><img src="http://blog.geekyjohn.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.geekyjohn.com/2008/10/javascript-will-save-us-all/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
