<?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>Made in the North | Yorkshire based freelance web designer Darren Armstrong</title>
	
	<link>http://www.madeinthenorth.com</link>
	<description />
	<lastBuildDate>Mon, 18 Jul 2011 12:08:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/madeinthenorth" /><feedburner:info uri="madeinthenorth" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Responsive Web Design book review</title>
		<link>http://feedproxy.google.com/~r/madeinthenorth/~3/0kxvZfQw0TI/</link>
		<comments>http://www.madeinthenorth.com/2011/06/responsive-web-design-book-review/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 06:56:30 +0000</pubDate>
		<dc:creator>Made in the North</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.madeinthenorth.com/?p=497</guid>
		<description><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/06/rwd-book.jpg" alt="Photo of Responsive Web Design book" title="responsive-web-design-book" width="440" height="270" /></p>

<p>Responsive Web Design, written by <a href="http://unstoppablerobotninja.com/">Ethan Marcotte</a>, is the fourth book to be published by <a href="http://www.abookapart.com/">A Book Apart</a>. For those who don't know, Ethan is a contributing author and technical editor at the renowned industry website <a href="http://www.alistapart.com" class="no-break">A List Apart</a>. He also speaks at conferences such as An Event Apart, Future of Web Design and SXSW.</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/06/rwd-book.jpg" alt="Photo of Responsive Web Design book" title="responsive-web-design-book" width="440" height="270" /></p>
<p>Responsive Web Design, written by <a href="http://unstoppablerobotninja.com/">Ethan Marcotte</a>, is the fourth book to be published by <a href="http://www.abookapart.com/">A Book Apart</a>. For those who don&#8217;t know, Ethan is a contributing author and technical editor at the renowned industry website <a href="http://www.alistapart.com" class="no-break">A List Apart</a>. He also speaks at conferences such as An Event Apart, Future of Web Design and SXSW.</p>
<p>We are increasingly accessing the web from a myriad of devices including desktop PCs, smart phones and tablets, yet the vast majority of websites are still being designed with popular desktop PC monitor resolutions in mind.  Responsive Web Design attempts to address this by advocating websites that are designed and built to adapt to the device they are rendered on.</p>
<p>Ethan defines the three key ingredients of Responsive Web Design as:</p>
<ul class="prose-list">
<li>Flexible, grid based layouts</li>
<li>Flexible images and media</li>
<li>CSS Media queries</li>
</ul>
<p>The book covers each of these subjects in easy to understand detail with clear illustrations and code examples where required.</p>
<p>The final chapter of the book focuses on how we can apply these techniques to build responsive websites, discussing some of the finer points and approaches to Responsive Web Design such as designing for context, <a href="http://www.lukew.com/ff/entry.asp?933" class="no-break">Luke Wroblewski&#8217;s Mobile First</a> design philosophy, responsive workflow and collaborative design.</p>
<h2>Contents</h2>
<h3>Our Responsive Web</h3>
<p>Outlines the Responsive Web Design philosophy with comparisons to Responsive Architecture.</p>
<h3>The Flexible Grid</h3>
<p>Techniques for creating layouts based on a flexible grid system.</p>
<h3>Flexible Images</h3>
<p>How to implement flexible images that expand and contract with a flexible grid system.</p>
<h3>Media Queries</h3>
<p>Using media queries to make webpages respond to the capabilities and resolution of the device they are viewed on.</p>
<h3>Becoming Responsive</h3>
<h2>Verdict</h2>
<p>One of the things that attracts me to the A Book Apart series of books is their brevity. At 150 pages, this book can be read within the space of an hour or two. This is not to say that the book skimps on important information, I found the book to contain all the detail required without the unnecessary time-wasting “fluff”. What is apparent reading the book is that we are still at the early stages defining the techniques and best practices behind Responsive Web Design. For instance we still require Javascript to deliver the appropriately optimised images and other media to the appropriate devices and require proprietary “fixes” for older versions of Internet Explorer. However, the book clearly demonstrates Responsive Web Design is a viable methodology now and it does so in a way that is very accessible and easy to understand. I would go as far as saying this is the most vitally important web design book I&#8217;ve read (and I&#8217;ve read a few). If you are a Web Designer or Developer you owe it to yourself to read this book!</p>
<p>Did you find this review useful? Do you have any books you would like to recommend?&nbsp;&nbsp;Say hello and let me know by leaving a comment below.</p>
<p>And while you are at it, why not follow me on <a href="http://www.twitter.com/madeinthenorth">Twitter</a> and subscribe to my <a href="http://feeds.feedburner.com/madeinthenorth">RSS feed</a>.</p>
<img src="http://feeds.feedburner.com/~r/madeinthenorth/~4/0kxvZfQw0TI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.madeinthenorth.com/2011/06/responsive-web-design-book-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.madeinthenorth.com/2011/06/responsive-web-design-book-review/</feedburner:origLink></item>
		<item>
		<title>Use VirtualBox snapshots to create an awesome browser testing environment</title>
		<link>http://feedproxy.google.com/~r/madeinthenorth/~3/uVc-bpjxutQ/</link>
		<comments>http://www.madeinthenorth.com/2011/02/use-virtualbox-snapshots-to-create-an-awesome-browser-testing-environment/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 15:06:57 +0000</pubDate>
		<dc:creator>Made in the North</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browser testing]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.madeinthenorth.com/?p=453</guid>
		<description><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/02/virtualbox.jpg" alt="Virtualbox imagery" width="440" height="286" /></p>
