<?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>Barry Webber. Freelance flash html and css developer from Southampton, Hampshire.  Specialising in HTML, CSS, Flash, Animation and Design.</title>
	<atom:link href="http://barrywebber.co.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://barrywebber.co.uk</link>
	<description>personal portfolio where I show my work in html, css, flash, design, animation and web-design</description>
	<lastBuildDate>Mon, 05 Jul 2010 22:32:55 +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>Updates coming soon</title>
		<link>http://barrywebber.co.uk/?p=347</link>
		<comments>http://barrywebber.co.uk/?p=347#comments</comments>
		<pubDate>Mon, 05 Jul 2010 22:32:55 +0000</pubDate>
		<dc:creator>barry</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[personal blog]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://barrywebber.co.uk/?p=347</guid>
		<description><![CDATA[<a href="http://barrywebber.co.uk/?p=347"><img align="left" hspace="5" width="150" height="150" src="http://barrywebber.co.uk/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>I&#8217;ve been so busy recently that this site has been neglected. In a way the website&#8217;s success was it&#8217;s own downfall as I got so busy with client work that I had no time to update it. Well updates are on their way! I&#8217;ve just finished the coding of a new xml/flash gallery to show [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been so busy recently that this site has been neglected. In a way the website&#8217;s success was it&#8217;s own downfall as I got so busy with client work that I had no time to update it. Well updates are on their way! I&#8217;ve just finished the coding of a new xml/flash gallery to show new work (where I&#8217;m allowed), I just need to do all the graphics and it will be up.. probably replacing my &#8220;death to IE6 artwork&#8221;. I&#8217;m also thinking about some tutorials for those flash designers out there that want to try their skills at After Effects. Nothing to compare to the excellent <a href="http://www.videocopilot.net/">videocopilot.net</a>, more like how to transfer what you already know to AE.</p>
<p>So yeah, all that coming soon. </p>
]]></content:encoded>
			<wfw:commentRss>http://barrywebber.co.uk/?feed=rss2&amp;p=347</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Tutorial: Flaming Text Effect</title>
		<link>http://barrywebber.co.uk/?p=299</link>
		<comments>http://barrywebber.co.uk/?p=299#comments</comments>
		<pubDate>Wed, 09 Dec 2009 14:37:25 +0000</pubDate>
		<dc:creator>barry</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://barrywebber.co.uk/?p=299</guid>
		<description><![CDATA[<a href="http://barrywebber.co.uk/?p=299"><img align="left" hspace="5" width="150" src="http://barrywebber.co.uk/wp-content/uploads/2009/10/fire-thumbnail-150x150.jpg" class="alignleft wp-post-image tfe" alt="flame effect" title="fire-thumbnail" /></a>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_animated-glow_903546138"
			class="flashmovie"
			width="300"
			height="150">
	<param name="movie" value="../images/animated-glow.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="../images/animated-glow.swf"
			name="fm_animated-glow_903546138"
			width="300"
			height="150">
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> This tutorial will show you how to make the flaming text effect shown here on the right. It&#8217;s quite versatile and can be used over any sort of shape/image to create all sorts of different effects. Ok, well let&#8217;s get going&#8230; 1. Setting Flash up First thing [...]]]></description>
			<content:encoded><![CDATA[<div class="flash-img-remove">
<div id="attachment_194" class="wp-caption alignright" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/10/fire-thumbnail.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/10/fire-thumbnail-150x150.jpg" alt="flame effect" title="fire-thumbnail" width="150" height="150" class="size-thumbnail wp-image-194" /></a><p class="wp-caption-text">flame effect</p></div>
</div>
<div class="flash-right">
 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_animated-glow_897906869"
			class="flashmovie"
			width="300"
			height="150">
	<param name="movie" value="../images/animated-glow.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="../images/animated-glow.swf"
			name="fm_animated-glow_897906869"
			width="300"
			height="150">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></div>
<p>This tutorial will show you how to make the flaming text effect shown here on the right. It&#8217;s quite versatile and can be used over any sort of shape/image to create all sorts of different effects.<br />
<span id="more-299"></span><br />
Ok, well let&#8217;s get going&#8230;</p>
<div class="clear">
<div id="attachment_302" class="wp-caption alignright" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/12/tut01_settings.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/12/tut01_settings-150x150.jpg" alt="document settings" title="tut01_settings" width="150" height="150" class="size-thumbnail wp-image-302" /></a><p class="wp-caption-text">document settings</p></div></div>
<p><strong>1. Setting Flash up</strong><br />
First thing we need to do is set up our document. To match the original I&#8217;ve used 300px width and 150px height. I&#8217;ve also set the background to black. Make sure to change your fill and ink colours to white before you start.</p>
<div class="clear">
<div id="attachment_306" class="wp-caption alignleft" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/12/shape.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/12/shape-150x150.jpg" alt="go crazy" title="shape" width="150" height="150" class="size-thumbnail wp-image-306" /></a><p class="wp-caption-text">go crazy</p></div>
</div>
<p><strong>2. Time for some drawing</strong><br />
You can be as random as you like here, but try and keep it in a circlular area (we&#8217;re going to rotate it later). There&#8217;s no need to copy mine exactly, just a rough estimation should work just as well. Once you&#8217;re happy, select the shape and hit F8 to create a new symbol. Make sure it&#8217;s set to MovieClip, the registration point is in the middle and call it &#8220;theShape&#8221;.</p>
<div class="clear">
<div id="attachment_313" class="wp-caption alignright" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/12/rotating.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/12/rotating-150x150.jpg" alt="rotating" title="rotating" width="150" height="150" class="size-thumbnail wp-image-313" /></a><p class="wp-caption-text">rotating</p></div>
</div>
<p><strong>3. Rotation animation</strong><br />
With your shape roughly in the middle of your stage, select it and hit F8 again. This time call it &#8220;spinner&#8221; and also give it the instance name of &#8220;spinner&#8221;. Now double click the shape to go back inside the spinner MovieClip.  Place a keyframe on frame 300, then go back to frame 1, right click on the frame and choose classic tweening. In the frame properties panel, under tweening set the Rotate property to CW (clock wise) and make sure it&#8217;s set to x1. Hit return to test. If it&#8217;s working fine and you&#8217;re happy then select the 1st frame again, right click and choose &#8220;select all frames&#8221;, once selected, right click again and choose &#8220;copy frames&#8221;. Now add a new Layer, right click on the first frame and paste those frames into it. You will have to go to the end of timeline and delete the extra 300 frames that Flash decides to put on. When you&#8217;ve done that go back to the 1st frame and select it. In the properties just change the rotation property to CCW (counter clock wise). The last thing to do (just to add a bit of randomness) is to select the shape on frame 1 and 300 and do a modify/transform/flip vertical on it. Test again and if all looks cool then go back to scene 1 with your spinner clip in it.</p>
<div class="clear">
<div id="attachment_319" class="wp-caption alignright" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/12/gradient-mask.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/12/gradient-mask-150x150.jpg" alt="using the gradient transform tool" title="gradient-mask" width="150" height="150" class="size-thumbnail wp-image-319" /></a><p class="wp-caption-text">using the gradient transform tool</p></div>
</div>
<p><strong>4. Adding some masking</strong><br />
Select the spinner clip and hit F8 to make it a movieClip and call it spinMask. Go back into spinMask and create a new layer above your spinner clip. Now we&#8217;re going to create a gradient mask.  On the new layer draw a big ellipse over the whole stage. You can always adjust this later. Fill it with a radial gradient of white to black (with white in the centre), and make the black transparent using the color panel . Use the fill transform tool to make it look like the image on the right. When you&#8217;re happy, select it, hit F8 to create a movieClip and call it gradMask and also give it the instance name of gradMask. Normal masking won&#8217;t work with gradient masks so we have to use a bit of code to make the magic happen. Create a new layer above your new gradient mask (gradMask) and label it &#8220;actions&#8221;. Insert the following code into this 1st frame.</p>
<p><code>gradMask.cacheAsBitmap=true;<br />
spinner.cacheAsBitmap=true;<br />
gradMask.setMask(spinner);</code></p>
<div class="clear">
<div id="attachment_321" class="wp-caption alignright" style="width: 233px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/12/filters01.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/12/filters01-223x300.jpg" alt="use these settings" title="filters01" width="223" height="300" class="size-medium wp-image-321" /></a><p class="wp-caption-text">use these settings</p></div>
</div>
<p><strong>5. Time for some Text</strong><br />
Go back to the main scene. You should have your spinMask on frame 1. Make sure it has the same instance name. Create a new layer and make some text. It can be whatever you like but use a light colour. I&#8217;m using white. I also find the narrower fonts tend to look better. With the text still selected add a glow filter using the settings shown on the right. Blur:5, Strength:100%, Color: #FF0000 and Inner glow ticked. Now hit f8 to turn it into a movieClip and call it flameText (instance name as well).</p>
<p> Make sure you&#8217;re on scene 1 still and select the new flameText movieClip. We&#8217;re going to add a few more glow effects to it.<br />
First off an outerglow using Blur: 14px, Strength: 460%, Quality: High and Color: #FF6600. Finally add an inner glow using Blur: 14px, Strength: 106%, Color: #CC0000 and Inner glow ticked. See image for screenshot. </p>
<div class="flash-left">
<div id="attachment_323" class="wp-caption alignright" style="width: 263px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/12/filters02.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/12/filters02-253x300.jpg" alt="final text filters" title="filters02" width="253" height="300" class="size-medium wp-image-323" /></a><p class="wp-caption-text">final text filters</p></div>
</div>
<p>You can of course experiment with different colours and blur amounts, in fact depending on the font used you might have to. Ideally you want the stems of the characters to be glowing white. So, these settings are best for a flame effect but please muck about with them and see what else you can come up with.<br />
Now select your spinMask clip and under the display tab change the Blending mode to Screen. Still with the spinMask selected add a new Blur filter using Blur: 30px. You can play around with the blur to get something that you like. We&#8217;re nearly there!</p>
<div class="clear">
<strong>6. The last bit of script and some adjustments</strong><br />
In your main scene, create a new layer and label it &#8220;actions&#8221;. Go into this frames action panel and add the following code.</p>
<p><code>flameText.cacheAsBitmap=true;<br />
spinMask.cacheAsBitmap=true;<br />
flameText.setMask(spinMask);</code></p>
<p>It&#8217;s time to test the movie. You should now have some text that looks on fire! This is where you can play around with the different filters and even transform the spinMask clip for a more complete effect. If you find it&#8217;s not working then the most common reason is that one of your movieClips has either not got an instance name or it&#8217;s different in some way. Remember instance names are case sensitive.</p>
<p>Feel free to comment below and if anyone makes anything I&#8217;d love to see the results so chuck it online somewhere and post a link.</p>
<p>Here&#8217;s my version which I made writing the tutorial.<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_tutorial_flame_text_853521170"
			class="flashmovie"
			width="300"
			height="150">
	<param name="movie" value="http://barrywebber.co.uk/wp-content/uploads/2009/12/tutorial_flame_text.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://barrywebber.co.uk/wp-content/uploads/2009/12/tutorial_flame_text.swf"
			name="fm_tutorial_flame_text_853521170"
			width="300"
			height="150">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></div>
<p><a href="http://www.barrywebber.co.uk/downloads/flame.zip">Here is a link to the FLA.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://barrywebber.co.uk/?feed=rss2&amp;p=299</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>mbx games win stuff!</title>
		<link>http://barrywebber.co.uk/?p=293</link>
		<comments>http://barrywebber.co.uk/?p=293#comments</comments>
		<pubDate>Fri, 30 Oct 2009 12:56:56 +0000</pubDate>
		<dc:creator>barry</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Artwork]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://barrywebber.co.uk/?p=293</guid>
		<description><![CDATA[<a href="http://barrywebber.co.uk/?p=293"><img align="left" hspace="5" width="150" src="http://barrywebber.co.uk/wp-content/uploads/2009/10/meaningfall-150x150.jpg" class="alignleft wp-post-image tfe" alt="the Meaning Fall game" title="meaningfall" /></a>Congratulations to the boys at mbxgames for winning 3rd spot in the Dictionary.com “Word Play” contest run by mochiland. There was a lot of stiff competition and the quality was very high so it&#8217;s a real achievement. It&#8217;s also worth noting that this was the highest rated entry from the entire UK. This isn&#8217;t an [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_294" class="wp-caption alignright" style="width: 160px"><a href="http://www.mochimedia.com/games/meaning-fall/"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/10/meaningfall-150x150.jpg" alt="the Meaning Fall game" title="meaningfall" width="150" height="150" class="size-thumbnail wp-image-294" /></a><p class="wp-caption-text">the Meaning Fall game</p></div><br />
Congratulations to the boys at <a href="http://www.mbxgames.com/">mbxgames</a> for winning 3rd spot in the <a href="http://mochiland.com/articles/dictionary-com-word-play-winners">Dictionary.com “Word Play” contest</a> run by mochiland. There was a lot of stiff competition and the quality was very high so it&#8217;s a real achievement. It&#8217;s also worth noting that this was the highest rated entry from the entire UK. This isn&#8217;t an entirely selfless post as I did the character design and animation for the game.  It&#8217;s called &#8220;Meaning Fall&#8221; and is a word guessing game which uses dictionary definitions for clues. Similar to a hangman type game and with similar fatal consequences. <span id="more-293"></span><br />
1st place went to the excellent &#8220;Word Machine&#8221; and 2nd went to another really good game called &#8220;Clockwords: Prelude&#8221;. Congratulations to all involved! </p>
]]></content:encoded>
			<wfw:commentRss>http://barrywebber.co.uk/?feed=rss2&amp;p=293</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Star Wars wallpaper &#8211; Empire on Patrol</title>
		<link>http://barrywebber.co.uk/?p=269</link>
		<comments>http://barrywebber.co.uk/?p=269#comments</comments>
		<pubDate>Thu, 22 Oct 2009 09:58:16 +0000</pubDate>
		<dc:creator>barry</dc:creator>
				<category><![CDATA[Artwork]]></category>
		<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[comp]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[star wars]]></category>

		<guid isPermaLink="false">http://barrywebber.co.uk/?p=269</guid>
		<description><![CDATA[<a href="http://barrywebber.co.uk/?p=269"><img align="left" hspace="5" width="150" src="http://barrywebber.co.uk/wp-content/uploads/2009/10/empire-on-patrol-300x93.jpg" class="alignleft wp-post-image tfe" alt="Empire on Patrol" title="empire-on-patrol" /></a>This is a Star Wars inspired desktop wallpaper I made for my dual view set up. It turned out ok so I thought I would share it with the world. The ships are not mine (although I have permission to use them) but everything else is. The full size image is 3360&#215;1050. If anyone would [...]]]></description>
			<content:encoded><![CDATA[<div class="flash-img-remove display-image">
<div id="attachment_274" class="wp-caption alignright" style="width: 310px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/10/empire-on-patrol.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/10/empire-on-patrol-300x93.jpg" alt="Empire on Patrol" title="empire-on-patrol" width="300" height="93" class="size-medium wp-image-274" /></a><p class="wp-caption-text">Empire on Patrol</p></div>
</div>
<p>This is a Star Wars inspired desktop wallpaper I made for my dual view set up. It turned out ok so I thought I would share it with the world. The ships are not mine (although I have permission to use them) but everything else is. <span id="more-269"></span><br />
The full size image is 3360&#215;1050. If anyone would like different resolutions then let me know and I will recomp/resize.</p>
<p>To see the full size image please <a href="http://specimen13.deviantart.com/art/Empire-on-Patrol-140988679">click here</a>. </p>
<p>Tie fighter render by Mike Verta &#8211; <a href="http://www.mikeverta.com/">www.mikeverta.com/</a><br />
Destroyer (I have no idea what it&#8217;s real name is) is by Ansel Hsiao &#8211; <a href="http://fractalsponge.net/">www.fractalsponge.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://barrywebber.co.uk/?feed=rss2&amp;p=269</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO friendly H1 images</title>
		<link>http://barrywebber.co.uk/?p=130</link>
		<comments>http://barrywebber.co.uk/?p=130#comments</comments>
		<pubDate>Tue, 13 Oct 2009 10:31:08 +0000</pubDate>
		<dc:creator>barry</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[h1]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://barrywebber.co.uk/wp/?p=130</guid>
		<description><![CDATA[<a href="http://barrywebber.co.uk/?p=130"><img align="left" hspace="5" width="150" src="http://barrywebber.co.uk/wp-content/uploads/2009/09/h1-tut-150x150.jpg" class="alignleft wp-post-image tfe" alt="H1 image replacement" title="h1-tut" /></a>A lot of the time, at the top of your website you&#8217;ll want to use something a bit more impressive than a simple H1 tag. The obvious solution would be to replace it with an image, but then you don&#8217;t have a H1 anymore and it makes good SEO sense to keep them on your [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_238" class="wp-caption alignright" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/09/h1-tut.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/09/h1-tut-150x150.jpg" alt="H1 image replacement" title="h1-tut" width="150" height="150" class="size-thumbnail wp-image-238" /></a><p class="wp-caption-text">H1 image replacement</p></div><br />
A lot of the time, at the top of your website you&#8217;ll want to use something a bit more impressive than a simple H1 tag. The obvious solution would be to replace it with an image, but then you don&#8217;t have a H1 anymore and it makes good SEO sense to keep them on your pages. I&#8217;m going to show you a way of replacing your H1 text with an image and the search engines will continue to read it.<span id="more-130"></span></p>
<p>First create your H1 tag on your page. Remember to be as descriptive as you can be (this is the one of the main things that search engines pick up on).</p>
<p><code>&lt;h1&gt;Your site description goes in here&lt;/h1&gt;</code></p>
<p>Let&#8217;s say for example that you would like your company logo in here, and you need it to appear on every page. We will need to add the image we want and hide the text using CSS. You will also need to add height and width values to match the size of the image you are using. To hide the text we use a text indent of -9999em which put&#8217;s it <strong>way</strong> off the screen. You&#8217;ll notice that if you put 9999em instead your text is still hidden, but your page is now about 6 feet wide. <img src='http://barrywebber.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s the CSS:<br />
<code><br />
h1{<br />
    height: 150px; /*change these to match your image size*/<br />
    width: 400px;<br />
    background-image: url('your_logo_goes_here');<br />
    background-repeat: no-repeat;<br />
    background-position: left top;<br />
    text-indent: -9999em;<br />
    }</code></p>
<div class="flash-left">
<div id="attachment_240" class="wp-caption alignnone" style="width: 160px"><a href="http://barrywebber.co.uk/wp-content/uploads/2009/09/h1-tut2.jpg"><img src="http://barrywebber.co.uk/wp-content/uploads/2009/09/h1-tut2.jpg" alt="disable styles" title="h1-tut2" width="150" height="150" class="size-full wp-image-240" /></a><p class="wp-caption-text">disable styles</p></div>
</div>
<p>The text is hidden yet the search engines will easily find it at the top of your page (search engines completely disregard all CSS styles). A good way to test this (and other SEO techniques) is to disable all CSS using the web developer toolbar on Firefox. This will give you a visual overview of what the search engine will see, and in what order.</p>
<p>A lot of sites have a link on their logo and header which take you back to the homepage and so it would be nice if we could do that and <strong>still</strong> use the H1. Adding the link to the H1 is easy enough, but it&#8217;s wrapped around the text that is indented off the screen so it can&#8217;t be clicked.  </p>
<p>Here&#8217;s the HTML mark up&#8230;<br />
<code><br />
&lt;h1&gt;&lt;a href="#"&gt;Here is my H1 image and link test&lt;/a&gt;&lt;/h1&gt;<br />
</code></p>
<p>and the CSS&#8230;<br />
<code><br />
h1{<br />
	background-image:url(images/tile.png);<br />
	height: 20px;<br />
	width: 200px;<br />
	text-indent: -9999em;<br />
	margin: 50px;<br />
}<br />h1 a{<br />
	padding-right: 9999em;<br />
	display: inline-block;<br />
	width: 200px;<br />
	height: 20px;<br />
}<br />
</code></p>
<p>That works but it&#8217;s got a bit of a problem. The link stretches all the way to the left. If you change the link to display: block; then that stretches all the way to the right. Ok if your logo is right up to one edge but still not a great solution.</p>
<p>This time I will do away with text indents and try a different way of hiding the text. Hiding either the H1 or the link will cause the link to just dissapear. We still want the link, just not the text inside it. Enter our friend &lt;span&gt;. By adding a span around the text in the link we can now hide it without hiding the link.</p>
<p>mark up with span added.</p>
<p><code><br />
&lt;h1&gt;&lt;a href="#"&gt;&lt;span&gt;Here is my H1 image and link test&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;<br />
</code></p>
<p>the CSS is much cleaner now.<br />
<code><br />
h1{<br />
	background-image:url(images/tile.png);<br />
	height: 20px;<br />
	width: 200px;<br />
	margin: 50px;<br />
}<br />h1 a{<br />
       display: inline-block;<br />
       height: 20px;<br />
       text-decoration: none;<br />
}<br />h1 a span{<br />
       visibility: hidden;<br />
}<br />
</code></p>
<p>The above code and CSS now hides the text but keeps the link and the image in the correct place. Both the HTML and CSS validate and if styles are disabled then your normal H1 text shows up. As far as I can tell, the only downside to this solution is that if images are disabled then you see nothing. However having both images and styles disabled works fine. You could write some javaScript to counter this but would someone with images disabled have javascript on? I doubt it!</p>
]]></content:encoded>
			<wfw:commentRss>http://barrywebber.co.uk/?feed=rss2&amp;p=130</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
