<?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"
	>

<channel>
	<title>the vitamin k blog</title>
	<atom:link href="http://vitaminkdesign.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://vitaminkdesign.com/blog</link>
	<description>default theme - just getting up and running</description>
	<pubDate>Fri, 20 Nov 2009 10:07:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Recommended Electrician in Wakefield</title>
		<link>http://vitaminkdesign.com/blog/2009/11/20/recommended-electrician-in-wakefield/</link>
		<comments>http://vitaminkdesign.com/blog/2009/11/20/recommended-electrician-in-wakefield/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 10:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitaminkdesign.com/blog/?p=84</guid>
		<description><![CDATA[As someone who is constantly trying to build a pool of reliable tradesmen that I can call on when a job falls outside my skillset, After recently having a new fusebox and consumer box wired in, I&#8217;m happy to recommend the following wakefield based electrician.
Might be useful to someone, and no&#8230; I didn&#8217;t design the [...]]]></description>
			<content:encoded><![CDATA[<p>As someone who is constantly trying to build a pool of reliable tradesmen that I can call on when a job falls outside my skillset, After recently having a new fusebox and consumer box wired in, I&#8217;m happy to recommend the following <a title="electricain based in ossett, nr wakefield - West Yorks" href="http://www.aandjelectrical.co.uk">wakefield based electrician.</a></p>
<p>Might be useful to someone, and no&#8230; I didn&#8217;t design the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2009/11/20/recommended-electrician-in-wakefield/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Images or elements don&#8217;t appear online in firefox</title>
		<link>http://vitaminkdesign.com/blog/2009/01/21/images-or-elements-dont-appear-online-in-firefox/</link>
		<comments>http://vitaminkdesign.com/blog/2009/01/21/images-or-elements-dont-appear-online-in-firefox/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 13:28:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://vitaminkdesign.com/blog/?p=80</guid>
		<description><![CDATA[This isn&#8217;t a bug report. I&#8217;ve posted this as a reminder to myself and in the hope that it helps to prevent anyone else wasting the time I&#8217;ve just wasted trying to fix a non-existant problem. For the last hour I thought I was looking at a Firefox 3 bug which was making an element [...]]]></description>
			<content:encoded><![CDATA[<p>This isn&#8217;t a bug report. I&#8217;ve posted this as a reminder to myself and in the hope that it helps to prevent anyone else wasting the time I&#8217;ve just wasted trying to fix a non-existant problem. For the last hour I thought I was looking at a Firefox 3 bug which was making an element not appear in the online version of a site. Everything seemed fine offline but when i uploaded the files the element just vanished. The answer? disable ad-blocker extension. Due, probably to the image dimensions or the items ID, my ad-blocker had kicked-in causing a particular image to disappear.</p>
<p>Hope this saves people some man-hours.</p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2009/01/21/images-or-elements-dont-appear-online-in-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Equidistant objects with css - another way</title>
		<link>http://vitaminkdesign.com/blog/2008/10/21/equidistant-objects-with-css-another-way/</link>
		<comments>http://vitaminkdesign.com/blog/2008/10/21/equidistant-objects-with-css-another-way/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 13:10:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Technique]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Web design]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/?p=22</guid>
		<description><![CDATA[I recently read an article about the equidistant spacing of elements with css over at css-tricks.com. The simplicity of the technique really struck me as a case of good old lateral thinking. Despite this I was a little uncomfortable with the extra html that was required to make the technique work.
Inspired by the css-tricks.com solution [...]]]></description>
			<content:encoded><![CDATA[<p>I recently read an article about the equidistant spacing of elements with css over at <a href="http://css-tricks.com/equidistant-objects-with-css/">css-tricks.com.</a> The simplicity of the technique really struck me as a case of good old lateral thinking. Despite this I was a little uncomfortable with the extra html that was required to make the technique work.</p>
<p>Inspired by the css-tricks.com solution I decided to try and solve the same problem with out the need for the extra div&#8217;s.</p>
<p>Admittedly, the solution I came up with isn&#8217;t quite as  clean as the one proposed by Chris Coyier but never the less I feel compelled to share it.</p>
<p><a href="http://www.vitaminkdesign.com/blog/files/layouts/4equidistantobjects6.htm">Here&#8217;s an example </a></p>
<p>It&#8217;s all about lists</p>
<p>firstly, here&#8217;s the basic html&#8230;<br />
<code><br />
&lt;ul class="equal"&gt;<br />
&lt;li class="n1" &gt;&lt;a href="thelink"&gt;the first item&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class="n2" &gt;&lt;a href="thelink"&gt;Another item &lt;/a&gt;&lt;/li&gt;<br />
&lt;li class="n3" &gt;&lt;a href="thelink"&gt;A piece of link text &lt;/a&gt;&lt;/li&gt;<br />
&lt;li class="n4" &gt;&lt;a href="thelink"&gt;this also goes somewhere &lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p>That&#8217;s right, just good old lists with classes to allow us the differentiate between them.</p>
<p>The css</p>
<p>Firstly, all the list items need to be floated, The floats need to be contained within their parent ul and for simplicity I&#8217;ve added a rough and ready css-reset to remove any margins and padding and to remove the default bullets<br />
<code><br />
ul.equal {<br />
padding-left:9em;<br />
height:auto;<br />
zoom:1;/* just for ie - put it in ie only style sheet*/<br />
}<br />
.equal:after{content:".";clear:both;visibility:hidden;height:0px;display:block}<br />
* {	margin: 0px;<br />
padding: 0px;<br />
list-style: none outside;<br />
}<br />
.equal li {<br />
min-width:9em;<br />
float:left;<br />
}<br />
</code></p>
<p>The trick, as with Chris Coyier&#8217;s solution, the trick is to get three of the four items to each take up a third of the overall width. the trick with this technique is to offset the 1st item using a negative margin and use a padding on the containing ul to prevent anything from droping behind it. You&#8217;re now left with a ul which has a width which can be divided into thirds.<br />
<code><br />
.n1{margin-left:-9em;display:inline;/*fix ie6 double margin float bug*/}<br />
.n2,.n3,.n4{width:33.3%!important;text-align:right;width:33.2%;}/*ie6 causes problems due to rounding-up so use a slightly smaller percentage for it.<br />
</code></p>
<p>after the we&#8217;ve got the floated &lt;li&gt;&#8217;s nicely expanding we need to make sure the last three are right-aligned in their respected &lt;li&gt;<br />
<code><br />
.equal a {<br />
background: #fff;<br />
height: 9em;<br />
display:block;<br />
margin:0 0 0 auto;/*right aligns a block element in the good browsers*/<br />
width: 9em;<br />
text-align:center;/*to override the text-align required for ie6 for the parent li*/<br />
}<br />
.equal .n1 a {margin:0;}</code></p>
<p>In the good browsers you can use a min-width to prevent the boxes dropping down onto multiple lines.</p>
<p>As with most layout techniques&#8230; IE 6 has to be coaxed into behaving how would like. The code required to do this would normally be put in a stylesheet of it&#8217;s own using conditional comments but for the purposes of simplicity i&#8217;ve used a couple of hacks to keep everything in one file.</p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/10/21/equidistant-objects-with-css-another-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>rounded corners&#8230; without images</title>
		<link>http://vitaminkdesign.com/blog/2008/10/20/rounded-corners-without-images/</link>
		<comments>http://vitaminkdesign.com/blog/2008/10/20/rounded-corners-without-images/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 14:00:16 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Technique]]></category>

		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/?p=27</guid>
		<description><![CDATA[A piece of css which will create the impression of rounded corners without any images, javascript , proprietary css, and practically no extra html. The method is inspired by a technique used on google reader though I have to say&#8230; I think my methods cleaner.
view demo
Admittedly, it&#8217;s pretty inflexible in that there&#8217;s no control over [...]]]></description>
			<content:encoded><![CDATA[<p>A piece of css which will create the impression of rounded corners without any images, javascript , proprietary css, and practically no extra html. The method is inspired by a technique used on google reader though I have to say&#8230; I think my methods cleaner.</p>
<p><a href="http://vitaminkdesign.com/blog/files/experiments/roundedcorners.htm">view demo</a></p>
<p>Admittedly, it&#8217;s pretty inflexible in that there&#8217;s no control over corner radius (2 pixels) but I though it was worth posting as there may be instances where it comes in useful. I&#8217;ll try and write up the method when I get time but for now you can just view the source.</p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/10/20/rounded-corners-without-images/feed/</wfw:commentRss>
		</item>
		<item>
		<title>new music recommendation site launch</title>
		<link>http://vitaminkdesign.com/blog/2008/05/17/new-music-recommendation-site-launch/</link>
		<comments>http://vitaminkdesign.com/blog/2008/05/17/new-music-recommendation-site-launch/#comments</comments>
		<pubDate>Sat, 17 May 2008 22:43:35 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/2008/05/17/new-music-recommendation-site-launch/</guid>
		<description><![CDATA[Just a quick post to promote a new site I&#8217;ve been working on which sets out to help you find new music. It&#8217;s still in the BETA phase but I&#8217;d be interested in any feedback.
returnr.com - find new music
]]></description>
			<content:encoded><![CDATA[<p>Just a quick post to promote a new site I&#8217;ve been working on which sets out to help you find new music. It&#8217;s still in the BETA phase but I&#8217;d be interested in any feedback.</p>
<p><a href="http://returnr.com" >returnr.com - find new music</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/05/17/new-music-recommendation-site-launch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>3 column scalable elastic layout</title>
		<link>http://vitaminkdesign.com/blog/2008/03/01/3-colom-scalable-elastic-layout/</link>
		<comments>http://vitaminkdesign.com/blog/2008/03/01/3-colom-scalable-elastic-layout/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 22:47:24 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/2008/03/01/3-colom-scalable-elastic-layout/</guid>
		<description><![CDATA[the results of a quick experiment did with a layout consisting of two fixed width side columns and a variable width central column. I also wanted to make the whole thing elastic so it would scale with the browser text size. I&#8217;ve yet to test this &#8216;in the field&#8217; but thought it may be of [...]]]></description>
			<content:encoded><![CDATA[<p>the results of a quick experiment did with a layout consisting of two fixed width side columns and a variable width central column. I also wanted to make the whole thing elastic so it would scale with the browser text size. I&#8217;ve yet to test this &#8216;in the field&#8217; but thought it may be of interest to people anyway&#8230; seems like it may have some potential.</p>
<p>The trick with this one is in the negative margins on the side columns.</p>
<p><a href="http://www.vitaminkdesign.com/blog/files/layouts/3col1.htm" title="3 column, fluid, elastic layout."> Have a look </a></p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/03/01/3-colom-scalable-elastic-layout/feed/</wfw:commentRss>
		</item>
		<item>
		<title>absolute centred layout</title>
		<link>http://vitaminkdesign.com/blog/2008/02/01/absolute-centred-layout/</link>
		<comments>http://vitaminkdesign.com/blog/2008/02/01/absolute-centred-layout/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 14:41:38 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/2008/02/01/absolute-centred-layout/</guid>
		<description><![CDATA[I&#8217;ve created a small example page which demonstrates a method for creating a vertically and horizontally centred box. I decide to put this up after seeing a post over at sniplr.
Here&#8217;s the example: centred css layout
This example is elastic so it scales to the font size. For simplicity, I&#8217;ve not added any hacks for Ie [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a small example page which demonstrates a method for creating a vertically and horizontally centred box. I decide to put this up after seeing a post over at <a href="http://snipplr.com/view/4803/centering-an-element-in-page-with-absolute-position/">sniplr</a>.</p>
<p>Here&#8217;s the example: <a href="http://www.vitaminkdesign.com/blog/files/allcentred/allcentred.htm">centred css layout</a></p>
<p>This example is elastic so it scales to the font size. For simplicity, I&#8217;ve not added any hacks for Ie box model issues.</p>
<p>The key code<br />
<code class="block"><br />
html,body {<br />
<strong> min-height: 100%;    </strong><em>/*this makes sure that the page canvas fills the browser*/</em><br />
background: #efefef;<br />
}<br />
div#popmsg {<br />
<strong> position: absolute;</strong>    <em>/*sets the positioning type*/</em><br />
<strong> width: 18em;</strong>    <em>/*width in ems - keeps things elastic*/</em><br />
<strong> height: 6em;</strong>    <em>/* same for the height */</em><br />
<strong> left: 50%; top: 50%; </strong> <em>/* this line and the next line sets the top left corner of the box to the exact centre of the page */</em><br />
<strong> margin-top: -4em;</strong>    <em>/*then use negative margins top and left to offset the box by half it&#8217;s width*/</em><br />
margin-left: -10em;<br />
border: 1px solid #999999;<br />
background: #FFFFFF;<br />
padding: 1em;<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/02/01/absolute-centred-layout/feed/</wfw:commentRss>
		</item>
		<item>
		<title>css smart footer</title>
		<link>http://vitaminkdesign.com/blog/2008/01/24/css-magic-footer/</link>
		<comments>http://vitaminkdesign.com/blog/2008/01/24/css-magic-footer/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 21:28:10 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/2008/01/24/css-magic-footer/</guid>
		<description><![CDATA[This is short piece of css which allows you to create a page footer which will sit at the bottom of the browser window when the content is not long enough to force it to the bottom of the page but will still sit below the page content when the page has scrollbars (the method [...]]]></description>
			<content:encoded><![CDATA[<p>This is short piece of css which allows you to create a page footer which will sit at the bottom of the browser window when the content is not long enough to force it to the bottom of the page but will still sit below the page content when the page has scrollbars (the method is used  by this site).</p>
<p><a href="http://www.vitaminkdesign.com/blog/files/magicFooter/magic_footer.htm" title="view example of magic footer css" class="popup">View Example</a></p>
<ol>
<li>Set the min-height for the html tag to ensure it always fills the browser window.<code class="block">html {<br />
height: 100%;/*makes the html the full window height*/<br />
}</code></li>
<li>Set the  minimum height for the body tag to %100 and positioning value of &#8216;relative&#8217; this will ensure that the footer, which is a child of the body, will use it as the reference area for absolute positioning. warning IE6 hack!<br />
<code class="block"><br />
body {<br />
min-height: 100%;/*sets the body to the window height*/<br />
_height:100%;/*ie  6 hack - better in a specific stylesheet*/<br />
position: relative;/*tells the footer to use the body the reference when setting position*/<br />
}</code></li>
<li>Position to footer at the bottom of the body<code class="block"> div#footer {<br />
position: absolute;<br />
height: 150px;<br />
bottom: 0;<br />
width: 100%;<br />
left: 0;}<br />
</code></li>
<li>Finally, use whatever element proceeds the footer to create a space for the footer on top of which will never contain content.<code class="block"><br />
div#primary {<br />
padding-bottom: 200px;/*creates space at the bottom of the main content the same height as the footer to prevent anything from disappearing behind it*/<br />
}<br />
</code></li>
</ol>
<p><strong>Tested in windows:</strong><strong><br />
</strong></p>
<ul>
<li>firefox</li>
<li>ie 6</li>
<li>ie 7</li>
<li>opera</li>
<li>Safari</li>
</ul>
<p>(any results from Mac users greatly received)</p>
<p><strong>edit 02/02/08<br />
alternate solution at <a href="http://www.dave-woods.co.uk/?p=170" title="alternate solution">dave-woods.co.uk</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/01/24/css-magic-footer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ie6 select box width fix</title>
		<link>http://vitaminkdesign.com/blog/2008/01/16/ie6-select-boxes/</link>
		<comments>http://vitaminkdesign.com/blog/2008/01/16/ie6-select-boxes/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 15:20:33 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/2008/01/16/ie6-select-boxes/</guid>
		<description><![CDATA[I&#8217;ve looked high and low for a solution to ie 6&#8217;s problematic implementation of form select boxes. It would appear that select box width and the width of the option tags are inseparable. What this means is that if you set a width to the select-box there&#8217;s a good chance that some of the option [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve looked high and low for a solution to ie 6&#8217;s problematic implementation of form select boxes. It would appear that select box width and the width of the option tags are inseparable. What this means is that if you set a width to the select-box there&#8217;s a good chance that some of the option text is going to be cropped. For sites with dynamic content, this leaves us only one solution&#8230; put the select box somewhere with lots of space.</p>
<p>As I&#8217;ve been unable to find a pure css I&#8217;ve resorted to Dom-Scripting for the answer.</p>
<p>To solve the the problem I&#8217;ve created a script  which will allow you to use set widths for the select boxes. The code then  dynamically resizes them when the user interacts with the select box. Once a selection has been made or the element has lost focus the select box is resized back to it&#8217;s original size. In order for the code to work there&#8217;s a few tricks that are going on with the positioning model to prevent the resizing from affecting other elements but hopefully these won&#8217;t be apparent.</p>
<p>This solution isn&#8217;t ideal but with few alternatives it could be the answer.</p>
<p>*note<br />
It&#8217;s worth mentioning that I&#8217;ve seen other scripts which do practically the same thing,  although all the one&#8217;s I&#8217;ve seen use one Framework or another. My solution is bare-bones, self contained, and unobtrusive. hope its useful.</p>
<p><a href="http://www.vitaminkdesign.com/blog/files/fixieSelects/fixieSelects.htm" title="fixieSelects example" class="popup">View the example</a></p>
<p>Update<br />
It&#8217;s worth pointing out that after testing this in the wild I&#8217;ve realised the css usually needs quiet a bit of attention to get it working as intended. At some point I hope to get this working straight out of the box, though my preference would be that poepl stop using ie 6 all together.</p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2008/01/16/ie6-select-boxes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>specss.js</title>
		<link>http://vitaminkdesign.com/blog/2007/12/20/adaptive-class-selectors/</link>
		<comments>http://vitaminkdesign.com/blog/2007/12/20/adaptive-class-selectors/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 15:19:20 +0000</pubDate>
		<dc:creator>10st-blog</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[dom scripting]]></category>

		<guid isPermaLink="false">http://blog.10secondtourism.com/2007/12/20/adaptive-class-selectors/</guid>
		<description><![CDATA[Overview
What is it?
A simple unobstrusive script performs a number of tests on the users browser then adds classes to the html tag of the document accordingly.
What can you do with it?
Create style rules which only apply under certain conditions such as:

browser type
window size
operating system
depending whether flash is enabled
if the page has scrollbars.

Example uses

Tweak layouts for [...]]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<h3>What is it?</h3>
<p>A simple unobstrusive script performs a number of tests on the users browser then adds classes to the html tag of the document accordingly.</p>
<h3>What can you do with it?</h3>
<p>Create style rules which only apply under certain conditions such as:</p>
<ul>
<li>browser type</li>
<li>window size</li>
<li>operating system</li>
<li>depending whether flash is enabled</li>
<li>if the page has scrollbars.</li>
</ul>
<h3>Example uses</h3>
<ul>
<li>Tweak layouts for different browsers.</li>
<li>Simplify hiding of static content when using flash replacement</li>
<li>customise pages for different operating systems including iphone specific styling</li>
<li>adjust layout depending on available space (eg use larger background images for larger screens)</li>
</ul>
<h3>How to use it</h3>
<p>Simply link you html file to the js file,  and you have the following  css classes at your disposal to customise for specific scenarios. <strong>It&#8217;s recommended that this script should be used for progressive enhancement.</strong></p>
<h2>Details</h2>
<h3>browser classes</h3>
<ul>
<li><code>.Dom</code> (browser understands Dom scripting)</li>
<li><code>.isIe / .isIe7</code> (is Internet Explorer, is Internet explorer 7)</li>
<li><code>.isMoz</code> (is Firefox, Mozilla etc)</li>
<li><code>.isOp</code> (it&#8217;s an Opera browser)</li>
<li><code>.isSaf</code> (&#8230;you guessed it, is Safari)</li>
</ul>
<h3>screen size</h3>
<ul>
<li>base browser width (<code>.w640, .w800, .w1024, .w1280</code>)</li>
<li>&#8216;greater than&#8217;  specific screen size for broader rules  (<code>.gtw640, .gtw800, .gtw1024, .gtw1280</code>)</li>
</ul>
<h3>operating system</h3>
<ul>
<li><code>.isWin</code></li>
<li><code>.isMac</code></li>
<li><code>.isUnix</code></li>
<li><code>.isLin</code></li>
<li><code>.isIphone</code></li>
</ul>
<h3>other variables</h3>
<ul>
<li><code>.hasFlash</code> - browser has flash enabled</li>
<li><code>.hasScroll</code> - the page is taller than the browser and consequently has scrollbars</li>
<li><code>.hasImg</code>  - browser supports images (good for safer image replacement)</li>
</ul>
<h3>example</h3>
<p>Only one very basic example at the moment&#8230; but you get the idea. <a href="http://www.vitaminkdesign.com/blog/files/specss/specss.htm">view example</a></p>
<h3>download</h3>
<p><a href="http://www.vitaminkdesign.com/blog/files/specs/specss.js">Download specss.js  (right click - save as)<br />
</a></p>
<p>The current version is untested in all scenarios so any bugs&#8230; let me know.</p>
<h3>update - April 2008</h3>
<p>The previous version had some problems with screen &#8216;flicker&#8217; as the script ran after the page had loaded. To avoid this problem, the html is hidden until after the script has run. This is done with simple &#8216;visibility:hidden&#8217; declaration (reset by speccs.js one the script has loaded) in the css and noscript override so it doesn&#8217;t recreate any issues for non javascript enabled visitors.</p>
]]></content:encoded>
			<wfw:commentRss>http://vitaminkdesign.com/blog/2007/12/20/adaptive-class-selectors/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

