<?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>Blog &#124; Attack of the Web</title>
	<atom:link href="http://www.attackoftheweb.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.attackoftheweb.co.uk/blog</link>
	<description>A personal blog and CV for Gary Davison</description>
	<lastBuildDate>Sun, 20 Jun 2010 17:17:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Quick coding tips: Minimum height in IE6</title>
		<link>http://www.attackoftheweb.co.uk/blog/2010/06/20/quick-coding-tips-minimum-height-in-ie6/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2010/06/20/quick-coding-tips-minimum-height-in-ie6/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 17:17:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=159</guid>
		<description><![CDATA[As you may be aware the CSS property min-height unfortunately doesn&#8217;t work in IE6, however if you add the following hack after the attribute: height:auto !important; height: (the min height value); You&#8217;ll be able to get it to work, an example would be: .classname { min-height:200px; height:auto !important; height:200px; }]]></description>
			<content:encoded><![CDATA[<p>As you may be aware the CSS property min-height unfortunately doesn&#8217;t work in IE6, however if you add the following hack after the attribute:</p>
<p>height:auto !important;<br />
height: (the min height value);</p>
<p>You&#8217;ll be able to get it to work, an example would be:</p>
<p>.classname {<br />
min-height:200px;<br />
height:auto !important;<br />
height:200px;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2010/06/20/quick-coding-tips-minimum-height-in-ie6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick Coding tips: Source formatting</title>
		<link>http://www.attackoftheweb.co.uk/blog/2010/02/04/quick-coding-tips-source-formatting/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2010/02/04/quick-coding-tips-source-formatting/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:51:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=153</guid>
		<description><![CDATA[I&#8217;ve read a lot of blog posts lately from developers commenting on the messy way Adobe Dreamweaver inserts code into a build, stating its unformatted (nested elements aren&#8217;t indented) and not as clean as it would be if the page was hand coded. A quick tip to clean up a page built in Dreamweaver is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve read a lot of blog posts lately from developers commenting on the messy way Adobe Dreamweaver inserts code into a build, stating its unformatted (nested elements aren&#8217;t indented) and not as clean as it would be if the page was hand coded. A quick tip to clean up a page built in Dreamweaver is to go to Commands &gt; Apply Source Formatting, this will automatically format the code for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2010/02/04/quick-coding-tips-source-formatting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I deal with IE6</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/12/06/how-i-deal-with-ie6/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/12/06/how-i-deal-with-ie6/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 21:17:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=139</guid>
		<description><![CDATA[All web developers have to take into consideration Internet Explorer 6 at some point during a build, catering for the browser requires extra development and will therefore increase the time and money spent on a project, which can deter some. However as most clients will want their site to provide the same experience to as [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-145" style="margin: 0pt 0pt 0pt 15px;" title="internet_explorer" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/12/internet_explorer.png" alt="internet explorer 6 logo" width="142" height="150" align="right" />All web developers have to take into consideration Internet Explorer 6 at some point during a build, catering for the browser requires extra development and will therefore increase the time and money spent on a project, which can deter some. However as most clients will want their site to provide the same experience to as many users as possible, you can&#8217;t afford to ignore it. In this post I&#8217;m going to detail some of the methods I use to deal with one of the most troublesome browsers out there.</p>
<p><strong>IE Tester</strong></p>
<p><a href="http://my-debugbar.com/wiki/IETester/HomePage">http://my-debugbar.com/wiki/IETester/HomePage</a></p>
<p>This is a test browser that emulates the following IE browsers: IE 5.5, 6, 7 and 8, which I use for testing builds. Unfortunately this testing browser is only available on Windows based machines, however it does run on the three major operating systems; XP, Vista and 7. Their is an alternative option called multiple Internet Explorers which found here <a href="http://tredosoft.com/Multiple_IE">http://tredosoft.com/Multiple_IE</a> this allows you to install multiple versions of the IE browser on your PC however unlike IE tester it only works on Windows XP.</p>
<p>Due to the tabbed layout of IE tester, allowing you to render the different browser versions in the same window on different tabs I prefer this option. IE Tester isn&#8217;t fool proof, and I would always recommend finding a PC running a version IE 6 as it&#8217;s default browser over it, however it gives you a good indication of general IE6 errors such as the double margin bug.</p>
<p><strong>CSS browser selector</strong></p>
<p><a href="http://rafael.adm.br/css_browser_selector/">http://rafael.adm.br/css_browser_selector/</a></p>
<p>This is a piece of javascript which gives you the ability to write specific CSS code for each operating system and each browser. Allowing you to specify IE6 specific styles without the use of conditional comments, this is how I deal with those tricky bugs which cannot be solved with additional lines of css such as display: inline.</p>
<p>It is also worth noting that it may be possible to ignore the browser completely, I recommend looking at a site&#8217;s analytics before starting a new design/build. For example my website only got 60 visits from users using IE6 last month whereas I had 3,501 visitors using Firefox, this had led me to drop support for IE6 on my site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/12/06/how-i-deal-with-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attack of the web featured in .net magazine</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/11/25/attack-of-the-web-featured-in-net-magazine/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/11/25/attack-of-the-web-featured-in-net-magazine/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 10:08:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=129</guid>
		<description><![CDATA[I&#8217;m please to say that this website features in the gallery section of issue 196 of .net magazine, it&#8217;s a huge honor as I&#8217;m a regular reader of the magazine. So I would like to say thank you to Christian and the rest of the .net team for contacting me and choosing the site.]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0 0 15px 10px;" title="net196cover130" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/12/net196cover130.jpg" alt="net196cover130" width="130" height="169" align="right" />I&#8217;m please to say that this website features in the gallery section of issue 196 of .net magazine, it&#8217;s a huge honor as I&#8217;m a regular reader of the magazine. So I would like to say thank you to Christian and the rest of the .net team for contacting me and choosing the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/11/25/attack-of-the-web-featured-in-net-magazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Five Typekit invitations to give away!</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/10/20/five-typekit-invitations-to-give-away/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/10/20/five-typekit-invitations-to-give-away/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 20:19:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freebies]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=114</guid>
		<description><![CDATA[I&#8217;m fortunate enough to come into possession of five free trials to use Typekit before it&#8217;s official launch. What is Typekit? Typekit is a new javascript based solution for using non web safe fonts on websites, you create your &#8220;kit&#8221; by selecting the fonts available on the Typekit website. After this Typekit will then generate [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m fortunate enough to come into possession of five free trials to use Typekit before it&#8217;s official launch.</p>
<p><strong>What is Typekit?</strong></p>
<p>Typekit is a new javascript based solution for using non web safe fonts on websites, you create your &#8220;kit&#8221; by selecting the fonts available on the Typekit website. After this Typekit will then generate a line of JavaScript for you to embed into you site, you can then add a selector to your CSS to tell Typekit where you would like the font to be applied.</p>
<p>You can read up more about it here at the official blog:</p>
<p><a href="http://blog.typekit.com/">http://blog.typekit.com/</a></p>
<p>To have one of the free invites please respond to this post.</p>
<p><strong>Update</strong></p>
<p>All the invites have now been given out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/10/20/five-typekit-invitations-to-give-away/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Free Valid XHTML &amp; CSS template</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/10/07/free-valid-xhtml-css-template/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/10/07/free-valid-xhtml-css-template/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 13:00:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Freebies]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=102</guid>
		<description><![CDATA[I&#8217;m happy to release this W3C valid XHTML &#38; CSS template, this is a bare template featuring a header, sidebar, main text area and footer for you to style as you wish. This template is ideal for those who are new to XHTML and CSS  programming, you can take it and easily style it meet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.attackoftheweb.co.uk/free-xhtml/"><img class="alignnone size-full wp-image-103" title="xhtml-template" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/10/xhtml-template.jpg" alt="xhtml-template" width="405" height="325" /></a></p>
<p>I&#8217;m happy to release this W3C valid XHTML &amp; CSS template, this is a bare template featuring a header, sidebar, main text area and footer for you to style as you wish. This template is ideal for those who are new to XHTML and CSS  programming, you can take it and easily style it meet your needs. It&#8217;s not a fluid template however it does feature percentages and ems, for div widths and text sizing. This template has been tested in IE 6, IE 7, Firefox and Safari, and it has passed the W3C <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.attackoftheweb.co.uk%2Ffree-xhtml%2F&amp;profile=css21&amp;usermedium=all&amp;warning=1&amp;lang=en">CSS validation</a> test and the W3C <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.attackoftheweb.co.uk%2Ffree-xhtml%2F&amp;charset=%28detect+automatically%29&amp;doctype=Inline&amp;group=0">XHTML validation</a> test.</p>
<p>A demo can be seen <a href="http://www.attackoftheweb.co.uk/free-xhtml/">here</a>.</p>
<p>And the zip file can be downloaded <a href="http://www.attackoftheweb.co.uk/free-xhtml/download/free-xhtml.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/10/07/free-valid-xhtml-css-template/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Doodling on the iPhone</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/10/05/doodling-on-the-iphone/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/10/05/doodling-on-the-iphone/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 16:56:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=91</guid>
		<description><![CDATA[I recently purchased the new iPhone app Autodesk SketchBook Mobile, and as I had a spare five hours on my train trip back from Bristol today I thought I&#8217;d have a play. At first found it hard to draw with my fingers instead of a pen or stylus however I found it easier as the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased the new iPhone app <a href="http://usa.autodesk.com/adsk/servlet/item?siteID=123112&amp;id=13872203">Autodesk SketchBook Mobile</a>, and as I had a spare five hours on my train trip back from Bristol today I thought I&#8217;d have a play. At first found it hard to draw with my fingers instead of a pen or stylus however I found it easier as the time went on. The app has some great features such as layers (like Photoshop) allowing you to do your line drawing on one layer and your shading and colouring on another. It&#8217;s a pity that there are only three layers, as I found I wanted different colours on separate layers. I also found it a shame that there wasn&#8217;t an undo button, as it was a bit tedious going back and erasing any errors whilst making sure I didn&#8217;t erase any areas I was happy with by mistake.</p>
<p>However for £1.79 its a great app probably the best that I&#8217;ve ever brought, and great for killing time during a long commute, below are some of the doodles I was doing today, hardly masterpieces:</p>
<p><a href="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/10/IMG_0134.JPG"><img class="alignnone size-full wp-image-93" title="Coke bottle iPhone doodle" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/10/IMG_0134.JPG" alt="Coke bottle iPhone doodle" width="400" height="600" /></a></p>
<p><a href="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/10/IMG_0135.JPG"><img class="alignnone size-full wp-image-94" title="Alien iPhone doodle" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/10/IMG_0135.JPG" alt="Alien iPhone doodle" width="400" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/10/05/doodling-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photo retouching</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/09/30/photo-retouching/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/09/30/photo-retouching/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 20:42:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Photoshop Work]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=82</guid>
		<description><![CDATA[I recently retouched a child photo of my fiancee for my future mother in law, the results are below: Original Retouched version]]></description>
			<content:encoded><![CDATA[<p>I recently retouched a child photo of my fiancee for my future mother in law, the results are below:</p>
<p><strong>Original</strong></p>
<p><a href="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/kaylie-baby-old.jpg"><img class="size-medium wp-image-86 alignnone" title="kaylie-baby-old" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/kaylie-baby-old-246x300.jpg" alt="kaylie-baby-old" width="246" height="300" /></a></p>
<p><strong>Retouched version</strong></p>
<p><strong><a href="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/kaylie-baby-new.jpg"><img class="alignnone size-medium wp-image-85" title="kaylie-baby-new" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/kaylie-baby-new-244x300.jpg" alt="kaylie-baby-new" width="244" height="300" /></a><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/09/30/photo-retouching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New camera</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/09/30/new-camera/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/09/30/new-camera/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 20:03:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=63</guid>
		<description><![CDATA[Just purchased a Panasonic Lumix DMC-FS62 camera, loving the picture quality, thought I&#8217;d take a few pictures of Snickers my Russian hamster. Plus it isn&#8217;t a blog unless you have some pictures of your pets.]]></description>
			<content:encoded><![CDATA[<p>Just purchased a Panasonic Lumix DMC-FS62 camera, loving the picture quality, thought I&#8217;d take a few pictures of Snickers my Russian hamster. Plus it isn&#8217;t a blog unless you have some pictures of your pets.</p>
<p style="text-align: center;"><img class="size-full wp-image-64 aligncenter" title="snickers-1" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/snickers-1.jpg" alt="snickers-1" width="360" height="270" /></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-65" title="snickers-2" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/snickers-2.jpg" alt="snickers-2" width="360" height="270" /></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-66" title="snickers-3" src="http://www.attackoftheweb.co.uk/blog/wp-content/uploads/2009/09/snickers-3.jpg" alt="snickers-3" width="360" height="270" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/09/30/new-camera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I use my ems</title>
		<link>http://www.attackoftheweb.co.uk/blog/2009/09/21/how-i-use-my-em/</link>
		<comments>http://www.attackoftheweb.co.uk/blog/2009/09/21/how-i-use-my-em/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 12:38:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.attackoftheweb.co.uk/blog/?p=36</guid>
		<description><![CDATA[Firstly what are ems? Ems are a unit of measurement in the field of typography, equal to the point size of the current font. This unit is not defined in terms of any specific typeface, and therefore is the same for all fonts at the given point size. What are the benefits of ems? The [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Firstly what are ems? </strong></p>
<p>Ems are a unit of measurement in the field of typography, equal to the point size of the current font. This unit is not defined in terms of any specific typeface, and therefore is the same for all fonts at the given point size.</p>
<p><strong>What are the benefits of ems?</strong></p>
<p>The main benefit of ems is keeping the text consistent across all the major browsers when the user increases/decreases the size of the text on a web page.</p>
<p><strong>How I use ems</strong></p>
<p>Now before you start to use ems in your builds its important to note that my default 1 em = 16 pixels.</p>
<p>I have noticed that various programmers have there own methods to make their CSS ready for ems, personally I do the following:</p>
<p>Create a &#8220;html&#8221; tag make the font size 100%, I then create a &#8220;body&#8221; tag with the font size as 1 em this solves the notorious font re-sizing issues that IE6 users experience. Now my body tag has a value of 1 em, and remember 1 em = 16 pixels. From this I can now work out the em values that the rest of my text should have.</p>
<p>As I&#8217;ve never been one for maths, I tend to use a em calculator, one can be found <a href="http://www.riddle.pl/emcalc/">here</a>, others are out there, this saves you having to work out the value through using the em formula, alternatively you can look at a em conversion table such as the one found <a href="http://jontangerine.com/silo/css/pixels-to-ems/">here</a>. When using a em calculator you have to start by specifying the body value, which as stated above I&#8217;m going to have as 16 pixels (1 em). Once this value is specified we can then branch off it by creating a new nodes, in which we can enter a new value such as 14 pixels. When entering a new pixel value into a node you will be given in return the relevant em value, which in the case of 14 pixels will be 0.88 em.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.attackoftheweb.co.uk/blog/2009/09/21/how-i-use-my-em/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.attackoftheweb.co.uk @ 2010-09-03 01:40:07 -->