<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>Zenji Web Development</title>
	<link>http://www.zenjiwebworks.com</link>
	<description>Website development and consultancy</description>
	<pubDate>Fri, 11 Jul 2008 10:46:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>The trouble with the right-alignment of input fields</title>
		<link>http://www.zenjiwebworks.com/2008/07/11/the-trouble-with-right-alignment-of-input-fields/</link>
		<comments>http://www.zenjiwebworks.com/2008/07/11/the-trouble-with-right-alignment-of-input-fields/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 10:32:31 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Web]]></category>

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

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/07/11/the-trouble-with-right-alignment-of-input-fields/</guid>
		<description><![CDATA[Everyone knows that when you have a text box which accepts a number, it should automatically right-align the text content. Well maybe not everyone, but accountants certainly do and if you&#8217;re writing an application for an accountant it just won&#8217;t look right unless the values are right-aligned.
Simple, I thought - text-align:right in the CSS and [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone knows that when you have a text box which accepts a number, it should automatically right-align the text content. Well maybe not everyone, but accountants certainly do and if you&#8217;re writing an application for an accountant it just won&#8217;t look right unless the values are right-aligned.</p>
<p>Simple, I thought - text-align:right in the CSS and the jobs a good &#8216;un. Well yes, you would think so. The fact of the matter is that text-align:right is only supposed to apply to block level elements (according to the CSS2 specs), although it isn&#8217;t quite implemented that way in all browsers. So, add display:block in there as well just to be on the safe side:</p>
<p>Left Align: &lt;input style=&#8221;padding: 0px; text-align: right; display: block&#8221; type=&#8221;text&#8221; /&gt;</p>
<input style="padding: 0px; text-align: right; display: block" type="text" /> Right Align: &lt;input style=&#8221;padding: 0px; display: block&#8221; type=&#8221;text&#8221; /&gt;</p>
<input style="padding: 0px; display: block" type="text" />
<p>Job done! Well, not quite if you are viewing this in Internet Explorer 7. Click in the input field which is aligned to the right and no cursor displays at all! I must be tired today because this took me ages to work out and I found no reference to it anywhere in the web. For some reason the cursor is there - it&#8217;s just off to the right a little too far. I say &#8217;some reason&#8217; when I now know that the actual reason is that the padding is set to 0px. The reason for this happens to be because it has inherited the property from other elements in my form layout, but in this example I have added it specifically. Add a little padding to the right and hey presto:</p>
<p>Left Align: &lt;input style=&#8221;padding: 0px 1px 0px 0px; text-align: right; display: block&#8221; type=&#8221;text&#8221; /&gt;</p>
<input style="padding: 0px 1px 0px 0px; text-align: right; display: block" type="text" /> Right Align: &lt;input style=&#8221;padding: 0px 1px 0px 0px; display: block&#8221; type=&#8221;text&#8221; /&gt;</p>
<input style="padding: 0px 1px 0px 0px; display: block" type="text" />
<p>That&#8217;s just strange. Zero padding displays the cursor on the left, but not the right. Except in Firefox, which just shows it correctly in either case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/07/11/the-trouble-with-right-alignment-of-input-fields/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Maps proof of concept</title>
		<link>http://www.zenjiwebworks.com/2008/06/18/google-maps-proof-of-concept/</link>
		<comments>http://www.zenjiwebworks.com/2008/06/18/google-maps-proof-of-concept/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 10:14:06 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[New Projects]]></category>

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

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

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/06/18/google-maps-proof-of-concept/</guid>
		<description><![CDATA[An interesting job this one - develop a proof of concept application for vehicle tracking using the Google Maps API. The vehicles in question are already fitted with a GPS positioning system which also provide various other useful bits of information, most notably g-forces.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zenjiwebworks.com/wp-content/uploads/2008/06/mapping.JPG" title="Mapping"><img src="http://www.zenjiwebworks.com/wp-content/uploads/2008/06/mapping.thumbnail.JPG" title="Mapping" alt="Mapping" align="left" border="1" hspace="5" vspace="5" /></a>An interesting job this one - develop a proof of concept application for vehicle tracking using the Google Maps API. The vehicles in question are already fitted with a GPS positioning system which also provide various other useful bits of information, most notably g-forces. <a href="http://www.zenjiwebworks.com/2008/06/18/google-maps-proof-of-concept/#more-31" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/06/18/google-maps-proof-of-concept/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ConfigureIIS running on systems without IIS</title>
		<link>http://www.zenjiwebworks.com/2008/04/01/configureiis-running-on-systems-without-iis/</link>
		<comments>http://www.zenjiwebworks.com/2008/04/01/configureiis-running-on-systems-without-iis/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 09:53:15 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Gotchas]]></category>

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/04/01/configureiis-running-on-systems-without-iis/</guid>
		<description><![CDATA[These days I always seem to find myself writing installers for clients using WiX. What usually happens is I get there to find they are really struggling to maintain their current installers, more often then not in InstallShield. So I go and tell them they should try WiX since it has so many advantages over [...]]]></description>
			<content:encoded><![CDATA[<p>These days I always seem to find myself writing installers for clients using <a href="http://wix.sourceforge.net/" target="_blank">WiX</a>. What usually happens is I get there to find they are really struggling to maintain their current installers, more often then not in InstallShield. So I go and tell them they should try WiX since it has so many advantages over certain other products. For a start it&#8217;s actually maintained by several Microsoft guys and enjoys a big support community. Also since the source code is written in XML it is much easier to check in to source control and maintain.</p>
<p>Anyway, to cut a long story short, my evangelising on the subject usually ends in the words &#8216;here you go then, write an installer for that&#8217;. And so I end up with the job yet again.</p>
<p>That&#8217;s not to say it doesn&#8217;t have its issues like so many other things in the world of software development, especially when you end up writing some monster installer that installs a web-client, web-services, windows-services and the odd database or two.</p>
<p>Today&#8217;s issue was ConfigureIIS which is a custom action executed if you are creating a &lt;WebVirtualDir&gt;. Unfortunately even if you are not installing the web component that needs IIS to be configured it will still attempt to execute ConfigureIIS which causes an error to appear if IIS is not installed. Just having a web component in your installer is enough to fire it off.</p>
<p>Looking on the WiX mailing lists it seems that it is a known issue and the only way around it currently is by modifying and recompiling the source code for WiX itself. Not a lot of fun when you just want to write an installer and it takes you away from the currently released code, which I find it is best to avoid when working for other clients.</p>
<p>However, in the process of modifying the source I found the property SKIPCONFIGUREIIS. Set this to true and it no longer runs the ConfigureIIS custom action. Obviously you need to make sure it&#8217;s only turned off for the relevant features of your installer. It&#8217;s just a shame they didn&#8217;t make it a little more widely known!</p>
<p>To be honest I could have kicked myself since I already knew of the SKIPINSTALLSQLDATA for turning off the database activity when not required. That one is a little more published though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/04/01/configureiis-running-on-systems-without-iis/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Financial Advice Client Management</title>
		<link>http://www.zenjiwebworks.com/2008/03/13/financial-advice-client-management/</link>
		<comments>http://www.zenjiwebworks.com/2008/03/13/financial-advice-client-management/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 10:07:52 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[New Projects]]></category>

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

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/03/13/financial-advice-client-management/</guid>
		<description><![CDATA[Starting soon is a new application for accountants David Newton to assist the financial advice team in managing their client base and ensuring they are meeting all of their clients financial needs.
]]></description>
			<content:encoded><![CDATA[<p>Starting soon is a new application for accountants <a href="http://www.davidnewton.co.uk/" target="_blank">David Newton</a> to assist the financial advice team in managing their client base and ensuring they are meeting all of their clients financial needs.  <a href="http://www.zenjiwebworks.com/2008/03/13/financial-advice-client-management/#more-29" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/03/13/financial-advice-client-management/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mortgage Calculator</title>
		<link>http://www.zenjiwebworks.com/2008/02/26/mortgage-calculator/</link>
		<comments>http://www.zenjiwebworks.com/2008/02/26/mortgage-calculator/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 19:20:58 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Components]]></category>

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/02/26/mortgage-calculator/</guid>
		<description><![CDATA[Here&#8217;s a helpful little gadget I just knocked up.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zenjiwebworks.com/mortgagecalculator.html">Here&#8217;s a helpful little gadget</a> I just knocked up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/02/26/mortgage-calculator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zenji Website v2.0</title>
		<link>http://www.zenjiwebworks.com/2008/02/16/site-v20/</link>
		<comments>http://www.zenjiwebworks.com/2008/02/16/site-v20/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 18:30:07 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Site News]]></category>

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

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/02/16/site-v20/</guid>
		<description><![CDATA[Much like the shoe-makers children we&#8217;ve been too busy working for others to actually make much needed improvements to our own site! It has been in need of attention since, well since I can remember actually.
]]></description>
			<content:encoded><![CDATA[<p>Much like the shoe-makers children we&#8217;ve been too busy working for others to actually make much needed improvements to our own site! It has been in need of attention since, well since I can remember actually.</p>
<p> <a href="http://www.zenjiwebworks.com/2008/02/16/site-v20/#more-9" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/02/16/site-v20/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adrian Johnson Website Goes Live</title>
		<link>http://www.zenjiwebworks.com/2008/02/04/adrian-johnson-website-goes-live/</link>
		<comments>http://www.zenjiwebworks.com/2008/02/04/adrian-johnson-website-goes-live/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 19:19:05 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Projects]]></category>

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

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2008/02/04/adrian-johnson-website-goes-live/</guid>
		<description><![CDATA[With great fanfare the new site for the artist Adrian Johnson has now gone live! With a few months delay while Adrian has been out of the country promoting his works (I think I&#8217;m in the wrong job!) the site is now ready to do business. And with Adrian&#8217;s carefully selected artworks the site certainly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zenjiwebworks.com/wp-content/uploads/2008/02/adrianjohnsonsite.png" title="Adrian Johnson Site"><img src="http://www.zenjiwebworks.com/wp-content/uploads/2008/02/adrianjohnsonsite.thumbnail.png" title="Adrian Johnson Site" alt="Adrian Johnson Site" align="left" border="1" hspace="5" vspace="5" width="100" /></a>With great fanfare the new site for the artist <a href="http://www.adrianjohnson.org.uk/">Adrian Johnson</a> has now gone live! With a few months delay while Adrian has been out of the country promoting his works (I think I&#8217;m in the wrong job!) the site is now ready to do business. And with Adrian&#8217;s carefully selected artworks the site certainly has come alive. The design gives a great presentation framework for the art and allows the site owner to modify the layout at will. As a result the content is always fresh and well presented. <a href="http://www.zenjiwebworks.com/2008/02/04/adrian-johnson-website-goes-live/#more-22" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2008/02/04/adrian-johnson-website-goes-live/feed/</wfw:commentRss>
		</item>
		<item>
		<title>S&#038;J Link Jobcard Web Application</title>
		<link>http://www.zenjiwebworks.com/2007/09/22/sj-link-jobcard-web-application/</link>
		<comments>http://www.zenjiwebworks.com/2007/09/22/sj-link-jobcard-web-application/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 16:15:07 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Projects]]></category>

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

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2007/09/22/sj-link-jobcard-web-application/</guid>
		<description><![CDATA[
This is an application we have been working on for a couple of months for conservatory manufacturer S&#38;J Link Ltd. The requirement was for a zero install application which could take the place of their current, paper-based job tracking system.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zenjiwebworks.com/wp-content/uploads/2008/02/linkapp.png" title="Link Web Application"><img src="http://www.zenjiwebworks.com/wp-content/uploads/2008/02/linkapp.thumbnail.png" title="Link Web Application" alt="Link Web Application" border="1" hspace="5" vspace="5" width="185" /></a></p>
<p>This is an application we have been working on for a couple of months for conservatory manufacturer <a href="http://www.linkblinds.co.uk/" target="_blank">S&amp;J Link Ltd</a>. The requirement was for a zero install application which could take the place of their current, paper-based job tracking system. <a href="http://www.zenjiwebworks.com/2007/09/22/sj-link-jobcard-web-application/#more-23" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2007/09/22/sj-link-jobcard-web-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AdrianJohnson.org.uk</title>
		<link>http://www.zenjiwebworks.com/2007/08/06/adrianjohnsonorguk/</link>
		<comments>http://www.zenjiwebworks.com/2007/08/06/adrianjohnsonorguk/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 13:40:49 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[New Projects]]></category>

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

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2007/08/06/adrianjohnsonorguk/</guid>
		<description><![CDATA[A new site is in the pipeline for the artist Adrian Johnson. This time we&#8217;ll be working with Ben from Radio Design who is preparing the visual design to sit on top of a fully content managed website.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adrianjohnson.org.uk/" title="Adrian Johnson" target="_blank"><img src="http://www.adrianjohnson.org.uk/gallery/thumbnails/1202918295.jpg" title=" Drawn Together" alt=" Drawn Together" align="right" border="1" height="68" hspace="5" vspace="5" width="68" /></a>A new site is in the pipeline for the artist <a href="http://www.adrianjohnson.org.uk/contact">Adrian Johnson</a>. This time we&#8217;ll be working with Ben from <a href="http://www.radiodesign.co.uk/" title="Radio Design">Radio Design</a> who is preparing the visual design to sit on top of a fully content managed website. <a href="http://www.zenjiwebworks.com/2007/08/06/adrianjohnsonorguk/#more-20" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2007/08/06/adrianjohnsonorguk/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Samba server connections on a Mac</title>
		<link>http://www.zenjiwebworks.com/2007/07/29/samba-server-connections-on-a-mac/</link>
		<comments>http://www.zenjiwebworks.com/2007/07/29/samba-server-connections-on-a-mac/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 08:21:44 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
		
		<category><![CDATA[Gotchas]]></category>

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.zenjiwebworks.com/2007/07/29/samba-server-connections-on-a-mac/</guid>
		<description><![CDATA[Since I got the Mac a couple of months ago there is one thing that keeps bugging me; connecting to my server is not particularly reliable. Dropped connections seemed to be pretty much guaranteed half way through a job that involves anything more than a couple of Mb of data. Since I tend to use [...]]]></description>
			<content:encoded><![CDATA[<p>Since I got the Mac a couple of months ago there is one thing that keeps bugging me; connecting to my server is not particularly reliable. Dropped connections seemed to be pretty much guaranteed half way through a job that involves anything more than a couple of Mb of data. Since I tend to use the server for automated backups of my other machines it just hasn&#8217;t been happening for the Mac. Slowly I&#8217;ve got more and more concerned about having no regular backups.</p>
<p>A chance comment I came across whilst Googling for something else seems to have cleared up the issue. It seems my technique of using the Network utility in the Finder was the main issue. It is certainly the simplest option and most people seem to use it for that very reason. The trouble is it doesn&#8217;t always get the protocol right. You can check this by creating a connection to your server (in the finder choose Network and then browse to your server and connect to a share), selecting the new connection and then checking the info (Apple key and I). Mine shows up as:</p>
<p>cifs://my_server/backup</p>
<p>Since my Linux server uses Samba for the network shares it&#8217;s far better to connect using the Samba protocol:</p>
<p>smb://my_server/backup</p>
<p>The easiest way to set this up is through the &#8216;Connect to Server&#8217; utility in the Finder. This also stores your server connections for easy future access. You should be able to simply type the connection string in and then connect at will. Hopefully you&#8217;ll see a much more stable connection in future.</p>
<p>(An extra tip - once you have the connection set up you can automatically connect at login by adding it to the list in System Preferences-&gt;Accounts-&gt;Login Items)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zenjiwebworks.com/2007/07/29/samba-server-connections-on-a-mac/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
