<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WTFDWK</title>
	
	<link>http://www.wtfdwk.com</link>
	<description>Here's what we know</description>
	<lastBuildDate>Wed, 29 Aug 2012 09:32:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WTFDWK" /><feedburner:info uri="wtfdwk" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Forms without Labels</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/scB-mCPM25Q/</link>
		<comments>http://www.wtfdwk.com/forms-without-labels/#comments</comments>
		<pubDate>Wed, 29 Aug 2012 09:31:08 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Html]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=619</guid>
		<description><![CDATA[So as the web is becoming even more smaller (Mobiles) I&#8217;m finding i&#8217;m having to fit more and more form fields into a page and one thing that has always bugged me is labels so with the below code you no longer have to worry about have to have a label and form field..! The [...]]]></description>
			<content:encoded><![CDATA[<p>So as the web is becoming even more smaller (Mobiles) I&#8217;m finding i&#8217;m having to fit more and more form fields into a page and one thing that has always bugged me is labels so with the below code you no longer have to worry about have to have a label and form field..!<span id="more-619"></span></p>
<p>The example is for a form field titled &#8220;First Name&#8221; and what the extra code will do is add in the label to the field and once the user clicks on the field it will be removed so they can fill it in and if they don&#8217;t add anything it will revert back to the label.</p>
<blockquote><pre><code >&lt;input id="first_name" type="text" onblur="if(this.value == '') { this.value = 'First Name'; }"
onfocus="if(this.value == 'First Name') { this.value=''; }" value="First Name" name="first_name"&gt;</code></pre>
</blockquote>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/scB-mCPM25Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/forms-without-labels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/forms-without-labels/</feedburner:origLink></item>
		<item>
		<title>Stop iphone from inheriting Safari styling</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/pamstGfKb_8/</link>
		<comments>http://www.wtfdwk.com/stop-iphone-from/#comments</comments>
		<pubDate>Wed, 29 Aug 2012 09:22:57 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=613</guid>
		<description><![CDATA[I come across this a few times now and keep forgetting how to stop the iPhone (Safari) from changing the appearance of buttons and other controls to resemble native controls. But all you need to do is add this little piece of code into your CSS..! -webkit-appearance:none;]]></description>
			<content:encoded><![CDATA[<p>I come across this a few times now and keep forgetting how to stop the iPhone (Safari) from changing the appearance of buttons and other controls to resemble native controls. But all you need to do is add this little piece of code into your CSS..!<span id="more-613"></span></p>
<blockquote><pre><code >-webkit-appearance:none;</code></pre>
</blockquote>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/pamstGfKb_8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/stop-iphone-from/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/stop-iphone-from/</feedburner:origLink></item>
		<item>
		<title>Custom 404 Error page</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/qNfjKx3qwck/</link>
		<comments>http://www.wtfdwk.com/custom-404-error-pages/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 17:54:14 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Html]]></category>
		<category><![CDATA[404 Error Page]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=589</guid>
		<description><![CDATA[Been seeing a lot of these custom pages of late and thought i would share with you how simple it is to make your very own page..! First of you will need to make a .htaccess file that will detect if the user has the correct page url and if not will redirect them to [...]]]></description>
			<content:encoded><![CDATA[<p>Been seeing a lot of these custom pages of late and thought i would share with you how simple it is to make your very own page..!</p>
<p>First of you will need to make a .htaccess file that will detect if the user has the correct page url and if not will redirect them to your own 404 Error page.<span id="more-589"></span></p>
<p>All you need to do is open a text editor and paste the following code into it:</p>
<blockquote><pre><code >ErrorDocument 404 /404.html</code></pre>
</blockquote>
<p>Now the last part (404.html) can be anything you want as this will be the name of your 404 Error page.</p>
<p>Now when saving as a .htaccess has no extension just save it as a .html file and upload it to your hosting and then once there just change the file extension of the file to be .htaccess. And thats it really other than making your own 404 Error page that is.</p>
<p>I have made one you can download over on <a href="http://www.amazium.co.uk" target="_blank">Amazium.co.uk</a> if you cant be bothered to make your own.</p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/qNfjKx3qwck" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/custom-404-error-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/custom-404-error-pages/</feedburner:origLink></item>
		<item>
		<title>Dynamic footer year</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/wJVx5jSN-8k/</link>
		<comments>http://www.wtfdwk.com/dynamic-footer-year/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 15:12:41 +0000</pubDate>
		<dc:creator>Jeff Wright</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=561</guid>
		<description><![CDATA[Had to make some updates to a website the other day that was made before we built sites using PHP includes which means i had to change at least 20 pages all becaude the footers date was wrong..! Now these days when i&#8217;m building a website that needs a date in the footer i use [...]]]></description>
			<content:encoded><![CDATA[<p>Had to make some updates to a website the other day that was made before we built sites using PHP includes which means i had to change at least 20 pages all becaude the footers date was wrong..!<span id="more-561"></span></p>
<p>Now these days when i&#8217;m building a website that needs a date in the footer i use a simple bit of PHP code which means you will never need to update it.</p>
<blockquote><pre><code >&lt;?php echo date("Y"); ?&gt;</code></pre>
</blockquote>
<p>And that is all the code you need to print the current year.</p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/wJVx5jSN-8k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/dynamic-footer-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/dynamic-footer-year/</feedburner:origLink></item>
		<item>
		<title>Amazium is here..!</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/-C0rLATxJIY/</link>
		<comments>http://www.wtfdwk.com/amazium-is-here/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 10:00:21 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Responsive Web Design]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=559</guid>
		<description><![CDATA[So what is Amazium I hear you ask, well you may have been hearing the term &#8220;Responsive Web Design&#8221; being thrown around the past few months, which simple means a website that can adjust to your screen size without having to make a separate website! This came about from the simple fact that a lot [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.amazium.co.uk/images/screens.png" title="Amazium" class="img-right" /></p>
<p>So what is Amazium I hear you ask, well you may have been hearing the term &#8220;Responsive Web Design&#8221; being thrown around the past few months, which simple means a website that can adjust to your screen size without having to make a separate website!</p>
<p>This came about from the simple fact that a lot of people have been making demos of this responsive web design but none seem to be using 960 grid system with 12 columns, and because of this I was forced to make my own..!</p>
<p><a href="http://www.amazium.co.uk/">Go check it out</a></p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/-C0rLATxJIY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/amazium-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/amazium-is-here/</feedburner:origLink></item>
		<item>
		<title>Clearing floats 2.0</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/uSQZ9rj6PEI/</link>
		<comments>http://www.wtfdwk.com/clearing-floats-2-0/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 15:09:42 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Floats]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=573</guid>
		<description><![CDATA[So ever had the problem of having a div float left and another float right only to have to use the classic div with a class of clear:both on it only to have a little padding at the bottom of the divs, well that is no longer a problem if you use the following code. [...]]]></description>
			<content:encoded><![CDATA[<p>So ever had the problem of having a div float left and another float right only to have to use the classic div with a class of clear:both on it only to have a little padding at the bottom of the divs, well that is no longer a problem if you use the following code.<span id="more-573"></span></p>
<p>So the old way was to add in the clear:both class to a div below the floated divs</p>
<blockquote><pre><code >&lt;div class="clear:both"&gt;&lt;/div&gt;</code></pre>
</blockquote>
<p>But this new method doesnt need this as all you have to do is wrap your floated divs in another div like below.</p>
<blockquote><pre><code >.container {
	overflow: hidden;
	width: 100%;
}

.left {
	width: 50%;
	float: left;
	background-color:#333;
}

.right {
	width: 50%;
	float: right;
	background-color:#666;
}</code></pre>
</blockquote>
<p>So you would have your code like follows:</p>
<blockquote><pre><code >&lt;div class="container"&gt;
	&lt;div class="left"&gt;Text here...&lt;/div&gt;
	&lt;div class="right"&gt;Text here...&lt;/div&gt;
&lt;/div&gt;</code></pre>
</blockquote>
<p>And there you go no more clearing your div and having that little bit of padding at the bottom of it..!</p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/uSQZ9rj6PEI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/clearing-floats-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/clearing-floats-2-0/</feedburner:origLink></item>
		<item>
		<title>Dynamic year footer update</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/2g6IV549Eqw/</link>
		<comments>http://www.wtfdwk.com/dynamic-year-footer-update/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 10:00:59 +0000</pubDate>
		<dc:creator>Jeff Wright</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=565</guid>
		<description><![CDATA[Ok, this one might sound really obvious so apologies in advance, but the amount of footers where I see the year is out of date really drives me mad so i thought i would try and stop this by using this code. ie - ©Copyright Company 2010 If your web pages are made with php [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, this one might sound really obvious so apologies in advance, but the amount of footers where I see the year is out of date really drives me mad so i thought i would try and stop this by using this code.<span id="more-565"></span></p>
<blockquote><pre><code >ie - ©Copyright Company 2010</code></pre>
</blockquote>
<p>If your web pages are made with php – there is nothing stopping you using a bit of php to update the year dynamically.</p>
<blockquote><pre><code >©Copyright Company &lt;?php echo date("Y"); ?&gt;</code></pre>
</blockquote>
<p>So simple I’m annoyed I missed this for so long.</p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/2g6IV549Eqw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/dynamic-year-footer-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/dynamic-year-footer-update/</feedburner:origLink></item>
		<item>
		<title>Web Inception</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/1HY6x55kf-M/</link>
		<comments>http://www.wtfdwk.com/web-inception/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 09:38:16 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Www]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=558</guid>
		<description><![CDATA[So over the last few month&#8217;s I’ve been collecting a lot of cool and funky websites as mainly design ideas but also to keep track on what awesome sits are around and so I thought I would put all these site together for you guys to look at over on Tumblr. The url for the [...]]]></description>
			<content:encoded><![CDATA[<p>So over the last few month&#8217;s I’ve been collecting a lot of cool and funky websites as mainly design ideas but also to keep track on what awesome sits are around and so I thought I would put all these site together for you guys to look at over on Tumblr.</p>
<p>The url for the site is: <a href="http://web-inception.tumblr.com/" target="_blank">www.web-inception.tumblr.com</a><span id="more-558"></span></p>
<p>Hope you find the site helpful..!</p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/1HY6x55kf-M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/web-inception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/web-inception/</feedburner:origLink></item>
		<item>
		<title>Inline style in html for OnMouseOver</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/DPTF-B6JZAk/</link>
		<comments>http://www.wtfdwk.com/inline-style-in-html-for-onmouseover/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 11:52:04 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Html]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=555</guid>
		<description><![CDATA[Was asked today to make a link have a underline on it when rolled over but it had to be &#8220;Inline&#8221; and as most people with know its very easy to make this happen in normal CSS and common enough to just put in text-decoration:none; but i have never needed to make this happen inline, [...]]]></description>
			<content:encoded><![CDATA[<p>Was asked today to make a link have a underline on it when rolled over but it had to be &#8220;Inline&#8221; and as most people with know its very easy to make this happen in normal CSS and common enough to just put in text-decoration:none; but i have never needed to make this happen inline, but with much internet searching i have found a solution..!<span id="more-555"></span></p>
<blockquote><pre><code >&lt;a href=”#” style=”text-decoration:none;” onmouseover=”this.style.textDecoration =’underline’;”
onmouseout=”this.style.textDecoration=’none’;”&gt;Your Link&lt;/a&gt;</code></pre>
</blockquote>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/DPTF-B6JZAk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/inline-style-in-html-for-onmouseover/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/inline-style-in-html-for-onmouseover/</feedburner:origLink></item>
		<item>
		<title>Using EM as your font measurement</title>
		<link>http://feedproxy.google.com/~r/WTFDWK/~3/eg2rkvVQtIA/</link>
		<comments>http://www.wtfdwk.com/using-em-as-your-font-measurement/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 08:39:46 +0000</pubDate>
		<dc:creator>Mike Ballan</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[EM]]></category>
		<category><![CDATA[Fonts]]></category>

		<guid isPermaLink="false">http://www.wtfdwk.com/?p=545</guid>
		<description><![CDATA[Recently I had to build a website that used EM&#8217;s rather than PX and I have to say I prefer the PX route as it makes more since in my head, that was until I found out this handy little trick for working out EM&#8217;s as PX. Simply make your body font size 62.5% like [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had to build a website that used EM&#8217;s rather than PX and I have to say I prefer the PX route as it makes more since in my head, that was until I found out this handy little trick for working out EM&#8217;s as PX.<span id="more-545"></span></p>
<p>Simply make your body font size 62.5% like the example below:</p>
<blockquote><pre><code >body {
	font-size: 62.5%;
}</code></pre>
</blockquote>
<p>And now by magic this means that if you had a font size of say 1em that now works out to be the same size as 10px, which means 1.2em is the same as 12px and 2.0em is 20px.</p>
<img src="http://feeds.feedburner.com/~r/WTFDWK/~4/eg2rkvVQtIA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wtfdwk.com/using-em-as-your-font-measurement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wtfdwk.com/using-em-as-your-font-measurement/</feedburner:origLink></item>
	</channel>
</rss>
