<?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>Smart red fox</title>
	<atom:link href="http://www.smartredfox.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smartredfox.com</link>
	<description>Thoughts from the web and stuff</description>
	<lastBuildDate>Sun, 24 Jan 2010 14:21:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TimeBot is here!</title>
		<link>http://www.smartredfox.com/2010/01/timebot-is-here/</link>
		<comments>http://www.smartredfox.com/2010/01/timebot-is-here/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 15:39:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=196</guid>
		<description><![CDATA[For a while now I&#8217;ve been working on a simple way for people to record their working hours and create timesheets automatically, and now it&#8217;s finally ready for release.
Timebot is an automated system that checks to see if someone is onsite by looking for their mobile phone or bluetooth enabled device. Timebot is easy and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartredfox.com/timebot/"><img class="alignright" title="TimeBot" src="http://www.smartredfox.com/timebot/wp-content/uploads/2010/01/timebotpart1.png" alt="TimeBot is released!" width="200" height="200" /></a>For a while now I&#8217;ve been working on a simple way for people to record their working hours and create timesheets automatically, and now it&#8217;s finally ready for release.</p>
<p><a href="http://www.smartredfox.com/timebot/">Timebot</a> is an automated system that checks to see if someone is onsite by looking for their mobile phone or bluetooth enabled device. <a href="../timebot/">Timebot</a> is easy and quick to configure, and saves a users time out to Google Calendar for easy management and sharing.</p>
<p><a href="http://www.smartredfox.com/timebot/">Take a look now</a> &#8211; any <a href="http://www.smartredfox.com/timebot/contact/">feedback is greatly appreciated</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2010/01/timebot-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Very simple Jquery tooltips</title>
		<link>http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/</link>
		<comments>http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/#comments</comments>
		<pubDate>Fri, 29 May 2009 11:29:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=60</guid>
		<description><![CDATA[UPDATE: I&#8217;ve made a couple of changes to the script to make it easier to use and there&#8217;s now a demo available.

A few weeks back I was looking for a nice simple way of adding tooltips to some buttons on a site &#8211; sometimes an image alone doesn&#8217;t quite convey what the button does in [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: I&#8217;ve made a couple of changes to the script to make it easier to use and there&#8217;s now a demo available.</strong></p>
<p><a href="http://www.smartredfox.com/wp-content/uploads/2008/10/coda.png"><img class="alignright size-full wp-image-79" style="border: 1px solid #ccc;" title="coda" src="http://www.smartredfox.com/wp-content/uploads/2008/10/coda.png" alt="" width="205" height="174" /></a></p>
<p>A few weeks back I was looking for a nice simple way of adding tooltips to some buttons on a site &#8211; sometimes an image alone doesn&#8217;t quite convey what the button does in enough detail.</p>
<p>I found the excellent coda popup bubbles on <a href="http://jqueryfordesigners.com/coda-popup-bubbles/" target="_blank">jQuery for designers</a>, this seemed to do everything I wanted it to, but it meant going through all of my html and adding an additional div with the popup content. That&#8217;s fine for me, but other developers are never going to remember to do this and we really want a consistent user interface.</p>
<p>A little bit more looking led to <a href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/" target="_blank">Web Designer Wall</a> (#5 in the list). They have a very simple technique that <a href="http://www.smartredfox.com/wp-content/uploads/2008/10/webdesignerwall.png"><img class="alignleft size-full wp-image-80" style="border: 1px solid #cccccc;margin-top: 15px;" title="webdesignerwall" src="http://www.smartredfox.com/wp-content/uploads/2008/10/webdesignerwall.png" alt="" width="148" height="127" /></a>pulls the Title text from an image and creates the popup out of this. All of dev&#8217;s are told to add title text to images so this was almost perfect. I say almost perfect because unlike the code bubbles the hover events queue up. This means that if you run you cursor back and forth over the buttons the popups keep firing for a few seconds/minutes after you stop.</p>
<p>So my final stop was to combine the two. I also incorporated any fixes I saw in the comments <img class="alignright size-full wp-image-154" style="border:solid 1px #ccc" title="Smart red fox tooltips." src="http://www.smartredfox.com/wp-content/uploads/2009/05/tooltips.png" alt="Smart red fox tooltips." width="118" height="118" />section of jQuery for Designers.</p>
<p>You can download the <a href="http://www.smartredfox.com/tooltips/tooltips.zip">script here</a>.</p>
<p>Or see a <a href="http://www.smartredfox.com/tooltips/tooltips.htm" target="_blank">demo here</a>.</p>
<p>The image file I use for the tooltips can be <a href="http://www.smartredfox.com/tooltips/tooltips_blue.png">downloaded here</a>, and is free for anyone to use.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Image buttons in an Asp:datagrid for edit/cancel/update</title>
		<link>http://www.smartredfox.com/2009/03/image-buttons-in-an-aspdatagrid-for-editcancelupdate/</link>
		<comments>http://www.smartredfox.com/2009/03/image-buttons-in-an-aspdatagrid-for-editcancelupdate/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 14:45:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=128</guid>
		<description><![CDATA[


Just recently I had to style an asp datagrid that another developer had created. Now almost all of our default styles for this site use simple image buttons for actions but the datagrid automatically pumps out the Edit, Cancel, and Delete buttons as plain text. Unfortunately Microsoft have given very little control to designers/developers over [...]]]></description>
			<content:encoded><![CDATA[<dl id="attachment_130" class="wp-caption alignright" style="width: 282px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-130" title="Text buttons" src="http://www.smartredfox.com/wp-content/uploads/2009/03/nobuttons.png" alt="The Datagrid with text links." width="272" height="221" /></dt>
</dl>
<p>Just recently I had to style an asp datagrid that another developer had created. Now almost all of our default styles for this site use simple image buttons for actions but the datagrid automatically pumps out the Edit, Cancel, and Delete buttons as plain text. Unfortunately Microsoft have given very little control to designers/developers over what is pumped out onto the page, so it&#8217;s pretty much a link, or an input button as standard.</p>
<p>I had a brief look for a way around this and found lots of people with similar problems but no perfect way round this problem.</p>
<p>The simplest way I found around the problem is to put an image tag into the text attribute. E.g.:</p>
<p><span id="more-128"></span></p>
<p><span style="color: #999999;"><strong>&lt;asp:EditCommandColumn HeaderText=&#8221;Actions&#8221; ButtonType=&#8221;LinkButton&#8221; UpdateText=&#8221;<span style="color: #333399;">&lt;img src=&#8217;../images/buttons/small/updatesmall.png&#8217; alt=&#8217;Update&#8217; /&gt;</span>&#8221; CancelText=&#8221;<span style="color: #333399;">&lt;img src=&#8217;../images/buttons/small/cancelsmall.png&#8217; alt=&#8217;Cancel&#8217; /&gt;</span>&#8221; EditText=&#8221;<span style="color: #333399;">&lt;img src=&#8217;../images/buttons/small/editsmall.png&#8217; alt=&#8217;Edit&#8217; /&gt;</span>&#8220;&gt;&lt;/asp:EditCommandColumn&gt;</strong></span></p>
<p>This does work but it doesn&#8217;t have any hover effects on mouse over,  nor does it allow you to use <a href="http://www.alistapart.com/articles/sprites/" target="_blank">css sprites</a> to keep load times down. In this case it also meant that I&#8217;d have to create seperate images for every action.</p>
<p>So what I did instead was the following; I added an itemStyleCssClass attribute to the EditCommandColumn with my button style on it, then I put span&#8217;s into the text for Edit, Cancel, and Update that have a specific class for each button type:</p>
<p><span style="color: #999999;"><strong>&lt;asp:EditCommandColumn HeaderText=&#8221;Actions&#8221;<span style="color: #333399;"> ItemStyle-CssClass=&#8221;grey_small_circle&#8221;</span> ButtonType=&#8221;LinkButton&#8221; UpdateText=&#8221;<span style="color: #333399;">&lt;span class=&#8217;tick&#8217;&gt;Update&lt;/span&gt;</span>&#8221; CancelText=&#8221;<span style="color: #333399;">&lt;span class=&#8217;cancel&#8217;&gt;Cancel&lt;/span&gt;</span>&#8221; EditText=&#8221;<span style="color: #333399;">&lt;span class=&#8217;edit&#8217;&gt;Edit&lt;/span&gt;</span>&#8220;&gt;&lt;/asp:EditCommandColumn&gt;</strong></span></p>
<p>Then I added the following CSS:</p>
<pre class="brush: css">

/*Create buttons and add hover effect */

.grey_small_circle a{background:url(/admin/images/buttons/medium/grey_small_circle.png) no-repeat 0 0;display:block;line-height:30px;margin-top:1px;outline:none;width:31px}
.grey_small_circle a:hover,a:hover.grey_small_circle{background-position:0 -30px;color:#00affc;text-decoration:none}

/* Add the image inside */

.grey_small_circle span{background:transparent url(/images/icons/medium/all.png) no-repeat -288px -252px;display:block;height:30px;text-indent:-9000px;width:32px}

.grey_small_circle span.edit{background-position:-242px -201px}
.grey_small_circle span.redcross{background-position:-13px -252px}
.grey_small_circle span.remove{background-position:-427px -357px}
</pre>
<dl id="attachment_132" class="wp-caption alignleft" style="width: 369px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-132" title="Datagrid with hover buttons." src="http://www.smartredfox.com/wp-content/uploads/2009/03/withbuttons.png" alt="Datagrid with hover buttons." width="359" height="284" /></dt>
</dl>
<p>This css adds the grey circle in the background of the buttons (see the screenshot) and makes the hover work using the <a href="http://www.alistapart.com/articles/slidingdoors/" target="_blank">sliding doors technique</a>.</p>
<p>I then use <a href="http://www.alistapart.com/articles/sprites/" target="_blank">css sprites</a> for putting an action image onto each button (using the class we assigned to the span), this technique speeds up load times and stops the unstyled pauses when a user hovers over a button. The last lines of the css attach a sheet of sprites  (in this case the excellent <a href="http://www.pinvoke.com/" target="_blank">PI Diagona icons from pinvoke</a>) and moves them depending on which button needs to be displayed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2009/03/image-buttons-in-an-aspdatagrid-for-editcancelupdate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jquery page peel script</title>
		<link>http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/</link>
		<comments>http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 11:48:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=94</guid>
		<description><![CDATA[Just recently I needed a page peel script for a client. A look around the &#8216;net lead me to a script that seemed to do everything I needed it to, but it used the document.write method which I&#8217;m not a big fan of, and it all seemed a bit inefficient.
My client was already including jQuery [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-107" title="page_curl" src="http://www.smartredfox.com/wp-content/uploads/2008/12/page_curl.png" alt="page_curl" width="108" height="106" style="border:solid 1px #ccc" />Just recently I needed a page peel script for a client. A look around the &#8216;net lead me to <a href="http://www.dougbelshaw.com/2008/01/26/page-peel-script/" target="_blank">a script</a> that seemed to do everything I needed it to, but it used the document.write method which I&#8217;m not a big fan of, and it all seemed a bit inefficient.</p>
<p>My client was already including jQuery in their pages so it made sense to rewrite the javascript using <a href="http://jquery.com/" target="_blank">jQuery</a>. This also has the added benefit of meaning you no longer have to include the script inside the body tag to get it work in IE7.</p>
<p>While we were testing with users I also spotted a problem with some earlier versions of flash not showing the pictures. The simple but strange solution for this was to use two large images, instead of one small and one large. If you&#8217;re not worried about users with old versions of flash you can just use a 100px x 100px image instead of two 650px x 650px images.</p>
<p>You can download the <a href="http://www.smartredfox.com/test/pagepeel.zip">script here</a>.</p>
<p>Or see a <a href="http://www.smartredfox.com/test/index.htm" target="_blank">demo here</a>.</p>
<p>To use this script you need to edit the peel.js file and put the link and image paths in that you want to use, then put the following in the head of your page:</p>
<pre class="brush: xhtml">
&lt;script src=&quot;/pathtojquery/jquery-1.2.6.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/pathtopeel/peel.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>That&#8217;s it. Just add those lines and the script does the rest. Obvisously change <span class="attribute-value">/pathtojquery/ to the path to<a href="http://jquery.com/" target="_blank"> jQuer</a>y for your site, and </span><span class="attribute-value">change /pathtopeel/to point to where you uploaded the peel.js file.</span></p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>First impressions of YAML</title>
		<link>http://www.smartredfox.com/2008/10/first-steps-with-yaml/</link>
		<comments>http://www.smartredfox.com/2008/10/first-steps-with-yaml/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=45</guid>
		<description><![CDATA[Okay, I&#8217;ll be honest I&#8217;m a bit of a magpie when it comes to web development, and in particular css frameworks. One week I&#8217;ll be telling everyone that&#8217;ll listen (which isn&#8217;t many people) about how great YUI is, and the next week I&#8217;ll be waxing lyrical about the excellent Blueprint framework.
So with that little disclaimer [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartredfox.com/wp-content/uploads/2008/10/yaml.png"><img class="alignright size-full wp-image-65" style="border: 1px solid #ccc;" title="yaml" src="http://www.smartredfox.com/wp-content/uploads/2008/10/yaml.png" alt="YAML logo" width="225" height="169" /></a>Okay, I&#8217;ll be honest I&#8217;m a bit of a magpie when it comes to web development, and in particular css frameworks. One week I&#8217;ll be telling everyone that&#8217;ll listen (which isn&#8217;t many people) about how great YUI is, and the next week I&#8217;ll be waxing lyrical about the excellent Blueprint framework.</p>
<p>So with that little disclaimer out of the way, here&#8217;s my take on the rather excellent YAML CSS framework, and my first foray into using it to layout a site.</p>
<p>First things first; YAML seems to be very well thought out. It claims to be cross browser compliant in almost every browser that&#8217;s still in use by more than one man and his dog, and it fixes most of the major problems web developers run into with the older browsers.</p>
<p>Unlike YUI and some of the other Frameworks you&#8217;ll need to download the css files etc. and host them yourself. These can all be downloaded from <a title="Go to the download page." href="http://www.yaml.de/en/download.html" target="_blank">here.</a></p>
<p>YAML lets you get off to a flying start without any real work creating css reset files etc. After slicing and dicing a design I&#8217;ve been working on for a week I managed to get a site up and running cross-browser on the first attempt. This seems to happen very rarely for me. I&#8217;ll admit there were a few tweaks here and there to make it perfect, but overall it just worked.</p>
<p>It&#8217;s got a few default styles that are well thought out and I&#8217;m already finding myself duplicating them in other projects I work on that don&#8217;t use YAML. I&#8217;ll cover details of some of these styles and a bit more on how to use the framework in later posts.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/10/first-steps-with-yaml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox very slow with Visual Studio and Vista</title>
		<link>http://www.smartredfox.com/2008/09/firefox-very-slow-with-visual-studio-and-vista/</link>
		<comments>http://www.smartredfox.com/2008/09/firefox-very-slow-with-visual-studio-and-vista/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 10:00:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=57</guid>
		<description><![CDATA[
Today I ran into a strange bug that saw me and another developer pulling our hair out, and reverting back to older and older code trying to work out when we introduced the bug.
The problem is this: we have a drag and drop desktop page that does an ajax call when a module is moved [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartredfox.com/wp-content/uploads/2008/10/visual_studio.png"><img class="size-full wp-image-61 alignleft" style="border: 1px solid #ccc;" title="visual_studio" src="http://www.smartredfox.com/wp-content/uploads/2008/10/visual_studio.png" alt="Microsoft Visual Studio" width="321" height="209" /></a></p>
<p>Today I ran into a strange bug that saw me and another developer pulling our hair out, and reverting back to older and older code trying to work out when we introduced the bug.</p>
<p>The problem is this: we have a drag and drop desktop page that does an ajax call when a module is moved (it&#8217;s based on Jquery and Ajaxpro). It all worked fine a few days ago, and it worked fine on our test server that runs IIS, but in the local development environment (Visual Studio 2008 using its local web server) it runs really slow in Firefox3. Other browsers seem fine &#8211; we tested with Chrome, and IE7 with no problems.</p>
<p>After I managed to narrow down that the problem doesn&#8217;t occur once we publish the current code to an IIS box I started to do a little Google fu&#8230;</p>
<p>The problem was actually simple -  It looks like this is a problem with Firefox&#8217;s IPv6 setting. <strong>To fix it type About:config into the address bar in Firefox, Agree to the warning message, and then navigate to the net.dns.DisableIPv6 setting. Double click this setting to set it to true, and close the tab.</strong> That&#8217;s it! The problem should now be fixed.</p>
<p>Credit where credit is due &#8211; I found the <a title="Code Poetry" href="http://codepoetry.wordpress.com/2007/03/27/firefox-very-slow-on-localhost-connections-on-vista/">fix here</a> through my Google fu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/09/firefox-very-slow-with-visual-studio-and-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6 on Vista the easy way&#8230;</title>
		<link>http://www.smartredfox.com/2008/08/ie6-on-vista-the-easy-way/</link>
		<comments>http://www.smartredfox.com/2008/08/ie6-on-vista-the-easy-way/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 10:21:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[virtual pc]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=9</guid>
		<description><![CDATA[




It seems that there&#8217;s two main reasons why people still need good ol&#8217; IE6 running even though they&#8217;ve gone all new fangled and got Vista installed:

Some old Intranet programs just refuse to work with ie7 or Firefox. Some don&#8217;t even try and fail as soon as they see the browser isn&#8217;t ie6, others try and [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl id="attachment_21" class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/ie6_working.jpg"><img class="size-medium wp-image-21" title="ie6_working" src="http://www.smartredfox.com/wp-content/uploads/2008/08/ie6_working-300x248.jpg" alt="IE6 Working" width="300" height="248" /></a></dt>
</dl>
</div>
<p>It seems that there&#8217;s two main reasons why people still need good ol&#8217; IE6 running even though they&#8217;ve gone all new fangled and got Vista installed:</p>
<ol>
<li>Some old Intranet programs just refuse to work with ie7 or Firefox. Some don&#8217;t even try and fail as soon as they see the browser isn&#8217;t ie6, others try and fail miserably because of code targeting ie6 specifically.</li>
<li>You&#8217;re a developer, and as a large number of your users still use IE6 (mainly because of the reason above) you need to test that your website or application works for them.</li>
</ol>
<p>The good news is that Microsoft is well aware of the need for Vista users to be able to use IE6, and they&#8217;ve made some tools available to the publci for free. all it&#8217;ll cost you is a bit of time&#8230;</p>
<p><span id="more-9"></span></p>
<h3>First things first &#8211; Download.</h3>
<p>The solution is a bit of a sideways step around the problem. Instead of running IE6 on Vista, you run a virtual XP machine on Vista, and then put IE6 on that instead.</p>
<p>So the first thing you need to do is download and install the free Virtual PC software form Microsoft:</p>
<p><strong><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;displaylang=en</a></strong></p>
<p>I&#8217;m not going to take you through how to install Virtual PC on your mahcine &#8211; you&#8217;re on your own for that for now (at some point I&#8217;ll write this up)&#8230;</p>
<dl id="attachment_10" class="wp-caption alignleft" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/downloadie6vhd.jpg"><img class="size-medium wp-image-10" title="downloadie6vhd" src="http://www.smartredfox.com/wp-content/uploads/2008/08/downloadie6vhd-300x185.jpg" alt="Download the IE6 VHD file" width="300" height="185" /></a></dt>
</dl>
<p>Rather than you having to manually create your virtual XP machine yourself (which takes some time) the&#8217;ve made a bunch of different test environments available to download:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=21eabb90-958f-4b64-b5f1-73d0a413c8ef&amp;displaylang=en#filelist" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=21eabb90-958f-4b64-b5f1-73d0a413c8ef&amp;displaylang=en#filelist</a></p>
<p>All you need to download for this is the IE6 XP image, but feel free to take a look at some of the others, as if you&#8217;re a developer they may well come in useful to you &#8211; there&#8217;s even an image for IE8.</p>
<h3>Second things second &#8211; The agreements.</h3>
<p>Once the file has been downloaded open it and you&#8217;ll get the usual Microsoft prompts warning you about</p>
<dl id="attachment_15" class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/security_warning.jpg"><img class="size-medium wp-image-15" title="Security warning" src="http://www.smartredfox.com/wp-content/uploads/2008/08/security_warning-300x204.jpg" alt="Security warning" width="300" height="204" /></a></dt>
</dl>
<p>running files &#8211; Choose to run the file (It&#8217;s from Microsoft, surely we can trust them &#8211; can&#8217;t we?!?!!).</p>
<p>Then you&#8217;ll be given a warning about the expiry date of the VHD file. Microsoft time limit these images to stop people using them as their main OS. Agree to uncompress the file (click yes).</p>
<p>Now you get the normal License Agreement from Microsoft asking you to sell your soul to the Devil and give up all rights to your first-born child. Again agree</p>
<p>to this &#8211; Hell can&#8217;t be that bad can it?</p>
<div class="mceTemp">
<dl id="attachment_17" class="wp-caption alignleft" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/vhd_extracting.jpg"><img class="size-medium wp-image-17" title="vhd_extracting" src="http://www.smartredfox.com/wp-content/uploads/2008/08/vhd_extracting-300x117.jpg" alt="VHD extracting" width="300" height="117" /></a></dt>
</dl>
</div>
<p>You&#8217;ll be asked where you want to extract the files to. This is entirely up to you &#8211; I use the downloads area of Vista to keep all temporary files, and then once a month or so I go through this folder and get rid of all the rubbish and stuff I&#8217;m finished with. But, as I said it&#8217;s up to you. Once you&#8217;ve chosen the location to extract to there will be a long wait while they&#8217;re extracted. Get yourself a cup of tea at this point (or any other hot beverage of your choice).</p>
<h3>Some magic with the Wizard.</h3>
<p>Once it&#8217;s extracted (and you&#8217;ve finished your tea) fire up Virtual PC and follow through the steps below:</p>
<p><strong>Click Next</strong> on the Welcome screen:</p>
<div class="mceTemp">
<dl id="attachment_26" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/welcome_to_vpc.jpg"><img class="size-full wp-image-26" title="welcome_to_vpc" src="http://www.smartredfox.com/wp-content/uploads/2008/08/welcome_to_vpc.jpg" alt="Welcome to the VPC wizard" width="500" height="355" /></a></dt>
</dl>
</div>
<p>Choose the option to <strong>Create a virtual machine:</strong></p>
<div class="mceTemp">
<dl id="attachment_19" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_options.jpg"><img class="size-full wp-image-19" title="vpc_options" src="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_options.jpg" alt="VPC options" width="500" height="355" /></a></dt>
</dl>
</div>
<p><strong>Give your virtual machine a name</strong> &#8211; in this case I named mine &#8220;IE6 Environment&#8221;:</p>
<div class="mceTemp">
<dl id="attachment_20" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_name.jpg"><img class="size-full wp-image-20" title="vpc_name" src="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_name.jpg" alt="Virtual PC name" width="500" height="355" /></a></dt>
</dl>
</div>
<p><strong>Select Windows XP</strong> from the operating systems list:</p>
<div class="mceTemp">
<dl id="attachment_24" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/select_os.jpg"><img class="size-full wp-image-24" title="select_os" src="http://www.smartredfox.com/wp-content/uploads/2008/08/select_os.jpg" alt="Select operating system" width="500" height="355" /></a></dt>
</dl>
</div>
<p>The Wizard will suggest an amount of Ram to use for your Virtual PC. Unless you have a specific need to change this setting just leave it as it is and <strong>click Next:</strong></p>
<div class="mceTemp">
<dl id="attachment_23" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/reccommended_ram.jpg"><img class="size-full wp-image-23" title="reccommended_ram" src="http://www.smartredfox.com/wp-content/uploads/2008/08/reccommended_ram.jpg" alt="Recommended ram size" width="500" height="355" /></a></dt>
</dl>
</div>
<p>Finally we get to the option to use the ready-made VHD file we downloaded earlier. <strong>Choose &#8220;An existing virtual hard disk&#8221; </strong>from the options and <strong>click Next</strong>:</p>
<div class="mceTemp">
<dl id="attachment_22" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/new_or_existing_vhd.jpg"><img class="size-full wp-image-22" title="new_or_existing_vhd" src="http://www.smartredfox.com/wp-content/uploads/2008/08/new_or_existing_vhd.jpg" alt="New or existing VHD" width="500" height="355" /></a></dt>
</dl>
</div>
<p><strong>Browse to the location of the extracted VHD file</strong>, select it, and then <strong>click next</strong>:</p>
<div class="mceTemp">
<dl id="attachment_27" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/vhd_location.jpg"><img class="size-full wp-image-27" title="vhd_location" src="http://www.smartredfox.com/wp-content/uploads/2008/08/vhd_location.jpg" alt="VHD Location" width="500" height="355" /></a></dt>
</dl>
</div>
<p>You&#8217;ll be shown confirmation of the settings you chose &#8211; make sure everything looks okay and <strong>click Finish:</strong></p>
<div class="mceTemp">
<dl id="attachment_25" class="wp-caption alignnone" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_wizard_finish.jpg"><img class="size-full wp-image-25" title="vpc_wizard_finish" src="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_wizard_finish.jpg" alt="VPC wizard finished" width="500" height="355" /></a></dt>
</dl>
</div>
<h3>Fire it up!</h3>
<div class="mceTemp">
<dl id="attachment_30" class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/xp_booting.jpg"><img class="size-medium wp-image-30" title="xp_booting" src="http://www.smartredfox.com/wp-content/uploads/2008/08/xp_booting-300x261.jpg" alt="Windows XP booting" width="300" height="261" /></a></dt>
</dl>
</div>
<p>Ok, we&#8217;re almost there. You should now be looking at the Virtual PC console window with our newly installed Virtual PC showing in it.</p>
<p>Select the Virtual PC and click Start. You should now see Windows XP start to spring into life. It works just like any other Windows XP machine, so it&#8217;ll boot up and go through the normal motions for a few seconds/minutes/hours first (depending on the speed of your pc). Let it run through this as normal.</p>
<p>Take a moment to bask in the glory of running Windows XP inside a window on your lovely Vista machine (don&#8217;t spend too long on this).</p>
<h3>Last couple of steps</h3>
<div class="mceTemp">
<dl id="attachment_31" class="wp-caption alignleft" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_eula_2.jpg"><img class="size-medium wp-image-31" title="vpc_eula_2" src="http://www.smartredfox.com/wp-content/uploads/2008/08/vpc_eula_2-300x248.jpg" alt="VPC Eula" width="300" height="248" /></a></dt>
</dl>
</div>
<p>We&#8217;re really just dotting the I&#8217;s and crossing the T&#8217;s now. Once XP has booted it&#8217;ll ask you once again to agree to a EULA from Microsoft. As you&#8217;ve already sold your soul etc. there&#8217;s not really much more they can take so just close the window that appears.</p>
<p>Finally we&#8217;re into Windows XP and ready to fire up Internet Explorer 6 and get on with our work.</p>
<p>Double click on the IE6 icon on the desktop and wait the few moments for IE6 to boot. That&#8217;s it you can now browse to your hearts content in the antiquated and troubled browser that is IE6.</p>
<p>As a side not it seems Microsoft are really trying to</p>
<div class="mceTemp">
<dl id="attachment_21" class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.smartredfox.com/wp-content/uploads/2008/08/ie6_working.jpg"><img class="size-medium wp-image-21" title="ie6_working" src="http://www.smartredfox.com/wp-content/uploads/2008/08/ie6_working-300x248.jpg" alt="IE6 Working" width="300" height="248" /></a></dt>
</dl>
</div>
<p>help Web developers with these images and they&#8217;ve included a couple of links on the desktop to help you out. If you&#8217;re a developer it may be worth taking a look at them, if you&#8217;re not and you just want to use IE6 to get on with your work then ignore them.</p>
<p><strong>Problems?</strong></p>
<p>Whenever I set up virtual machines in our network environment I get page cannot be displayed on any internally hosted sites that rely on local DNS entries. We get around this by entering each of the sites into the Virtual PC hosts file. At some point I&#8217;ll write instructions on how to do this&#8230;</p>
<p>But for now that&#8217;s it. Any comments, corrections, or questions are appreciated&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/08/ie6-on-vista-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Min-height in IE6</title>
		<link>http://www.smartredfox.com/2008/05/min-height-in-ie6/</link>
		<comments>http://www.smartredfox.com/2008/05/min-height-in-ie6/#comments</comments>
		<pubDate>Tue, 20 May 2008 11:05:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IE6]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=7</guid>
		<description><![CDATA[We all know the problem: You need to set a minimum height on an object but IE6 ignores it and ruins your layout. Well worry no more, there is a simple fix:
selector {
min-height:500px;
height:auto !important;
height:500px;
}
This takes advantage of two IE6 bugs:

IE6 ignores the !important and sets the height using the last line.
IE6 treats height like it [...]]]></description>
			<content:encoded><![CDATA[<p>We all know the problem: You need to set a minimum height on an object but IE6 ignores it and ruins your layout. Well worry no more, there is a simple fix:</p>
<p><code>selector {<br />
min-height:500px;<br />
height:auto !important;<br />
height:500px;<br />
}</code></p>
<p>This takes advantage of two IE6 bugs:</p>
<ol>
<li>IE6 ignores the !important and sets the height using the last line.</li>
<li>IE6 treats height like it should treat min-height and lets child objects cause the parent to expand.</li>
</ol>
<p>I found this <a title="./with Imagination" href="http://www.dustindiaz.com/min-height-fast-hack/" target="_blank">helpful solution here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/05/min-height-in-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping your footer at the bottom of the page</title>
		<link>http://www.smartredfox.com/2008/04/keeping-your-footer-at-the-bottom-of-the-page/</link>
		<comments>http://www.smartredfox.com/2008/04/keeping-your-footer-at-the-bottom-of-the-page/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 13:12:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[footer]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=6</guid>
		<description><![CDATA[Created a site design but keep getting white space showing below your loving crafted footer? Me too, a bit of research later and I&#8217;ve found a fix that works well, integrates with the yui framework, and seems to work well cross-browser.
The basic principle is pretty simple.

Make the body 100% tall no matter what.
Give it a [...]]]></description>
			<content:encoded><![CDATA[<p>Created a site design but keep getting white space showing below your loving crafted footer? Me too, a bit of research later and I&#8217;ve found a fix that works well, integrates with the yui framework, and seems to work well cross-browser.</p>
<p>The basic principle is pretty simple.</p>
<ul>
<li>Make the body 100% tall no matter what.</li>
<li>Give it a negative bottom margin the size of your footer.</li>
<li>Move you footer up into the space left by the bottom margin</li>
</ul>
<p>There&#8217;s a few other steps to make it work cross-browser (ie6+) but that&#8217;s basically it.</p>
<p>I found the solution <a href="http://fortysevenmedia.com/blog/archives/making_your_footer_stay_put_with_css/">here</a>.</p>
<p><a href="http://fortysevenmedia.com/blog/archives/making_your_footer_stay_put_with_css/"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/04/keeping-your-footer-at-the-bottom-of-the-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image button not aligning vertically with input box</title>
		<link>http://www.smartredfox.com/2008/04/image-submit-button-not-aligning-with-input-box/</link>
		<comments>http://www.smartredfox.com/2008/04/image-submit-button-not-aligning-with-input-box/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 13:07:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=5</guid>
		<description><![CDATA[
This is an odd problem. You have a perfectly normal search box with a go button next to it &#8211; a classic layout some might say. The problem is that the go button seems to sit about half-way up the side of the search box.  Now, having tried to fix css/html problems cross-browser before, [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp"><img class="size-full wp-image-159 alignleft" style="border: 1px solid #cccccc; margin: 10px;" title="Mis-aligned button in IE7" src="http://www.smartredfox.com/wp-content/uploads/2008/04/misalignedbutton.png" alt="Mis-aligned button in IE7" width="144" height="56" /></div>
<p>This is an odd problem. You have a perfectly normal search box with a go button next to it &#8211; a classic layout some might say. The problem is that the go button seems to sit about half-way up the side of the search box.  Now, having tried to fix css/html problems cross-browser before, I was fully expecting to spend a few hours looking for solutions trying them in FF, IE etc. and then mixing and matching my perfect solution&#8230; In this case I was stopped short&#8230; Very short in fact. The fix is simple as adding a position:absolute to the button. Problem solved.  See <a href="http://blog.taragana.com/index.php/archive/how-to-perfectly-align-image-button-with-html-input-textbox/">here</a> for where I found the fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/04/image-submit-button-not-aligning-with-input-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