<p>I&#39;m going to show you how to create a browser testing environment using VirtualBox, Oracle&#39;s free virtualisation software.
<p>Creating a browser testing environment can be fraught with difficulty. There are a number of options available including having multiple test machines, multiple VMs, <a href="http://www.my-debugbar.com/wiki/IETester/HomePage" title="Go to the IEtester website">IEtester</a>, <a href="http://finalbuilds.edskes.net/iecollection.htm" title="Go to the IEcollection website">IEcollection</a> and so on, but these solutions are not without their problems. Having to keep multiple test machines around is rather cumbersome, installing multiple VMs takes up large amounts of disk space and the accuracy of IEtester and the like is questionable.</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/02/virtualbox.jpg" alt="Virtualbox imagery" width="440" height="286" /></p>
<p>I&#39;m going to show you how to create a browser testing environment using VirtualBox, Oracle&#39;s free virtualisation software.</p>
<p>Creating a browser testing environment can be fraught with difficulty. There are a number of options available including having multiple test machines, multiple VMs, <a href="http://www.my-debugbar.com/wiki/IETester/HomePage" title="Go to the IEtester website">IEtester</a>, <a href="http://utilu.com/IECollection/" title="Go to the IEcollection website">IEcollection</a> and so on, but these solutions are not without their problems. Having to keep multiple test machines around is rather cumbersome, installing multiple VMs takes up large amounts of disk space and the accuracy of IEtester and the like is questionable.</p>
<p>Jonathan Snook wrote an article entitled <a href="http://snook.ca/archives/other/vmware-fusion-snapshots" title="Go to How I use VMWare Fusion and snapshots on snook.ca">How I use VMWare Fusion and snapshots</a> back in December 2010 outlining how to set up a browser testing environment using VMWare snapshots. However, I wondered if the same could be achieved using the snapshots feature in Oracle&#8217;s free VirtualBox virtualisation software. After a bit of experimentation I confirmed that it was possible. This walk-through applies to Mac OS X but I would imagine the same principals can be applied in the Windows and Linux versions of VirtualBox.</p>
<h2>Setting up browsers with VirtualBox snapshots</h2>
<ol>
<li>First of all you&#39;ll need to <a href="http://www.virtualbox.org/wiki/Downloads" title="Go to the Oracle VirtualBox download page">download Oracle VirtualBox</a> and install it.</li>
<li>
<p>Create a new VM and install your operating system on it. I installed Windows 7.</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/02/browser-step-1.png" alt="Screenshot of step 1" width="420" height="183" /></p>
</li>
<li>
<p>Once you have the operating system installed take a snapshot by clicking the snapshot icon (the one that looks like a camera) and give it a name. I&#39;ve called it “Original state (IE8)” because IE8 is installed along with Windows 7.</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/02/browser-step-2.png" alt="Screenshot of step 2" width="354" height="210" /></p>
</li>
<li>
<p>Now boot the VM by clicking the “Start” icon. Start up the web browser (in this case Internet Explorer) and download and install a browser of your choice. I chose Chrome 9.</p>
</li>
<li>
<p>Once the browser has finished installing, open the VirtualBox window again. Select the current state then take a snapshot. Give your snapshot a name (in my case I named the snapshot “Chrome 9”) and click OK. VirtualBox will now take a few seconds to save the snapshot. Once the snapshot has been saved shutdown the VM. That&#39;s the first browser set up!</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/02/browser-step-3.png" alt="Screenshot of step 3" width="355" height="210" /></p>
</li>
<li>
<p>To begin installing the next browser, select the root snapshot (in my case “Original state (IE8)”) and click the “Restore snapshot” icon (the one that looks like a terminal with an upwards arrow inset).</p>
</li>
<li>
<p>Simply repeat steps 4 to 6 until you have finished installing all the browsers you need in your browser testing environment.</p>
</li>
</ol>
<h2>Solutions for Internet Explorer</h2>
<p>Internet Explorer isn&#39;t as straight forward. One of the simplest solutions was to test with the virtualised versions of IE on <a href="http://spoon.net/browsers/" title="Go to Spoon.net Browsers">Spoon.net</a>. Unfortunately, Microsoft asked Spoon to take down the IE browsers in November 2010. However <a href="http://twitter.com/#!/spoonapps/status/37276589616009216" title="View the Spoon announcement on Twitter">Spoon have announced</a> they will return on 2nd March 2011 (2 weeks away at the time of writing) so look out for their return.</p>
<p>Of course you can always use the <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&#038;displaylang=en" title="Go to the compatibility testing VHDs download page at microsoft.com">Microsoft compatibility testing VHDs</a> which should work with VirtualBox, although I was unable to get them working with VirtualBox for Mac OS X.</p>
<h3>An alternative solution for IE 7 and IE 8</h3>
<p>If you have setup a Windows 7 VM, as I have here, you will have IE8 installed. You can switch IE8 to IE7 rendering by switching the Browser Mode of IE8 to IE7.</p>
<ol>
<li>Go to the “Tools” menu and select “Developer Tools”.</li>
<li>In Developer Tools go to the “Browser Mode” menu and select “Internet Explorer 7”.</li>
</ol>
<p>See <a href="http://blogs.msdn.com/b/ie/archive/2010/10/19/testing-sites-with-browser-mode-vs-doc-mode.aspx" title="Go to Testing sites with browser mode vs doc mode at IEblog">Testing sites with Browser Mode vs. Doc Mode</a> on the IE Blog for more details. </p>
<h2>&hellip;and here&#39;s one I prepared earlier</h2>
<p>Once you have all your browsers and snapshots set up you should have something resembling this.</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/02/browser-step-4.png" alt="Screenshot of step 4" width="355" height="294" /></p>
<h2>Loading a snapshot</h2>
<p>You should now have all your browsers and snapshots set up. To load a snapshot simply select the snapshot you require from the snapshots list and click the “Restore snapshot” icon. It will take a few seconds to restore the snapshot. Once the snapshot has been restored, start the VM by clicking the “Start” icon. The great thing about snapshots is that the VM will restore in only a few seconds, rather than having to reboot the whole operating system.</p>
<h2>Useful links</h2>
<ul class="prose-list">
<li><a href="http://snook.ca/archives/other/vmware-fusion-snapshots" title="Go to How I use VMWare Fusion and snapshots on snook.ca ">How I use VMWare Fusion and Snapshots by Jonathan Snook</a></li>
<li><a href="http://www.my-debugbar.com/wiki/IETester/HomePage" title="Go to the IEtester website">IEtester</a></li>
<li><a href="http://utilu.com/IECollection/" title="Go to the IEcollection website">IEcollection</a></li>
<li><a href="http://www.virtualbox.org/" title="Go to the Oracle VirtualBox website">Oracle VirtualBox</a></li>
<li><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&#038;displaylang=en" title="Go to the compatibility testing VHDs download page at microsoft.com">Internet Explorer comapatibility VHD images</a></li>
<li><a href="http://spoon.net/browsers/" title="Go to Spoon.net Browsers">Spoon.net browsers</a></li>
<li><a href="http://blogs.msdn.com/b/ie/archive/2010/10/19/testing-sites-with-browser-mode-vs-doc-mode.aspx" title="Go to Testing sites with browser mode vs doc mode at IEblog">Testing sites using browser mode vs docmode</a></li>
</ul>
<p>Did you find this article useful? Why not say hello and let me know by leaving a comment below.</p>
<p>And while you are at it, why not <a href="http://twitter.com/madeinthenorth" title="Click to follow me on Twitter">follow me on Twitter</a>  and<br /><a href="http://feeds.feedburner.com/madeinthenorth" title="Subscribe via RSS">subscribe to my RSS feed</a>.</p>
<p>I&#39;m also available for guest posts, <a href="http://www.madeinthenorth.com/contact/">get in touch</a> for more details.</p>
<img src="http://feeds.feedburner.com/~r/madeinthenorth/~4/uVc-bpjxutQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.madeinthenorth.com/2011/02/use-virtualbox-snapshots-to-create-an-awesome-browser-testing-environment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.madeinthenorth.com/2011/02/use-virtualbox-snapshots-to-create-an-awesome-browser-testing-environment/</feedburner:origLink></item>
		<item>
		<title>Slicker buttons with CSS3 gradients (and SVG for IE9)</title>
		<link>http://feedproxy.google.com/~r/madeinthenorth/~3/L6n2pPcYB0w/</link>
		<comments>http://www.madeinthenorth.com/2011/01/slicker-buttons-with-css3-gradients-and-svg-for-ie9/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 20:12:07 +0000</pubDate>
		<dc:creator>Made in the North</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[svg]]></category>

		<guid isPermaLink="false">http://www.madeinthenorth.com/?p=376</guid>
		<description><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/01/butns-css3.png" alt="Image of button with CSS3" width="439" height="71" /></p>
