<?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>The Online Portfolio of Daniel Heaton</title>
	
	<link>http://designbydanny.com</link>
	<description>Website Design &amp; Front End Development</description>
	<lastBuildDate>Thu, 23 Feb 2012 12:11:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/DesignbyDanny" /><feedburner:info uri="designbydanny" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>George Patton on Leadership</title>
		<link>http://designbydanny.com/george-patton-on-leadership/</link>
		<comments>http://designbydanny.com/george-patton-on-leadership/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 12:10:00 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Quotes]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=364</guid>
		<description />
			<content:encoded><![CDATA[<blockquote class="testimonial"><p>Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity.</p>
<footer class="testimonialAuthor">George Patton</footer></blockquote>]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/george-patton-on-leadership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Danny Macaskill – Inspired Bicycles</title>
		<link>http://designbydanny.com/danny-macaskill-inspired-bicycles/</link>
		<comments>http://designbydanny.com/danny-macaskill-inspired-bicycles/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 18:31:43 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=333</guid>
		<description />
			<content:encoded />
			<wfw:commentRss>http://designbydanny.com/danny-macaskill-inspired-bicycles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Jobs on Work</title>
		<link>http://designbydanny.com/steve-jobs-on-work/</link>
		<comments>http://designbydanny.com/steve-jobs-on-work/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 17:49:44 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Quotes]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=325</guid>
		<description><![CDATA[&#160;]]></description>
			<content:encoded><![CDATA[<blockquote class="testimonial"><p>Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven&#8217;t found it yet, keep looking. Don&#8217;t settle. As with all matters of the heart, you&#8217;ll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don&#8217;t settle.</p>
<footer class="testimonialAuthor">Steve Jobs</footer></blockquote><p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/steve-jobs-on-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Building The Smashing Magazine Navigation</title>
		<link>http://designbydanny.com/tutorial-building-the-smashing-magazine-navigation/</link>
		<comments>http://designbydanny.com/tutorial-building-the-smashing-magazine-navigation/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 19:24:50 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=248</guid>
		<description><![CDATA[Keeping inline with modern web standards, Smashing Magazine has recently upgraded its website to include a responsive design. It&#8217;s subtle, simple, yet surprisingly effective. Today &#8230; <a class="more-btn" href="http://designbydanny.com/tutorial-building-the-smashing-magazine-navigation/">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Keeping inline with modern web standards, Smashing Magazine has recently upgraded its website to include a responsive design. It&#8217;s subtle, simple, yet surprisingly effective.</p>
<p>Today I&#8217;m going to recreate the Smashing Magazine header and show you how to code it.</p>
<p>As I mentioned, the whole design is responsive, so I&#8217;m going to create the version of the menu that&#8217;s seen by users of medium sized monitors.</p>
<p><a href="http://designbydanny.com/tutorial-building-the-smashing-magazine-navigation/smashing-nav/" rel="attachment wp-att-270"><img class="alignnone size-medium wp-image-270" title="Smashing Magazine Navigation" src="http://designbydanny.com/wp-content/uploads/2012/02/smashing-nav-300x42.jpg" alt="" width="300" height="42" /></a></p>
<h3>The HTML</h3>
<p>We&#8217;ll start off by building our HTML.</p>
<p>Firstly I&#8217;ve created a wrapper div that&#8217;s going to be centred on the page.</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">&lt;div id=&quot;wrap&quot;&gt;

&lt;/div&gt;</pre>
<p>Then we&#8217;ll insert the Smashing Magazine logo onto the page.</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">&lt;div id=&quot;wrap&quot;&gt;

&lt;a href=&quot;&quot;&gt;&lt;img id=&quot;logo&quot; src=&quot;img/logo.png&quot; alt=&quot;Smashing Magazine&quot; width=&quot;165&quot; height=&quot;80&quot;/&gt;&lt;/a&gt;

&lt;/div&gt;</pre>
<p>Then we need to create our navigation menu using a simple unordered list.</p>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false">&lt;div id=&quot;wrap&quot;&gt;

	&lt;a href=&quot;&quot;&gt;&lt;img id=&quot;logo&quot; src=&quot;img/logo.png&quot; alt=&quot;Smashing Magazine&quot; width=&quot;165&quot; height=&quot;80&quot;/&gt;&lt;/a&gt;

	&lt;ul id=&quot;nav&quot;&gt;
		&lt;li&gt;&lt;a href=&quot;&quot;&gt;Network&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;&quot;&gt;Shop&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;&quot;&gt;Job Board&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;&quot;&gt;Directory&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;&lt;!-- #nav--&gt;

&lt;/div&gt;</pre>
<pre class="brush: html; gutter: true; first-line: 1; highlight: []; html-script: false"></pre>
<h3>The CSS</h3>
<p>Now we need to start on our CSS.</p>
<p>We&#8217;re going to make our wrapper div 960px wide and center it using the old centering trick of margin: 0 auto.</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">#wrap{
	width: 960px;
	margin: 0 auto;
	background:#fff;
}</pre>
<p>Then to make the logo sit to the left of the navigation menu we&#8217;re going to give it a width and float it to the left.</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">#logo {
	width:165px;
	float:left;
}</pre>
<p>Now we&#8217;ll need to go ahead and style the unordered list. We&#8217;re going to float this to the left also, so it snuggles up to the logo.</p>
<p>We&#8217;ll need to put a border on the left and bottom edges. The background colour will need to be defined and also the width needs to be set.</p>
<p>This is what we end up with.</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">ul#nav {
	list-style: none;
	float: left;
	border-left:1px solid #ddd;
	border-bottom:1px solid #ddd;
	width:794px;
	background: #f3f3f3;
}</pre>
<p>Now that we&#8217;ve styled the ul value, we need to do something with the li value. This one is a bit simpler. It just needs floating to the left and given a border on its right edge.</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">ul#nav li {
	float: left;
	border-right: 1px solid #ddd;
}</pre>
<p>The li a value is where the magic happens. To give us the solid background colour and make the whole area clickable, we&#8217;re going to use display:block.</p>
<p>It needs padding all around, but moreso at the top so that the links sit nicely near the bottom.</p>
<p>We&#8217;ll also set the colour, remove the default text-decoration and give it a background colour.</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">ul#nav li a {
	float: left;
	display: block;
	padding: 45px 15px 10px 15px;
	color: #999;
	height:24px;
	text-decoration: none;
	font-size:16px;
	background:#f1f1f1;
}</pre>
<p>And last but not least we need to set the hover state which is as simple as changing the colour and background colour.</p>
<pre class="brush: css; gutter: true; first-line: 1; highlight: []; html-script: false">ul#nav li a:hover {
	background: #ffff66;
	color:#666;
}</pre>
<p>And that&#8217;s that. Simple wasn&#8217;t it?</p>
<p style="text-align: left;">
<a href="http://tutorials.designbydanny.com/smashing-magazine-menu/" class="pt_btn turquoise_btn" target="_blank">View Demo</a></p>
<a href="http://tutorials.designbydanny.com/smashing-magazine-menu.zip" class="pt_btn green_btn">Download Files</a><div class="rss-box"><a href="http://feeds.feedburner.com/DesignbyDanny">Subscribe via RSS!</a></div>
]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/tutorial-building-the-smashing-magazine-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media Explained</title>
		<link>http://designbydanny.com/social-media-explained/</link>
		<comments>http://designbydanny.com/social-media-explained/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 10:44:43 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=233</guid>
		<description />
			<content:encoded><![CDATA[<p><img class="alignnone  wp-image-234" title="social-media-explained" src="http://designbydanny.com/wp-content/uploads/2012/02/social-media-explained.jpg" alt="" width="441" height="441" /></p>
]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/social-media-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Bombs</title>
		<link>http://designbydanny.com/design-bombs/</link>
		<comments>http://designbydanny.com/design-bombs/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 23:12:12 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=227</guid>
		<description><![CDATA[Design Bombs is a brilliant website, designed by Soh Tanaka, that showcases amazingly designed websites from all over the world. It&#8217;s a regular source of &#8230; <a class="more-btn" href="http://designbydanny.com/design-bombs/">Read more &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Design Bombs is a brilliant website, designed by Soh Tanaka, that showcases amazingly designed websites from all over the world. It&#8217;s a regular source of inspiration for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/design-bombs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Winners in Life…</title>
		<link>http://designbydanny.com/the-winners-in-life/</link>
		<comments>http://designbydanny.com/the-winners-in-life/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 18:40:54 +0000</pubDate>
		<dc:creator>danny</dc:creator>
				<category><![CDATA[Quotes]]></category>

		<guid isPermaLink="false">http://designbydanny.com/?p=205</guid>
		<description />
			<content:encoded><![CDATA[<blockquote class="testimonial"><p>The winners in life think constantly in terms of I can, I will, and I am. Losers, on the other hand, concentrate their waking thoughts on what they should have or would have done, or what they can’t do.</p>
<footer class="testimonialAuthor">Denis Waitley</footer></blockquote>]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/the-winners-in-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today Sure</title>
		<link>http://designbydanny.com/portfolio-items/today-sure/</link>
		<comments>http://designbydanny.com/portfolio-items/today-sure/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 20:44:43 +0000</pubDate>
		<dc:creator>danny</dc:creator>
		
		<guid isPermaLink="false">http://designbydanny.com/?post_type=portfolio&amp;p=200</guid>
		<description />
			<content:encoded />
			<wfw:commentRss>http://designbydanny.com/portfolio-items/today-sure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tameside Online</title>
		<link>http://designbydanny.com/portfolio-items/tameside-online/</link>
		<comments>http://designbydanny.com/portfolio-items/tameside-online/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 20:42:39 +0000</pubDate>
		<dc:creator>danny</dc:creator>
		
		<guid isPermaLink="false">http://designbydanny.com/?post_type=portfolio&amp;p=196</guid>
		<description><![CDATA[Tameside Online is a new business directory for Tameside. Search for local businesses and add your own!]]></description>
			<content:encoded><![CDATA[<p>Tameside Online is a new business directory for Tameside. Search for local businesses and add your own!</p>
]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/portfolio-items/tameside-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ricta UK</title>
		<link>http://designbydanny.com/portfolio-items/ricta-uk/</link>
		<comments>http://designbydanny.com/portfolio-items/ricta-uk/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 20:39:44 +0000</pubDate>
		<dc:creator>danny</dc:creator>
		
		<guid isPermaLink="false">http://designbydanny.com/?post_type=portfolio&amp;p=193</guid>
		<description><![CDATA[Ricta UK is a graphic design agency who specialise in Graphic Design, Print Solutions, Exhibitions &#38; Displays, Branded Goods and Business Start-up Packages.]]></description>
			<content:encoded><![CDATA[<p>Ricta UK is a graphic design agency who specialise in Graphic Design, Print Solutions, Exhibitions &amp; Displays, Branded Goods and Business Start-up Packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://designbydanny.com/portfolio-items/ricta-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
