<?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>FatBasturd &#187; XHTML</title>
	<atom:link href="http://www.fatbasturd.co.uk/tag/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fatbasturd.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 20 Aug 2009 10:58:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Structuring a website for Search Engines &#8211; First Place In Google.com</title>
		<link>http://www.fatbasturd.co.uk/structuring-a-website-for-search-engines-first-place-in-googlecom/</link>
		<comments>http://www.fatbasturd.co.uk/structuring-a-website-for-search-engines-first-place-in-googlecom/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 08:29:43 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Design, CSS & Xhtml]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[Website Structure]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=147</guid>
		<description><![CDATA[This post aims to help you structure your entire site for search engines before and during development. This is by no means the be all and end all of SEO, Structuring or best method out there but is the personal effective method that I use. To begin, when preparing to develop a site what steps [...]]]></description>
			<content:encoded><![CDATA[<p>This post aims to help you structure your entire site for search engines before and during development. This is by no means the be all and end all of SEO, Structuring or best method out there but is the personal effective method that I use.</p>
<p>To begin, when preparing to develop a site what steps do you take? Do you jump right in and just start coding your .psd or alternative? Maybe you just build using your coding application and use minimal graphics? Whatever method you use I will try to explain why methodical structuring can make or break your new shiny website.<span id="more-147"></span></p>
<p>Up until recently I myself coded all my pages into the root folder of my hosting package and tried naming them accordingly. Using this method my websites always did quite well as they are coded very clean and Google liked crawling them but I soon realised I was missing one fundamental practice and so began a test. Enter <a title="First Place In Google - SEO Services" href="http://www.firstplaceingoogle.com" target="_blank">Firstplaceingoogle.com</a>.</p>
<p>I originally bought this domain name of a friend in an attempt to simply place a holding page with a link back to my main website <a title="Professional Website Design Services" href="http://www.imagelimited.co.uk" target="_blank">I.M.A.G.E Ltd</a> but decided to create a specific site offering SEO services as the domain suggests. This project I decided would be a trial of my new method away from my usually well indexed structure. Panic Time!!</p>
<p>We all know Google is the biggest and best engine to get the right listings on so I was to focus solely on that and optimise the site and structure entirely with Google in mind. To begin with I took out my trusty notepad and pen (You can get these from most places but I chose to go to the local high school and kick down a kid smaller than me and took his pencil case along with freshly decorated notebook &#8211; Bullying is bad and I do not recommend it unless you really need to do so).</p>
<p>So.. I knew that my website was going to have an index, a prices page, timeframe page and enquiries form so a simple site and good basis for this post. My notepad scribble was a little like this.</p>
<pre>homepage
- - - prices
- - - - - homepage
- - - - - timeframes
- - - - - enquiries
- - - timeframes
- - - - - homepage
- - - - - prices
- - - - - enquiries
- - - enquiries
- - - - - homepage
- - - - - timeframes
- - - - - prices</pre>
<p>Having my pages structured like this enables the user to have complete access to all of my pages from any page they visit. On top of this I decided to include a breadcrumb on top of each page. Now,  <a title="First Place In Google - SEO Services" href="http://www.firstplaceingoogle.com" target="_blank">Firstplaceingoogle.com</a> doesn&#8217;t really need this as it is a relatively small website but&#8230; I felt it good practice to include it anyway. The breadcrumb would be like so:</p>
<pre>You are here: Home » PAGE YOU ARE ON</pre>
<p>As you can see, not the most complex breadcrumb you will see but it does the job it is intended to do. Now it was time to begin creating the code for my pages and add SEO (Search Engine Optimisation) to each of my pages.</p>
<p>Now, again this is not the gospel way to do things but I have never been a fan of simply copying others work so I simply do things my way and this is one of them (If it&#8217;s not broke, why fix it?). So my SEO structure would be a bit more complex than my paging structure and would be like so.</p>
<pre>&lt;META&gt;
&lt;H1&gt;
&lt;PARAGRAPH&gt;
&lt;H2&gt;
&lt;PARAGRAPH&gt;
&lt;H3&gt;
&lt;PARAGRAPH&gt;
&lt;H4&gt;
&lt;PARAGRAPH&gt;
&lt;H5&gt;
&lt;PARAGRAPH&gt;</pre>
<p>Notice the pattern? Simple isn&#8217;t it? on top of structuring my individual pages like this I was to give each header a title like so &lt;h1 title=&#8221;title here&#8221;&gt;Header Here&lt;/h1&gt; and also each link would gain the same treatment. It is also great practice to never use simple text within your links such as &#8220;click here&#8221; or &#8220;click me&#8221;. Instead and in my case i was to use links such as <a title="Search Engine Optimisation Enquiries" href="http://www.firstplaceingoogle.com/Search-Engine-Optimisation-Service-Enquiries">SEO Search Engine Optimisation Enquiries</a> this would make it even easier for Google to index the site and its internal links.</p>
<p>Within each paragraph it is good paragraph to constantly link your chosen keywords within a readable format. What this simply means is that you can link a large amount of paragraphs together using your chosen keywords in nice sentences to ensure the engines do not see it as spamming.</p>
<p>Also important are the meta tags you use in the head of your pages. The ones i used are as follows:</p>
<pre>&lt;meta name="description" content="First Place In Google.com offer Search Engine Optimisation,
 SEO Services, Keyword Analysis and Keyword Suggestions for your website" /&gt;
&lt;meta name="keywords" content="First Place In Google, Top Of Search Engines, SEO Services,
Search Engine Optimisation, Optimization, SEO, Website Keywords, S.E.O, Keyword Analysis,
Keyword Suggestions, Search Engine Reports" /&gt;
&lt;meta name="distribution" content="Global" /&gt;
&lt;meta name="rating" content= "Safe For Kids" /&gt;
&lt;meta name="copyright" content="Copyright (c)2009 firstplaceingoogle.com." /&gt;
&lt;meta name="author" content="First Place In Google" /&gt;
&lt;title&gt;Prices - Google Search Engine Optimisation (SEO) Services. First Place In Google&lt;/title&gt;</pre>
<p>This is a structure that I believe to be highly effective but again is not a chapter in the best selling book &#8220;Gospel ways to do things on your website&#8221; by Web Jebus.</p>
<p>Now onto the more important things. Does this method work? Well the honest answer is at the moment YES!! Since I launched First Place In Google I have been tracking its progress within Google and i am now happy to say that in just under 2 weeks I have made the <del datetime="2009-02-23T10:23:05+00:00">second page </del> (<strong>Update:</strong> Around 24 hours later and I now have the site on the first page on google. Proof that my system works.) for the search term &#8220;first place in google&#8221; which is no mean feat by any means. After 1 week I was placed on the 5th page so I have managed an 60%+ increase within a 7 day period.</p>
<p>I am still tracking the site daily to find my rankings for other keywords but I must also appreciate that there are lots of sites in this field doing the same kind of practice which obviously means a fight to reach the top. I have also implemented this method on my main portfolio site <a title="Professional Website Design Services" href="http://www.imagelimited.co.uk" target="_blank">I.M.A.G.E Ltd</a> which is a much more complicated structure and not yet indexed with the new structure by Google. I will closely be monitoring this and posting the results here. Go take a look.</p>
<p>I hope this post helps you in the structuring of your website and I look forward to your comments on how to better the system or what results you have gained using my methods. Making a comment takes seconds so go ahead tell me how juicy I am!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/structuring-a-website-for-search-engines-first-place-in-googlecom/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>CSS Layout using percentage (%) and pixels (px) together</title>
		<link>http://www.fatbasturd.co.uk/css-layout-using-percentage-and-pixels-px-together/</link>
		<comments>http://www.fatbasturd.co.uk/css-layout-using-percentage-and-pixels-px-together/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 19:19:19 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Design, CSS & Xhtml]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Fat]]></category>
		<category><![CDATA[Grease]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=141</guid>
		<description><![CDATA[Quite often either I or other people are asked how to control CSS layouts using both pixels and percentages. The answer is a simple one but I will demonstrate the code needed a little more so you can better understand it. For this tutorial I will be basing the tutorial on a post I answered [...]]]></description>
			<content:encoded><![CDATA[<p>Quite often either I or other people are asked how to control CSS layouts using both pixels and percentages. The answer is a simple one but I will demonstrate the code needed a little more so you can better understand it. For this tutorial I will be basing the tutorial on a post I answered on Neowin.net (A forum I frequent).</p>
<p>Ok, so start with we want to have a main div which stretches for 80% of the browser width. Our main div will have the class .red and uses the following CSS.<br />
<span id="more-141"></span></p>
<pre>
.red {
	background-color: #F00;
	width: 80%;
	height: 800px; /* Just for illustration purposes */
	margin-right: auto;
	margin-left: auto;
}
</pre>
<p>So you can see that our .red class has an 80% width and uses margin auto for left and right. This centers the div within the browser and gives it a percentage of 80%.</p>
<p>Now, what we want to achieve is the following. A left column within .red with the width of 250px and a right column that will fill the remainder of the 80% width. Tricky? Not really&#8230;</p>
<p>Our left column will be called .blue and uses the following CSS.</p>
<pre>
.blue {
	float: left;
	width: 250px;
	background-color: #06C;
	color: #FFF;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: center;
}
</pre>
<p>The CSS for our left column is simple as you can see. It uses 250px for the width and I simply float it to the left. Our right column however needs a little more to achieve our result and is achieved like so.</p>
<p>Our right column will have the class .green and uses the following CSS.</p>
<pre>
.green {
	float: none;
	left: auto;
	margin-left: 250px;
	position: static;
	width: auto;
	background-color: #0F6;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #000;
	text-align: center;
}
</pre>
<p>.green has a static position, uses no float and has the width set to auto to ensure it fills the remaining space and the all important margin. the margin is the important part here as you need to set the value as per the width of your left column so if you have a column on the left that is 190px wide then your margin-left must be 190px and so on.</p>
<p>That is all you need for the desired effect (<a href="http://www.fatbasturd.co.uk/neowin-rgb.html">Live Demo</a>). As usual, to leave me a fat comment dripping with greasy left over meat just look below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/css-layout-using-percentage-and-pixels-px-together/feed/</wfw:commentRss>
		<slash:comments>3771</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 6 (IE6) Double Margin CSS Fix</title>
		<link>http://www.fatbasturd.co.uk/internet-explorer-6-ie6-double-margin-css-fix/</link>
		<comments>http://www.fatbasturd.co.uk/internet-explorer-6-ie6-double-margin-css-fix/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 07:34:27 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Design, CSS & Xhtml]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Internet Explorer 6]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=131</guid>
		<description><![CDATA[I thought I should share with you a little bug fix within Internet Explorer 6 that certainly would have had some of you pulling your hair out before now. I am of course talking about a situation where you have a floating element within IE6 that magically gains extra padding or margin without setting it. The [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I should share with you a little bug fix within Internet Explorer 6 that certainly would have had some of you pulling your hair out before now. I am of course talking about a situation where you have a floating element within IE6 that magically gains extra padding or margin without setting it.</p>
<p>The problem occurs when you float an element such as a div within your page with padding or margin. IE6 sees it and decides it has a passion for a fatty (no pun intended) and waves its magical MS wand. The MS spell makes the element expand with &#8220;double&#8221; the padding you wanted on it.</p>
<p>So what can we do to fix the issue? <span id="more-131"></span>Well&#8230;. This is going to be a long long long exercise so I would seriously consider eating a kebab whilst doing the fix!! Got your kebab? Ok lets go..</p>
<p>add the following to the css of the element you are having an issue with.</p>
<pre>display: inline;</pre>
<p>That&#8217;s it&#8230;You are done. <img src='http://www.fatbasturd.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You still have the kebab right? not eaten any yet? Send it to me through my comments box.. Go ahead i don&#8217;t bite</p>
<p>P.S: If you really need your element to be a block element rather than inline you can do the following hack within your stylesheet.</p>
<p>this example is if you have 20px margin on the element.</p>
<pre>margin-left: 20px;  /* Other Browsers */
margin-right: 20px; /* Other Browsers */
_margin-left: 10px; /* IE6 */
_margin-right: 10px; /* IE6 */</pre>
<p>The underscore is only seen by IE6 and will basically give it beer goggles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/internet-explorer-6-ie6-double-margin-css-fix/feed/</wfw:commentRss>
		<slash:comments>3591</slash:comments>
		</item>
		<item>
		<title>It&#8217;s official!! The world wide web has an ozone layer and we are destroying that too.</title>
		<link>http://www.fatbasturd.co.uk/its-official-the-world-wide-web-has-an-ozone-layer-and-we-are-destroying-that-too-enter-keepittidycouk/</link>
		<comments>http://www.fatbasturd.co.uk/its-official-the-world-wide-web-has-an-ozone-layer-and-we-are-destroying-that-too-enter-keepittidycouk/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 10:46:17 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Design, CSS & Xhtml]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Fat]]></category>
		<category><![CDATA[Grease]]></category>
		<category><![CDATA[Meat]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=13</guid>
		<description><![CDATA[Ok, so scientists haven&#8217;t actually stated that there is indeed a www ozone layer but at this point you are reading the post so the title&#8217;s job has been done. This post is actually about the world wide web but I am going to be focussing on how we got it into the mess it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fatbasturd.co.uk/its-official-the-world-wide-web-has-an-ozone-layer-and-we-are-destroying-that-too-enter-keepittidycouk"><img title="kitter" src="http://www.fatbasturd.co.uk/wp-content/uploads/2009/01/kitter.jpg" alt="kitter" /></a></p>
<p>Ok, so scientists haven&#8217;t actually stated that there is indeed a www ozone layer but at this point you are reading the post so the title&#8217;s job has been done. This post is actually about the world wide web but I am going to be focussing on how we got it into the mess it is today.</p>
<p>Every developer or designer at one stage is guilty of a dodgy contribution to the basement of the grand old interweb and most learn from the mistake then move on to better things. I am of course reffering to bad design, markup or use of flashing animated .gif&#8217;s.</p>
<p>On an average day of web browsing looking for more useless information to forget an hour later I would say that 50% + of the sites either look or work absolutely cack. A little more time spent on the finer details can make a world of difference and websites that showcase the best of the best should really do what they say on the tin and actually show the ones that function, look good and inspire others.<span id="more-13"></span></p>
<p>I am guilty of shirking certain duties involved when building a site especially when the deadline is close but I like to think that the finesse is always there and my shirking will not be noticed or indeed important to the websites progression. Sometimes when there is a deadline and I have a designers block thing going on I usually check out some of the web showcase websites I frequent.</p>
<p>As of late (<a href="http://www.fatbasturd.co.uk/css-showcase-websites-degrading/" target="_blank">Refer to recent post</a>) these sites seem to add more than their fair share of &#8220;ok websites&#8221; into the database so when somebody like me visits the site looking to steal some inspiration I am instead faced with trawling through more than a couple of designs to find anything decent enough to be classed as &#8220;best of the best&#8221;. A big culprit of this is <a href="http://www.cssshowcase.co.uk">CSS Showcase</a>! The site seems to accept ANY website submitted to it (probably just to populate the database a bit more) so does not suit its purpose. It is also found on top of Google for &#8220;CSS Showcase&#8221; which is understandable by the domain name but how it could EVER inspire designers i will never know.</p>
<h4>The birth of KIT</h4>
<p>I&#8217;m not talking about the car off Knight Rider that would be silly and irrelevent although he does have a nice shine&#8230;Nope I am talking about a newly developed website called Keep It Tidy (<a href="http://www.keepittidy.co.uk" target="_blank">keepittidy.co.uk</a>) designed by a fat, greasy, ugly, sweaty bastard&#8230;&#8230;ME <img src='http://www.fatbasturd.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>KIT is a Flash, CSS &amp; HTML website showcase gallery which will feature websites that I deem suitable for inspiration to designers and developers. This could be for several reasons such as tutorials included, design, usability etc but ultimately will be based off the inspiration levels. I have created my own graph with an inspiration level from 1-10 and if a website reaches above 7 then it is suitable to be included.</p>
<h4>What will this achieve?</h4>
<p>Hopefully once we get more submissions into our database it can become an inspiration portal to designers and developers which can aid us all in our time of need when the inspiration blocker devil starts his rounds.</p>
<p>Have you created an awesome site? <a title="KIT" href="http://www.keepittidy.co.uk/submit_a_site.php" target="_blank">Submit it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/its-official-the-world-wide-web-has-an-ozone-layer-and-we-are-destroying-that-too-enter-keepittidycouk/feed/</wfw:commentRss>
		<slash:comments>2290</slash:comments>
		</item>
		<item>
		<title>3 New Sliding Doors CSS Menus &#8211; Direct Download</title>
		<link>http://www.fatbasturd.co.uk/3-new-free-css-menus-direct-download/</link>
		<comments>http://www.fatbasturd.co.uk/3-new-free-css-menus-direct-download/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 18:58:20 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Design, CSS & Xhtml]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Menu]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=109</guid>
		<description><![CDATA[Hey all, I have created a few more menus for you to download and use in your projects. If you would like to learn how to create these menus yourself you can refer to my recent tutorial here. I have included the .psd, HTML &#38; CSS files within each download to make it easier. Remember, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fatbasturd.co.uk/3-new-free-css-menus-direct-download/"><img title="Free CSS Menu Downloads" src="http://www.fatbasturd.co.uk/wp-content/uploads/2009/01/tablet_menus.jpg" alt="Free CSS Menu Downloads" /></a></p>
<p>Hey all, I have created a few more menus for you to download and use in your projects. If you would like to learn how to create these menus yourself you can refer to my recent tutorial <a title="Sliding Doors using only CSS" href="http://www.fatbasturd.co.uk/sliding-doors-navigation-explained-demonstrated/" target="_self">here</a>.</p>
<p>I have included the .psd, HTML &amp; CSS files within each download to make it easier. Remember, if you use them in a project i would like to hear about it&#8230;.That&#8217;s why i have a comment box <img src='http://www.fatbasturd.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <span id="more-109"></span></p>
<p>Click <a href="http://www.fatbasturd.co.uk/tutorials/menus/tablet_series.html" target="_blank">here</a> for a demonstration.</p>
<p>Download: <a title="Red" href="http://www.fatbasturd.co.uk/downloads/Red%20Tablet%20Menu%20Pack">Red Menu</a><br />
Download: <a title="Blue" href="http://www.fatbasturd.co.uk/downloads/Blue%20Tablet%20Menu%20Pack">Blue Menu</a><br />
Download: <a href="http://www.fatbasturd.co.uk/downloads/Black%20Tablet%20Menu%20Pack">Black Menu</a></p>
<p>Want more? Comment below and let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/3-new-free-css-menus-direct-download/feed/</wfw:commentRss>
		<slash:comments>5051</slash:comments>
		</item>
		<item>
		<title>Sliding Doors Navigation Explained &amp; Demonstrated</title>
		<link>http://www.fatbasturd.co.uk/sliding-doors-navigation-explained-demonstrated/</link>
		<comments>http://www.fatbasturd.co.uk/sliding-doors-navigation-explained-demonstrated/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 12:37:55 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Design, CSS & Xhtml]]></category>
		<category><![CDATA[a:hover]]></category>
		<category><![CDATA[a:link]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Menu]]></category>
		<category><![CDATA[Nav]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Sliding Doors]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=88</guid>
		<description><![CDATA[In this tutorial I am going to explain how to create a sliding door navigation menu using only CSS. When you have finished the tutorial you will finish with something like this. you will notice that when you hover over any of the links in the example the button state changes to reflect it and it seems [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fatbasturd.co.uk/sliding-doors-navigation-explained-demonstrated"><img class="aligncenter" title="Screenshot of Menu" src="http://www.fatbasturd.co.uk/wp-content/uploads/2008/12/menu_screenshot.jpg" alt="Screenshot of Menu" /></a></p>
<p>In this tutorial I am going to explain how to create a sliding door navigation menu using only CSS. When you have finished the tutorial you will finish with something like <a title="Sliding Doors using only CSS" href="http://www.fatbasturd.co.uk/sliding_doors.html" target="_blank">this</a>.</p>
<p>you will notice that when you hover over any of the links in the example the button state changes to reflect it and it seems as if only one image is used. This is not the case!! Sliding door menus use two images , one for the left and one for the right. I am also implementing <a href="http://www.fatbasturd.co.uk/css-rollover-tabs-how-i-do-them/" target="_blank">my CSS menu trick </a>so we use only one image for the left hover and link state and likewise for the right reducing flicker and making the script lighter.</p>
<p>The source files for this tutorial are included and the menu has been tested in IE6, IE7, Firefox &amp; Safari (Windows). Onward bound&#8230; <span id="more-88"></span></p>
<h4>The images</h4>
<p>For this menu we use a total of two images for the entire effect. Amazing huh? The images are specially laid out like so:</p>
<p><img title="nav_left" src="http://www.fatbasturd.co.uk/wp-content/uploads/2008/12/nav_left.gif" alt="nav_left" width="156" height="74" />  <img title="nav_right" src="http://www.fatbasturd.co.uk/wp-content/uploads/2008/12/nav_right.gif" alt="nav_right" width="12" height="74" /></p>
<p>The way the images are laid out allows us to use longer links if we need to and the buttons will automatically expand to fit.</p>
<h4>The HTML</h4>
<p>The HTML for the menu is very simple and takes up few lines.</p>
<pre class="xhtml">&lt;div id="aqua_blue_nav"&gt;
&lt;ul&gt;
 &lt;li id="selected"&gt;&lt;a href="#"&gt;&lt;span&gt;Link 1&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link 2&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Longer Link 1&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link 3&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Link 4&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Another Long Link&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br style="clear:both" /&gt;
&lt;/div&gt; </pre>
<p>You will see that the links are contained within two HTML elements (Link &amp; Span) within the li tags. This is to allow us to call CSS functions to control them as we need to so lets break it down and actually explain what we are doing.</p>
<p><strong>Link 1:</strong> &lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;&lt;span&gt;Link 2&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;. You can see that link two is contained within an li tag  and within that we have a simple href tag and within that a span tag.</p>
<p>The href uses the following rule</p>
<pre class="css">#aqua_blue_nav a {
 background-image: url(aqua_blue/nav_left.gif);
 background-repeat: no-repeat;
 background-position: left bottom;
 display: inline-block;
 height: 37px;
 line-height: 37px;
 font-weight: bold;
 color: #333333;
 text-decoration: none;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 12px;
 padding-left: 12px;
}</pre>
<p>What we are doing here is declaring that any link within the navigation must use the left image in its normal state positioned to the left but the problem we have here is that the left image has no curve on the right side making the link look incomplete so we need to find a way of adding the right image into the link too. This is accomplished by calling the span tag from within the link using the following CSS.</p>
<pre class="css">#aqua_blue_nav a span {
 background-image: url(aqua_blue/nav_right.gif);
 background-repeat: no-repeat;
 background-position: right bottom;
 height: 37px;
 display: inline-block;
 padding-right: 12px;
 cursor: hand;
}</pre>
<p>Now our link has a left image and a right image associated with it and will expand to fit the text you require within the button but how do we now do the same but for the hover effect? Simple..we target the elements exactly the same as we just did but instead of simply using #aqua_blue_nav a, we will be using #aqua_blue_nav a:hover which tells the browser that the link has our mouse over it so it should change. We do this by using the following CSS.</p>
<pre class="css">#aqua_blue_nav a:hover {
 background-image: url(aqua_blue/nav_left.gif);
 background-repeat: no-repeat;
 background-position: left top;
 display: inline-block;
 height: 37px;
 line-height: 37px;
 font-weight: bold;
 color: #333333;
 text-decoration: none;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 12px;
 padding-left: 12px;
}
#aqua_blue_nav a:hover span {
 background-image: url(aqua_blue/nav_right.gif);
 background-repeat: no-repeat;
 background-position: right top;
 height: 37px;
 display: inline-block;
 padding-right: 12px;
 cursor: hand;
}</pre>
<p>You can see that the above CSS is calling the use of the exact same images as the normal state but if you check out the background-position you will see that the position has changed from bottom to top! Basically the CSS is telling the browser that when the links are hovered over the background must rise to the top giving the desired effect.</p>
<p>On my demonstration you will see that the first link already looks like it is being hovered over! We achive this by targetting the actual li tag holding the href with the CSS rule &#8220;#selected&#8221; and using the following:</p>
<pre class="css">#selected a {
 background-image: url(aqua_blue/nav_left.gif);
 background-repeat: no-repeat;
 background-position: left top;
 display: inline-block;
 height: 37px;
 line-height: 37px;
 font-weight: bold;
 color: #333333;
 text-decoration: none;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 12px;
 padding-left: 12px;
}
#selected a span {
 background-image: url(aqua_blue/nav_right.gif);
 background-repeat: no-repeat;
 background-position: right top;
 height: 37px;
 display: inline-block;
 padding-right: 12px;
 cursor: hand;
}</pre>
<p>This is telling the browser that any link with the id selected must act like its been selected to notify the user of what page they are currently viewing. Try switching the id onto another link and you will see another link take the selected state. Using this method you can design your own menus in minutes and minimum code. These menus can add a lot of sparkle to any websites navigation menu. If you have used this tutorial to build your own menu please let me know.</p>
<p>As usual, any questions please use the comments box. I have attached the source files below and you can view a demonstration <a title="Sliding Doors using only CSS" href="http://www.fatbasturd.co.uk/sliding_doors.html" target="_blank">here</a></p>
<p>Source Files: .PSD, HTML &amp; CSS &#8211; <a href="http://www.fatbasturd.co.uk/downloads/Aqua Blue CSS Sliding Doors Menu Bundle">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/sliding-doors-navigation-explained-demonstrated/feed/</wfw:commentRss>
		<slash:comments>3863</slash:comments>
		</item>
		<item>
		<title>When i&#8217;m not working, I watch TV.</title>
		<link>http://www.fatbasturd.co.uk/when-im-not-working-i-watch-tv/</link>
		<comments>http://www.fatbasturd.co.uk/when-im-not-working-i-watch-tv/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 09:07:25 +0000</pubDate>
		<dc:creator>FatBasturd</dc:creator>
				<category><![CDATA[Life, strife & general shite]]></category>
		<category><![CDATA[TV & Movies]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Dexter]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Prison Break]]></category>
		<category><![CDATA[Serial Killer]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.fatbasturd.co.uk/?p=53</guid>
		<description><![CDATA[So I thought I would make a general post about all the unimportant things happening around the world before moving on to information regarding future postings. If you don&#8217;t care about Prison Break, Dexter or TV in general then you may aswell hit the jump and scroll towards the end of this post. When I am not [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fatbasturd.co.uk/when-im-not-working-i-watch-tv/"><img class="size-full wp-image-56" title="prisonbreak1" src="http://www.fatbasturd.co.uk/wp-content/uploads/2008/12/prisonbreak1.jpg" alt="Prison Break &amp; Dexter" /></a></p>
<p>So I thought I would make a general post about all the unimportant things happening around the world before moving on to information regarding future postings. If you don&#8217;t care about Prison Break, Dexter or TV in general then you may aswell hit the jump and scroll towards the end of this post.</p>
<p>When I am not working i like to put my feet up and either spend time with my family, play some Xbox 360 or watch some TV.</p>
<p>I watch quite a few american shows religiously as I am sure many of you do too. Most notably Prison Break and Dexter. If you havent seen either show yet then you really should. Prison Break is on its 4th series right now and is just as fresh as it&#8217;s first whilst Dexter is on its 3rd series. What are they?<span id="more-53"></span></p>
<h4>Prison break</h4>
<p>If I tell you that Prison Break is about a group of prisoners breaking out from prison I don&#8217;t think i&#8217;m going to ruin it for you am I?. The reason I am posting about this now is because it is now coming to a conclusion and it is very exciting. <strong>SPOILER:</strong> Michael Schofield has just organised a plan to break into a building that has the best security system in the world and succeeded in walking out with a piece of hardware known as Scylla.</p>
<p>Scylla is &#8220;The Company&#8217;s&#8221; black book and contains the information needed by the police to take the company down for good however the guy from the police department &#8220;Self&#8221; has cheated Schofield and the gang and managed to take Scylla in a bid to sell it on so they are now trying to track him down and retrieve the device&#8230;AGAIN.</p>
<p>I may not be the best at explaining a story but i hope you get the gist of it and WATCH IT. An amazing series with few flaws.</p>
<h4>Dexter</h4>
<p>Dexter is quite simply a genius show and fits right into my favourites. Dexter is a blood spatter expert working for the police tracking down serial killers. The twist is that Dexter is also a serial killer that only kills other murderers.</p>
<p>Dexter covers his tracks pretty well but things still manage to get in the way. Watch it and you will be hooked.</p>
<h4>Future Postings</h4>
<p>Over the coming weeks I am going to be creating a number of video tutorials on creating a website starting from the basics leading up to more advanced material suc as PHP &amp; MySql.</p>
<p>First part of the tutorial is going to be &#8220;3 Column Layout Using CSS&#8221; so watch out for that in the next couple of days. Most of the tutorials will involve using Adobe products, mainly Dreamweaver and Photoshop so you should have them at the ready.</p>
<p>Until then, keep eating and have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatbasturd.co.uk/when-im-not-working-i-watch-tv/feed/</wfw:commentRss>
		<slash:comments>3379</slash:comments>
		</item>
	</channel>
</rss>