<p>Okay, I know what you&#39;re thinking. Why do I need another article on creating buttons with <abbr title="Cascading Style Sheets">CSS</abbr>? Well there are a few out there already but I think this one offers a few unique features I haven&#39;t come across in other button articles.</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/01/butns-css3.png" alt="Image of button with CSS3" width="439" height="71" /></p>
<p>Okay, I know what you&#39;re thinking. Why do I need another article on creating buttons with <abbr title="Cascading Style Sheets">CSS</abbr>? Well there are a few out there already but I think this one offers a few unique features I haven&#39;t come across in other<br /> button articles.</p>
<p><a href="http://demos.madeinthenorth.com/slicker-buttons/" class="link-button" title="Go to the slicker buttons demo">View the demo</a></p>
<p><em>NB. Best experienced in Internet Explorer 9 beta, Firefox 4, Safari 4+, Opera 10.5+, Chrome 4+</em></p>
<h2>Button features</h2>
<ul class="prose-list">
<li><abbr title="Internet Explorer 9">IE9</abbr> and Opera gradient support using <abbr title="Scalable Vector Graphics">SVG</abbr>.</li>
<li><abbr title="Cascading Style Sheets 3">CSS3</abbr> <code>box-shadow</code> highlighting on hover state (where supported).</li>
<li>CSS3 gradients for normal and hover states (where supported).</li>
<li>CSS3 transitions to animate button states (where supported).</li>
<li>Just CSS and SVG. No images used.</li>
<li>Flexible and scalable to accommodate longer labels and resizing.</li>
<li>Progressive enhancement for a better experience in more capable&nbsp;browsers.</li>
<li>They look cool!</li>
</ul>
<p>Just about every website has buttons right? So you can probably never have enough articles on creating buttons with CSS at your disposal!</p>
<p>Okay so now that is settled, let us begin&#8230;</p>
<h2>Browser support</h2>
<p>Browser support for the CSS3 features such as box shadow, rounded corners, gradients and transitions varies, but apart from IE8 and below, all the major players now have good enough support for the features used here to enable us to create the buttons with CSS (and SVG in the case of IE9 and Opera gradients). Yes, the buttons will look plainer in less capable browsers but the consensus of opinion in the web design community is that <a href="http://dowebsitesneedtolookexactlythesameineverybrowser.com" title="Go to dowebsitesneedtolookexactlythesameineverybrowser.com">websites do not need to look the same in every browser</a>. You can always use gradient images or the proprietary <a href="http://msdn.microsoft.com/en-us/library/ms532997(VS.85).aspx" title="Go to msdn.microsoft.com Gradient filters reference">IE gradient filter</a> if you need the buttons to look similar in IE6-8.</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/01/butns-css3.png" alt="Image of button with CSS3" width="439" height="71" /><em class="caption">CSS3 supporting browsers including IE9 beta, Firefox, Chrome,<br /> Safari and Opera.</em></p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2011/01/butns-no-css3.png" alt="Image of button without CSS3" width="439" height="71" /><em class="caption">Non CSS3 supporting browsers including IE6-8.</em></p>
<h2>How it&#39;s done</h2>
<p>The main CSS styles for the buttons are remarkably simple. We utilise a handful of CSS3 properties to create the look of the button&#8212;<code>box-shadow</code> to create the glow, <code>border-radius</code> to create the rounded corners and transitions to animate the <code>box-shadow</code> glow and other properties.</p>
<pre><code>.button {
display: inline-block;
padding: 7px 12px;
width: auto; /* IE 7 input button fix */
overflow: visible; /* IE7 input button fix */
font: bold 14px sans-serif;
text-decoration: none;
outline: none;
cursor: pointer;

-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-transition: -webkit-box-shadow 0.3s ease-in-out;
-moz-transition: -moz-box-shadow 0.3s ease-in-out;
-o-transition:  background-color 0.3s ease-in-out;
transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.button:active {
position: relative;
top: 1px;
}</code></pre>
<p>The <code>:active</code> pseudo-class is used to define the CSS that shifts the button down 1 pixel when the button is activated to create the illusion of the button being pressed.</p>
<h2>Adding colour and gradients</h2>
<p>Next up we add the colour and gradients. We do this by defining a class and associated <code>:hover</code> pseudo-class for each colour required. CSS3 linear gradients are defined for Mozilla and Webkit browsers for both the normal and hover states.</p>
<pre><code>.orange {
border: 1px solid #d19900;
color : #ffffff;
background: #f8b500 url(grad-orange.svg) 0 0 no-repeat;

text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
background: -moz-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#fccd4d), color-stop(51%,#f8b500), color-stop(100%,#fbdf93));
}

.orange:hover {
color : #ffffff;
background: #f7c331 url(grad-orange-hover.svg) 0 0 no-repeat;

background: -moz-linear-gradient(top, #fcf8ed 0%, #fcdb81 50%, #f7c331 51%, #faecc5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcf8ed), color-stop(50%,#fcdb81), color-stop(51%,#f7c331), color-stop(100%,#faecc5));
-webkit-box-shadow: 0 0 12px #f7c331;
-moz-box-shadow: 0 0 12px #f7c331;
box-shadow: 0 0 12px #f7c331;
}</code></pre>
<p>NB. Now I know the class names in the example above are presentational rather than semantic but this has been done for the sake of clarity. You can always change the class names as you see fit.</p>
<h2>Adding gradients in IE9 and Opera with SVG</h2>
<p>While we&#39;re at it, why not be a little forward thinking and include support for gradients in IE9 beta and Opera. Well we can do this using a little SVG magic. Why use SVG rather than an image? Well, because SVG is a vector graphics format so it will play nice when scaled, and unlike the proprietary IE gradient filter, it is a <a href="http://www.w3.org/Graphics/SVG/" title="Go to the w3.org SVG article">W3C recommendation</a>.</p>
<p>We just need to create an SVG file like the one below and save it with a .svg extension.</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
&lt;!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"&gt;
&lt;svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg"&gt;
  &lt;defs&gt;
    &lt;linearGradient id="gradient" x1="100%" y1="100%"&gt;
      &lt;stop offset="0%" style="stop-color:#fbdf93; stop-opacity:1" /&gt;
      &lt;stop offset="50%" style="stop-color:#f8b500; stop-opacity:1" /&gt;
	  &lt;stop offset="51%" style="stop-color:#fccd4d; stop-opacity:1" /&gt;
	  &lt;stop offset="100%" style="stop-color:#fceabb; stop-opacity:1" /&gt;
    &lt;/linearGradient&gt;
  &lt;/defs&gt;
  &lt;rect width="100%" height="100%" style="fill:url(#gradient)" /&gt;
&lt;/svg&gt; </code></pre>
<p>To use the SVG gradients on our buttons we just add the SVG url to the <code>background</code> property of each button.</p>
<pre><code>background: #f8b500 url(grad-orange.svg) 0 0 no-repeat;</code></pre>
<p>Here it is in situ:</p>
<pre><code>.orange {
border: 1px solid #d19900;
color : #ffffff;
<strong>background: #f8b500 url(grad-orange.svg) 0 0 no-repeat;</strong>

text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
background: -moz-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#fccd4d), color-stop(51%,#f8b500), color-stop(100%,#fbdf93));
}

.orange:hover {
color : #ffffff;
<strong>background: #f7c331 url(grad-orange-hover.svg) 0 0 no-repeat;</strong>

background: -moz-linear-gradient(top, #fcf8ed 0%, #fcdb81 50%, #f7c331 51%, #faecc5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcf8ed), color-stop(50%,#fcdb81), color-stop(51%,#f7c331), color-stop(100%,#faecc5));
-webkit-box-shadow: 0 0 12px #f7c331;
-moz-box-shadow: 0 0 12px #f7c331;
box-shadow: 0 0 12px #f7c331;
}</code></pre>
<h2>Putting it all together</h2>
<p>Okay, we&#39;ve covered the CSS and SVG required to create the buttons but how do you actually use them? Well, it is just a simple a matter of adding two classes to your anchor or button markup.</p>
<pre><code>&lt;a href="#" class="button orange"&gt;Link Button&lt;/a&gt; 

&lt;input type="button" value="Input Button" class="button orange" /&gt;</code></pre>
<p><a href="http://demos.madeinthenorth.com/slicker-buttons/" class="link-button" title="Go to the slicker buttons demo">View the demo</a></p>
<p>Did you find this article useful? Why not say hello and let me know by leaving a comment below.</p>
<p>And while you are at it, why not <a href="http://twitter.com/madeinthenorth" title="Click to follow me on Twitter">follow me on Twitter</a>  and<br /><a href="http://feeds.feedburner.com/madeinthenorth" title="Subscribe via RSS">subscribe to my RSS feed</a>.</p>
<p>I&#8217;m also available for guest posts, <a href="http://www.madeinthenorth.com/contact">get in touch</a> for more details.</p>
<img src="http://feeds.feedburner.com/~r/madeinthenorth/~4/L6n2pPcYB0w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.madeinthenorth.com/2011/01/slicker-buttons-with-css3-gradients-and-svg-for-ie9/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://www.madeinthenorth.com/2011/01/slicker-buttons-with-css3-gradients-and-svg-for-ie9/</feedburner:origLink></item>
		<item>
		<title>Web design news 8/12/10</title>
		<link>http://feedproxy.google.com/~r/madeinthenorth/~3/Jth5UNLSjPk/</link>
		<comments>http://www.madeinthenorth.com/2010/12/web-design-news-08-12-10/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 13:21:52 +0000</pubDate>
		<dc:creator>Made in the North</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Firefox 4]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.madeinthenorth.com/?p=320</guid>
		<description><![CDATA[<p>This is the first of a regular series of updates featuring handpicked stories from around the web. The emphasis here is on quality over quantity, stories that I think will be interesting to web designers and front-end developers.</p>
<h2>Firefox 4: OpenType font feature support</h2>
<p>Great news for typgography buffs, Firefox 4 now has added OpenType feature support. While greater control over fonts will eventually be possible with the <abbr title="Cascading Style Sheets 3">CSS3</abbr> Fonts module, in the meantime <code>-moz-font-feature-settings</code> can be used to implement ligatures, swashes, small caps and tabular figures in Firefox 4. Great stuff!</p>
<p><a href="http://hacks.mozilla.org/2010/11/firefox-4-font-feature-support/" title="Go to Firefox 4: OpenType font feature support on hacks.mozilla.org">Firefox 4: OpenType font feature support</a></p>]]></description>
			<content:encoded><![CDATA[<p>This is the first of a regular series of updates featuring handpicked stories from around the web. The emphasis here is on quality over quantity, stories that I think will be interesting to web designers and front-end developers.</p>
<h2>Firefox 4: OpenType font feature support</h2>
<p>Great news for typgography buffs, Firefox 4 now has added OpenType feature support. While greater control over fonts will eventually be possible with the <abbr title="Cascading Style Sheets 3">CSS3</abbr> Fonts module, in the meantime <code>-moz-font-feature-settings</code> can be used to implement ligatures, swashes, small caps and tabular figures in Firefox 4. Great stuff!</p>
<p><a href="http://hacks.mozilla.org/2010/11/firefox-4-font-feature-support/" title="Go to Firefox 4: OpenType font feature support on hacks.mozilla.org">Firefox 4: OpenType font feature support</a></p>
<h2>Videos from Fronteers 2010</h2>
<p>The Dutch association of front-end developers, Fronteers, held their 2010 conference in October. The conference featured a fabulous line-up of speakers, and what&#39;s more, Fronteers have posted full length videos of all fourteen sessions online.</p>
<p>Here&#39;s a <a href="http://vimeo.com/fronteers/videos" title="Go to the full list of Fronteers 2010 videos on Vimeo">full list of all the videos</a> but I&#39;ve also handpicked a few choice video cuts for you below:</p>
<ul>
<li><a href="http://vimeo.com/15988666" title="View the Paul Irish&#8212;The state of HTML5 video on Vimeo">Paul Irish&#8212;The state of HTML5</a></li>
<li><a href="http://vimeo.com/15755349" title="View the Jeremy Keith&#8212;The design of HTML5 video on Vimeo">Jeremy Keith&#8212;The design of HTML5</a></li>
<li><a href="http://vimeo.com/15986231" title="View the Stephen Hay&#8212;Real-world responsive design video on Vimeo">Stephen Hay&#8212;Real-world responsive design</a></li>
</ul>
<h2>Internet Explorer 9 Beta</h2>
<p>Big, big, big news! Internet Explorer 9 is coming so why not get a head start by looking at these resources:</p>
<ul>
<li><a href="http://ie.microsoft.com/testdrive/" title="Go to Internet Explorer Test Drive on microsoft.com">Internet Explorer Test Drive</a></li>
<li><a href="http://msdn.microsoft.com/ie/ff468705.aspx" title="Go to Internet Explorer 9 Beta Guide for Developers on microsoft.com">Internet Explorer 9 Beta Guide for Developers</a></li>
</ul>
<h2>Beware of <code>-webkit-text-size-adjust:none</code></h2>
<p>Many front-end developers use the proprietary Safari CSS property <code>-webkit-text-size-adjust</code> to stop Safari (iOS) arbitrarily resizing text. However, as Roger Johansson points out in this blog post, specifying a value of <code>none</code> also prevents text resizing in the desktop versions of Safari and of course you don&#39;t want to do that. I do hope the Safari developers address this.</p>
<p><a href="http://www.456bereastreet.com/archive/201011/beware_of_-webkit-text-size-adjustnone/" title="Go to Beware of -webkit-text-size-adjust:none on 456bereastreet.com">Beware of <code>-webkit-text-size-adjust:none</code></a></p>
<h2>New books: Hardboiled Web Design and CSS3 for Web&nbsp;Designers</h2>
<p>Web celebrities Andy Clarke and Dan Cederholm have both released new books. I&#39;ve bought both of these books and I would whole heartedly recommend adding them to your bookshelf.</p>
<ul>
<li><a href="http://fivesimplesteps.com/books/hardboiled-web-design">Hardboiled Web Design by Andy Clarke (www.fivesimplesteps.com)</a></li>
<li><a href="http://books.alistapart.com/products/css3-for-web-designers">CSS3 for Web Designers by Dan Cederholm (books.alistapart.com)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/madeinthenorth/~4/Jth5UNLSjPk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.madeinthenorth.com/2010/12/web-design-news-08-12-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.madeinthenorth.com/2010/12/web-design-news-08-12-10/</feedburner:origLink></item>
		<item>
		<title>Faux CSS3 :last-child dividers using :first-child</title>
		<link>http://feedproxy.google.com/~r/madeinthenorth/~3/nvHnJsgKU68/</link>
		<comments>http://www.madeinthenorth.com/2010/11/faux-css3-last-child-dividers-using-first-child/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 16:04:33 +0000</pubDate>
		<dc:creator>Made in the North</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[:first-child]]></category>
		<category><![CDATA[:last-child]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://www.madeinthenorth.com/?p=264</guid>
		<description><![CDATA[<p>It is fairly common to have a series of webpage elements with horizontal or vertical divisions between them but no divisions on the first and last elements. If that is a bit unclear, one example of such a case could be a navigation bar similar to the one shown below:</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2010/11/menu-bar.gif" alt="Image of a webpage menu bar" width="361" height="65" /><em class="caption">Example menu bar with dividers.</em></p>
<p>Now as with many things when dealing with code, there are a number of different ways of achieving the dividers shown in the example.</p>]]></description>
			<content:encoded><![CDATA[<p>It is fairly common to have a series of webpage elements with horizontal or vertical divisions between them but no divisions on the first and last elements. If that is a bit unclear, one example of such a case could be a navigation bar similar to the one shown below:</p>
<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2010/11/menu-bar.gif" alt="Image of a webpage menu bar" width="361" height="65" /><em class="caption">Example menu bar with dividers.</em></p>
<p>Now as with many things when dealing with code, there are a number of different ways of achieving the dividers shown in the example. A technique commonly used is to add a class such as <code>.last</code>.</p>
<h2>Example 1&#8212;Add a class</h2>
<pre><code>&lt;ul id="nav"&gt;
    &lt;li&gt;
        &lt;a href="/home"&gt;Home&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href="/services"&gt;Services&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href="/portfolio"&gt;Portfolio&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
         &lt;a href="/blog"&gt;Blog&lt;/a&gt;
    &lt;/li&gt;
    <strong>&lt;li class="last"&gt;</strong>
         &lt;a href="/contact"&gt;Contact&lt;/a&gt;
    &lt;/li&gt;
&lt;/ul&gt; 

li {
float: left;
padding: 0 10px;
border-right: 1px solid #000;
list-style: none;
}
<strong>    
.last {
border-right: none;    
}
</strong>
</code></pre>
<p>Sure, this is a perfectly valid way of achieving the desired effect and guaranteed to work cross-browser but that <code>.last</code> class on the last <code>&lt;li&gt;</code> seems a little dirty and superfluous doesn&#39;t it? Also, if we wanted to output the list dynamically we would need to programmatically add the class to the last <code>&lt;li&gt;</code>.</p>
<p>Ok then, let&#39;s have another look at this.</p>
<h2>Example 2&#8212;Using the <abbr title="Cascading Style Sheets 3">CSS3</abbr> <code>:last-child</code> selector</h2>
<pre><code>&lt;ul id="nav"&gt;
    &lt;li&gt;
        &lt;a href="/home"&gt;Home&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href="/services"&gt;Services&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href="/portfolio"&gt;Portfolio&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
         &lt;a href="/blog"&gt;Blog&lt;/a&gt;
    &lt;/li&gt;
    <strong>&lt;li&gt;</strong>
         &lt;a href="/contact"&gt;Contact&lt;/a&gt;
    &lt;/li&gt;
&lt;/ul&gt;

li {
float: left;
padding: 0 10px;
border-right: 1px solid #000;
list-style: none;
}
<strong>    
li:last-child {
border-right: none;    
}
</strong>
</code></pre>
<p>The example above uses the CSS3 <a href="http://reference.sitepoint.com/css/pseudoclass-lastchild" title="Go to reference.sitepoint.com&#8212;:last-child reference"><code>:last-child</code></a> selector to target the last <code>&lt;li&gt;</code>.  Hurrah, we no longer require the extra class on the last <code>&lt;li&gt;</code> to target that element. Now this is all well and good but the CSS3 <a href="http://reference.sitepoint.com/css/pseudoclass-lastchild#compatibilitysection" title="Go to reference.sitepoint.com&#8212;:last-child reference browser compatibility"><code>:last-child</code> selector isn&#39;t supported by all browsers</a> (yes, I&#39;m looking at you Internet Explorer 6&#8211;8. Although Internet Explorer 9 Preview does support <code>:last-child</code>).
</p>
<p>Alright then, let&#39;s think again.</p>
<h2>Example 3&#8212;Using the <code>:first-child</code> selector</h2>
<pre><code>&lt;ul id="nav"&gt;
    &lt;li&gt;
        &lt;a href="/home"&gt;Home&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href="/services"&gt;Services&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href="/portfolio"&gt;Portfolio&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
         &lt;a href="/blog"&gt;Blog&lt;/a&gt;
    &lt;/li&gt;
   <strong>&lt;li&gt;</strong>
         &lt;a href="/contact"&gt;Contact&lt;/a&gt;
    &lt;/li&gt;
&lt;/ul&gt;

li {
float: left;
padding: 0 10px;
<strong>border-left: 1px solid #000;</strong>
list-style: none;
}
<strong>    
li:first-child {
border-left: none;
}
</strong>
</code></pre>
<p>Here we&#39;ve turned the problem on its head a little. Instead of adding a right-hand border to the <code>&lt;li&gt;</code>s and then removing the border from the last <code>&lt;li&gt;</code>, we&#39;re now adding a left-hand border and using the <a href="http://reference.sitepoint.com/css/pseudoclass-firstchild" title="Go to reference.sitepoint.com&#8212;:first-child reference"><code>:first-child</code></a>  selector to remove the border from the first <code>&lt;li&gt;</code> thereby arriving at the same result as the previous two examples.</p>
<p>This poses the question&#8212;what is the advantage of using <code>:first-child</code> in this scenario rather than one of the other two methods? Well, again we&#39;re keeping the markup clean by not adding an extra class and <code>:first-child</code> also has better browser support than <code>:last-child</code> at present i.e. it is supported by Internet Explorer 7 and above (with <a href="http://reference.sitepoint.com/css/pseudoclass-firstchild#compatibilitysection" title="Go to reference.sitepoint.com&#8212;:first-child reference browser compatibility"">certain provisos</a>).</p>
<p>While admittedly this is a simple little CSS technique, I find myself using it on a regular basis so hopefully you may find it useful too.</p>
<p>Why not follow me on <a href="http://www.twitter.com/madeinthenorth">Twitter</a> and subscribe to my <a href="http://feeds.feedburner.com/madeinthenorth">RSS feed</a>.</p>
<img src="http://feeds.feedburner.com/~r/madeinthenorth/~4/nvHnJsgKU68" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.madeinthenorth.com/2010/11/faux-css3-last-child-dividers-using-first-child/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://www.madeinthenorth.com/2010/11/faux-css3-last-child-dividers-using-first-child/</feedburner:origLink></item>
		<item>
		<title>HTML5 for Web Designers book review</title>
		<link>http://feedproxy.google.com/~r/madeinthenorth/~3/xd6ZA_X9FhA/</link>
		<comments>http://www.madeinthenorth.com/2010/11/html5-for-web-designers-book-review/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 11:12:19 +0000</pubDate>
		<dc:creator>Made in the North</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.madeinthenorth.com/?p=235</guid>
		<description><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2010/11/html5-web-book.jpg" alt="Photo of HTML5 for Web Designers book" title="html5-web-book" width="440" height="270" /></p>
<p><abbr title="HyperText Markup Language">HTML5</abbr> is one of the biggest things to happen to the web in quite some time and most self respecting web designers will have no doubt been making at least some attempt to keep up with the hype. If you are anything like me, you might sometimes feel a little overwhelmed by the sheer amount of information you have to absorb as a web professional. Do you really have the time or inclination to read the whopping 900 page HTML5 spec? I thought not. Sometimes you just need a succinct overview of a subject from a trusted, authoritative source. In that case, read on&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.madeinthenorth.com/wp-content/uploads/2010/11/html5-web-book.jpg" alt="Photo of HTML5 for Web Designers book" title="html5-web-book" width="440" height="270" /></p>
<p><abbr title="HyperText Markup Language">HTML5</abbr> is one of the biggest things to happen to the web in quite some time and most self respecting web designers will have no doubt been making at least some attempt to keep up with the hype. If you are anything like me, you might sometimes feel a little overwhelmed by the sheer amount of information you have to absorb as a web professional. Do you really have the time or inclination to read the whopping 900 page HTML5 spec? I thought not. Sometimes you just need a succinct overview of a subject from a trusted, authoritative source. In that case, read on.</p>
<p>Written by <a href="http://adactio.com">Jeremy Keith</a>, the book is the first to be published by <a href="http://books.alistapart.com">A Book Apart</a>. For the un-initiated Jeremy is a speaker, author of several books on the web and Technical Director at the prominent UK web design consultancy&nbsp;<a href="http://clearleft.com">Clearleft</a>.</p>
<p>One of the refreshing features about this book is its brevity. At 88 pages this is a book that can be read, and the information within absorbed, in a relatively short time. I&#39;m constantly reading books with over four times the number of pages contained in this book and thinking please get to the point. Thankfully Jeremy Keith does with this book. Jeremy also has a knack of presenting what could otherwise be considered rather dry, technical information in an approachable and entertaining way and this book is no&nbsp;exception.</p>
<h2>Contents</h2>
<h3>Chapter 1&#8212;A Brief History of Markup</h3>
<p>The book starts with a potted history of markup from its origins in <abbr title="Standard Generalised Markup Language">SGML</abbr> right up to the HTML5 status quo.</p>
<h3>Chapter 2&#8212;The Design of HTML5</h3>
<p>An outline of the fundamental guiding principals behind the design of HTML5, the emphasis on the real-world application of HTML5  over theoretical purity and an overview of HTML5&#39;s syntax and backwards compatibility with earlier versions of HTML.</p>
<h3>Chapter 3&#8212;Rich Media</h3>
<p>Covers the use of rich media in HTML5 including Canvas, audio and video with details of how to code these elements, potential accessibility pitfalls to watch out for and techniques for providing a fallback for less capable&nbsp;browsers.</p>
<h3>Chapter 4&#8212;Web Forms 2.0</h3>
<p>Describes the new form functionality and enhancements in HTML5 such as the new input types, datalists and client-side form validation. </p>
<h3>Chapter 5&#8212;Semantics</h3>
<p>A summary of the new HTML5 elements used to define the structural semantics of web page content and how these elements form a document&nbsp;outline.</p>
<h3>Chapter 6&#8212;Using HTML5 Today</h3>
<p>The final chapter provides advice on using HTML5 now including how to declare the new elements for Internet Explorer, adding semantic richness for assistive technologies using <abbr title="Accessible Rich Internet Applications">ARIA</abbr> attributes, validating HTML5 documents and a list of useful resources for further learning.</p>
<h2>Verdict</h2>
<p>As you are reading this review I suspect you will probably be wondering whether you should spend your hard-earned cash on this book. Well, let me first tell you what this book is not&#8212;this book is not a comprehensive HTML5 reference book. It isn&#39;t meant to be. This book is in fact a very well written and accessible HTML5 primer for web designers that will get you up-to-speed in very little time. If this is the kind of thing you are looking for you could do far worse than buy this cracking little book.</p>
<p>Did you find this review useful? Do you have any books you would like to recommend?  Say hello and let me know by leaving a comment below.</p>
<p>And while you are at it, why not follow me on <a href="http://www.twitter.com/madeinthenorth">Twitter</a> and subscribe to my <a href="http://feeds.feedburner.com/madeinthenorth">RSS feed</a>.</p>
<img src="http://feeds.feedburner.com/~r/madeinthenorth/~4/xd6ZA_X9FhA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.madeinthenorth.com/2010/11/html5-for-web-designers-book-review/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.madeinthenorth.com/2010/11/html5-for-web-designers-book-review/</feedburner:origLink></item>
	</channel>
</rss>

