












<?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>Steve Workman &#187; Web Design</title>
	<atom:link href="http://www.steveworkman.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.steveworkman.com</link>
	<description>I&#039;ve been designing and building web sites since 2003. This is my personal site. You&#039;ll find my work, insight and ramblings within. Welcome.</description>
	<lastBuildDate>Fri, 16 Jul 2010 14:57:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS3 Bookshelf</title>
		<link>http://www.steveworkman.com/web-design/css3-web-design/2010/css3-bookshelf/</link>
		<comments>http://www.steveworkman.com/web-design/css3-web-design/2010/css3-bookshelf/#comments</comments>
		<pubDate>Mon, 31 May 2010 19:06:41 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[animations]]></category>
		<category><![CDATA[bookshelf]]></category>
		<category><![CDATA[transforms]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=330</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGY3NzMy13ZWItZGVzaWduJTJGMjAxMCUyRmNzczMtYm9va3NoZWxmJTJG">
				
			</a>
		
<p>Using CSS3 and a little JavaScript, I&#8217;ve created a bookshelf for your blog. For a demo, go to the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL2Jvb2tzaGVsZg==">CSS3 bookshelf</a>, for some more information on how it was made, read on.</p>
<p><strong>Inception</strong></p>
<p>A few weeks ago, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5wZW9wbGV0aGlua2luZy5jby51aw==">Nic Price</a> (<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3R3aXR0ZXIuY29tL25pY3ByaWNl">@nicprice</a>) and I were talking about blogs and taking a picture of his bookshelf to show what books he&#8217;s found helpful over the years. After a little consideration, and watching the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zYXRpbmUub3JnL2FyY2hpdmVzLzIwMDkvMDcvMTEvc25vdy1zdGFjay1pcy1oZXJlLw==">CSS 3D transform demo (snow stack)</a>, I ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/standards/2009/dont-just-complain-about-css3-do-something/' rel='bookmark' title='Permanent Link: Don&#8217;t just complain about CSS3, do something!'>Don&#8217;t just complain about CSS3, do something!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGY3NzMy13ZWItZGVzaWduJTJGMjAxMCUyRmNzczMtYm9va3NoZWxmJTJG"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Fcss3-web-design%2F2010%2Fcss3-bookshelf%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Using CSS3 and a little JavaScript, I&#8217;ve created a bookshelf for your blog. For a demo, go to the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL2Jvb2tzaGVsZg==">CSS3 bookshelf</a>, for some more information on how it was made, read on.</p>
<p><strong>Inception</strong></p>
<p>A few weeks ago, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5wZW9wbGV0aGlua2luZy5jby51aw==">Nic Price</a> (<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3R3aXR0ZXIuY29tL25pY3ByaWNl">@nicprice</a>) and I were talking about blogs and taking a picture of his bookshelf to show what books he&#8217;s found helpful over the years. After a little consideration, and watching the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zYXRpbmUub3JnL2FyY2hpdmVzLzIwMDkvMDcvMTEvc25vdy1zdGFjay1pcy1oZXJlLw==">CSS 3D transform demo (snow stack)</a>, I thought that this is a perfect candidate for some CSS trickery.</p>
<p><strong>The sketch</strong></p>
<p>One sunny morning, I drew this:</p>
<div id="attachment_332" class="wp-caption aligncenter" style="width: 220px"><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L2Jvb2tzaGVsZi1za2V0Y2guanBn"><img class="size-medium wp-image-332" title="CSS3 bookshelf sketch" src="http://www.steveworkman.com/wp-content/uploads/2010/05/bookshelf-sketch-210x299.jpg" alt="CSS3 bookshelf sketch" width="210" height="299" /></a><p class="wp-caption-text">CSS3 bookshelf sketch</p></div>
<p>The concept is simple:</p>
<ul>
<li>a definition list of title and description.</li>
<li>Style and transform the &lt;dt&gt;s to look like books on a shelf</li>
<li>CSS animations on hover to pull the book slightly out of the shelf</li>
<li>Move the book into the centre on click/touch, displaying the definition underneath</li>
<li>Use as many CSS3 techniques as possible</li>
</ul>
<p><strong>Implementation</strong></p>
<p>Starting with the definition list, I set out the widths and heights required for each of the books. Initially, only the spine of the book was showing, but that didn&#8217;t look as good as a small gap. Each element is positioned using <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Nzcy10cmlja3MuY29tL2Fic29sdXRlLXBvc2l0aW9uaW5nLWluc2lkZS1yZWxhdGl2ZS1wb3NpdGlvbmluZy8=">relative-absolute positioning</a>, allowing for simple movements using the left property to center each book in the screen, instead of lots of calculations when using translateX. So, pretty standard stuff to get the books in line.</p>
<p><strong>Book Styles</strong></p>
<p>Each book has a css class associated with it. This allows for title position customisation and different backgrounds, widths and heights. Each book makes use of <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jc3MzLmluZm8vcHJldmlldy9tdWx0aXBsZS1iYWNrZ3JvdW5kcy8=">CSS3 Multiple backgrounds</a>, allowing for different images between the book spine and the front cover. Whilst this can be done in one image with photoshop, I decided not to (potentially, the spine of the book can be removed).</p>
<p><strong>Book titles</strong></p>
<p>The title of each book needs to be rotated to read down the spine. Optionally, I could have put the titles into the background elements, making them more like the actual books. Unfortunately, I couldn&#8217;t find good images of the spines on the internet, and there&#8217;s more opportunity for <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYmtpdC5vcmcvYmxvZy8xMzAvY3NzLXRyYW5zZm9ybXMv">CSS3 transforming</a> text. So, using the -vendor-transform property, I rotated the text 90 degrees:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Rotate book title 90 degrees */</span></pre></div></div>

<p>However, this rotates the whole element, so a &lt;span&gt; tag has to be used to target only the text. In the example there&#8217;s a few other properties to make the text line up properly, and on some books it&#8217;s overridden to allow for longer or shorter titles. In the end, it looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">dl<span style="color: #6666ff;">.bookshelf</span> dt span <span style="color: #00AA00;">&#123;</span>
	-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Rotate book title 90 degrees */</span>
	-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-o-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-ms-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>90deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* width is height of book */</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">150px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">130px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p><strong>Animations</strong></p>
<p>On hover (or focus) the book pulls itself out from the shelf and tilts slightly, adding some box shadow to give it a 3D look. This is in two parts, defining what elements will transition on the element, and then changing the values on hover. These values were gained by trial and error, with a small rotation and translation looking better than a more pronounced movement.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">dl<span style="color: #6666ff;">.bookshelf</span> dt <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Default height of books */</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.5em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Using relative-absolute positioning */</span>
&nbsp;
	-webkit-transition-property<span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">,</span> webkit-transform<span style="color: #00AA00;">,</span> webkit-box-shadow<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* transition on two properties */</span>
	-webkit-transition-duration<span style="color: #00AA00;">:</span> 0.5s<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* take 0.5 seconds */</span>
	-webkit-transition-timing-function<span style="color: #3333ff;">:ease-</span>in<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Ease in */</span>
	-webkit-transform-origin<span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* use the left, bottom of the element as the origin of transformation */</span>
<span style="color: #808080; font-style: italic;">/*... see css file for full vendor property list */</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* Hover over or focus on a book and have it pull out of the shelf */</span>
dl<span style="color: #6666ff;">.bookshelf</span> dt<span style="color: #00AA00;">:</span>not<span style="color: #00AA00;">&#40;</span>.showBook<span style="color: #00AA00;">&#41;</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">,</span> dl<span style="color: #6666ff;">.bookshelf</span> dt<span style="color: #00AA00;">:</span>not<span style="color: #00AA00;">&#40;</span>.showBook<span style="color: #00AA00;">&#41;</span><span style="color: #3333ff;">:focus </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* turn cursor to a hand */</span>
&nbsp;
	-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>-5deg<span style="color: #00AA00;">&#41;</span> translateX<span style="color: #00AA00;">&#40;</span><span style="color: #933;">-30px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Roate 5 degrees and pull out 30px */</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span> <span style="color: #933;">1px</span> <span style="color: #933;">3px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Add a box shadow so it looks like the book has depth */</span>
<span style="color: #808080; font-style: italic;">/*... see css file for full vendor property list */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Note the dt:not(.showBook), because we don&#8217;t want the selected book rotating when hovered over. I tried using -webkit-perspective here to make the books look a little more &#8220;3D&#8221;, but I couldn&#8217;t make it work properly. It&#8217;s a feature only available on Safari on Snow Leopard so isn&#8217;t widely used enough for my purposes.</p>
<p>All of those three together produces this:</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L2Nzc2Jvb2tzaGVsZi5wbmc="><img class="size-medium wp-image-333" title="CSS3 Books" src="http://www.steveworkman.com/wp-content/uploads/2010/05/cssbookshelf-300x225.png" alt="CSS3 Bookshelf using animations, transforms, web fonts and multiple=" /></a></p>
<p><strong>Showing the Book</strong><br />
Using a little JavaScript, I added a click event that added a class of &#8220;showBook&#8221; onto the &lt;dt&gt; and &lt;dd&gt; tags. This triggers an animation to move the book to the middle of the page and displays the definition below it.</p>
<p>The animation is pretty simple stuff, modifying the left property and the z-index, no <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlYmtpdC5vcmcvYmxvZy8zMjQvY3NzLWFuaW1hdGlvbi0yLw==">keyframed animation</a>. I did try more complex animations, but it didn&#8217;t add anything to the look and feel, only complicated code.</p>
<p>The &lt;dd&gt; makes use of border radius,  <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jc3MzLmluZm8vcHJldmlldy9yZ2JhLw==">RGBA</a> for its background and <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jc3MzLmluZm8vcHJldmlldy90ZXh0LXNoYWRvdy8=">text-shadow</a> to make the text stand out on the opaque background. Each &lt;dd&gt; has an Amazon affiliates link which floats to the right hand side of the definition. These together look like this:</p>
<div id="attachment_331" class="wp-caption aligncenter" style="width: 230px"><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L2Jvb2tjc3MzLnBuZw=="><img class="size-medium wp-image-331" title="CSS3 Book" src="http://www.steveworkman.com/wp-content/uploads/2010/05/bookcss3-220x300.png" alt="A Book and description in CSS3, showing transform, box shadow, RGBA and text shadow" width="220" height="300" /></a><p class="wp-caption-text">A Book and description in CSS3, showing transform, box shadow, RGBA and text shadow</p></div>
<p>The code for that looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">dl<span style="color: #6666ff;">.bookshelf</span> dt<span style="color: #6666ff;">.showBook</span> <span style="color: #00AA00;">&#123;</span>
	-webkit-transform<span style="color: #00AA00;">:</span> translateZ<span style="color: #00AA00;">&#40;</span><span style="color: #933;">10px</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Come above all the books */</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #808080; font-style: italic;">/* See code for other vendors */</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">335px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*(page width / 2) - (book width / 2), or thereabouts */</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* just in case the translateZ doesn't work */</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-80px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Class applied to definitions when shown */</span>
dl<span style="color: #6666ff;">.bookshelf</span> dd<span style="color: #6666ff;">.showBook</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">350px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">310px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span>rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0.8</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* RGBA background */</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera and MS will support border radius without prefix */</span>
	<span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666</span> <span style="color: #933;">1px</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Before I finish, there are a few caveats:</p>
<ul>
<li>The only browsers to completely support all features are Safari for Mac, Chrome 5 and Opera 10.5</li>
<li>Firefox gets animation support in 3.7 (or above)</li>
<li>Animations aren&#8217;t smooth in Opera 10.5 until they&#8217;ve been run a few times; after that, it look fantastic.</li>
<li>Internet Explorer&#8230; let&#8217;s not go there. Some features like border radius will work in IE9. I&#8217;ve put all vendor prefixes in even if the browser doesn&#8217;t support it at this time.</li>
</ul>
<p>So, enjoy the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL2Jvb2tzaGVsZg==">CSS3 Bookshelf</a>, I&#8217;ve enjoyed making it and it&#8217;s a good use of this new technology. I&#8217;ll make a downloadable package available in a few days, for now, take a look at the source code.</p>
<p>Thanks for reading.</p>
<p><strong>Update:</strong> I&#8217;ve re-jigged the CSS a little to account for some more perspective. I&#8217;ve also changed the shelf as the old one was, well, hideous. New screenshot below:</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L2Jvb2tzaGVsZi5wbmc="><img class="aligncenter size-full wp-image-348" title="CSS3 Bookshelf" src="http://www.steveworkman.com/wp-content/uploads/2010/05/bookshelf.png" alt="CSS3 Bookshelf" width="640" height="474" /></a></p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=330" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/standards/2009/dont-just-complain-about-css3-do-something/' rel='bookmark' title='Permanent Link: Don&#8217;t just complain about CSS3, do something!'>Don&#8217;t just complain about CSS3, do something!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/css3-web-design/2010/css3-bookshelf/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>A Week in Web &#8211; May 17-21st</title>
		<link>http://www.steveworkman.com/web-design/2010/a-week-in-web-may-17-21st/</link>
		<comments>http://www.steveworkman.com/web-design/2010/a-week-in-web-may-17-21st/#comments</comments>
		<pubDate>Thu, 20 May 2010 10:59:40 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[FOWD]]></category>
		<category><![CDATA[UX London]]></category>
		<category><![CDATA[web fonts]]></category>
		<category><![CDATA[WebM]]></category>
		<category><![CDATA[Week in web]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=321</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGMjAxMCUyRmEtd2Vlay1pbi13ZWItbWF5LTE3LTIxc3QlMkY=">
				
			</a>
		
<p style="text-align: center;"><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L3dlZWtpbndlYjE3MDUxMC5wbmc="></a></p>
<p>This was very good week to be a web developer, some big announcements:  <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53ZWJtcHJvamVjdC5vcmcv">Google announces WebM</a> &#8211; a collaborative project with Mozilla, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dpbmRvd3N0ZWFtYmxvZy5jb20vd2luZG93cy9iL2Jsb2dnaW5nd2luZG93cy9hcmNoaXZlLzIwMTAvMDUvMTkvYW5vdGhlci1mb2xsb3ctdXAtb24taHRtbDUtdmlkZW8taW4taWU5LmFzcHg=">Microsoft</a> and <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2xhYnMub3BlcmEuY29tL25ld3MvMjAxMC8wNS8xOS8=">Opera</a> all announcing that a new royalty-free HTML 5 &#60;video&#62; format has been created using the VP8 codec. Apple haven&#8217;t said anything thus far but you can guarantee they&#8217;ll say something soon.</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cudHlwZWtpdC5jb20vMjAxMC8wNS8xOS90eXBla2l0LWFuZC1nb29nbGUv">TypeKit and Google</a> have got together to make the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NvZGUuZ29vZ2xlLmNvbS93ZWJmb250cw==">Web Fonts API</a> including a modified ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/google-wave/2009/the-future-of-the-wave/' rel='bookmark' title='Permanent Link: The Future of the Wave'>The Future of the Wave</a></li>
<li><a href='http://www.steveworkman.com/web-design/microsoft/2007/one-long-week/' rel='bookmark' title='Permanent Link: One long week'>One long week</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGMjAxMCUyRmEtd2Vlay1pbi13ZWItbWF5LTE3LTIxc3QlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2F2010%2Fa-week-in-web-may-17-21st%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L3dlZWtpbndlYjE3MDUxMC5wbmc="><img class="size-full wp-image-322 aligncenter" title="weekinweb170510" src="http://www.steveworkman.com/wp-content/uploads/2010/05/weekinweb170510.png" alt="A week in the web - May 17-21" width="400" height="221" /></a></p>
<p>This was very good week to be a web developer, some big announcements:  <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53ZWJtcHJvamVjdC5vcmcv">Google announces WebM</a> &#8211; a collaborative project with Mozilla, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dpbmRvd3N0ZWFtYmxvZy5jb20vd2luZG93cy9iL2Jsb2dnaW5nd2luZG93cy9hcmNoaXZlLzIwMTAvMDUvMTkvYW5vdGhlci1mb2xsb3ctdXAtb24taHRtbDUtdmlkZW8taW4taWU5LmFzcHg=">Microsoft</a> and <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2xhYnMub3BlcmEuY29tL25ld3MvMjAxMC8wNS8xOS8=">Opera</a> all announcing that a new royalty-free HTML 5 &lt;video&gt; format has been created using the VP8 codec. Apple haven&#8217;t said anything thus far but you can guarantee they&#8217;ll say something soon.</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cudHlwZWtpdC5jb20vMjAxMC8wNS8xOS90eXBla2l0LWFuZC1nb29nbGUv">TypeKit and Google</a> have got together to make the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NvZGUuZ29vZ2xlLmNvbS93ZWJmb250cw==">Web Fonts API</a> including a modified version of TypeKit&#8217;s WebFont loader. The fontsquirrel has this <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5mb250c3F1aXJyZWwuY29tL3dlYmZvbnRfY29tcGFyaXNvbi8=">comparison of the fonts</a> used by all three loaders.</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Z1dHVyZW9md2ViZGVzaWduLmNvbS8="> Future of Web Design</a> and <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy51eGxvbmRvbi5jb20=">UX London</a> happened. There are video passes available and lots of people will be sharing their slides. Check out the presenters&#8217; twitter feeds for more information.  <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jc3MzLmluZm8vYm94LXNoYWRvdy1iYWNrLW9uLXRoZS1tZW51LWFuZC1vdGhlci11cGRhdGVzLw==">Box-shadow may make its way back into CSS3</a> &#8211; as reported by CSS3.info</p>
<p>Oh, and my server got hacked, leading to a wasted evening of clearing out and removing attack points.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=321" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/google-wave/2009/the-future-of-the-wave/' rel='bookmark' title='Permanent Link: The Future of the Wave'>The Future of the Wave</a></li>
<li><a href='http://www.steveworkman.com/web-design/microsoft/2007/one-long-week/' rel='bookmark' title='Permanent Link: One long week'>One long week</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/2010/a-week-in-web-may-17-21st/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging print stylesheets</title>
		<link>http://www.steveworkman.com/web-design/2010/debugging-print-stylesheets/</link>
		<comments>http://www.steveworkman.com/web-design/2010/debugging-print-stylesheets/#comments</comments>
		<pubDate>Thu, 13 May 2010 08:00:49 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[print styles]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=309</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGMjAxMCUyRmRlYnVnZ2luZy1wcmludC1zdHlsZXNoZWV0cyUyRg==">
				
			</a>
		
<p>Simple premise: web sites are designed for the screen, they are meant to be viewed through a computer and that’s about it. Still, most people want to print out a web site at some point and your design probably won’t look very good. Print media strips out all backgrounds and forces a page width so large fixed width sites simply won’t print all their detail.</p>
<p>The simple answer to this is print stylesheets using the media=”print” or @media print options. ...


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGMjAxMCUyRmRlYnVnZ2luZy1wcmludC1zdHlsZXNoZWV0cyUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2F2010%2Fdebugging-print-stylesheets%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Simple premise: web sites are designed for the screen, they are meant to be viewed through a computer and that’s about it. Still, most people want to print out a web site at some point and your design probably won’t look very good. Print media strips out all backgrounds and forces a page width so large fixed width sites simply won’t print all their detail.</p>
<p>The simple answer to this is print stylesheets using the media=”print” or @media print options. This is <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hbGlzdGFwYXJ0LmNvbS9hcnRpY2xlcy9nb2luZ3RvcHJpbnQv">covered</a> in <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jc3NuZXdiaWUuY29tLzctdGlwcy1wcmludC1zdHlsZS1zaGVldHMv">great</a> <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53ZWJkZXNpZ25lcmRlcG90LmNvbS8yMDEwLzAxLzEwLXRpcHMtZm9yLWJldHRlci1wcmludC1zdHlsZS1zaGVldHMv">detail</a> all over the web, and so the basics of print stylesheets won’t be told here. What I’m going to cover is how best to debug those print styles so that you can quickly edit and get a good print stylesheet together.</p>
<h3>Why can’t I see you!</h3>
<p>My number one issue with debugging print styles is having to use print preview to show what the effects of a print stylesheet will look like. It can take a long time for older browsers (IE6) to render print previews and it’s just not necessary.</p>
<p>Simple remedy: when debugging, make your print stylesheets media=”all” to see live previews of what the effects are.</p>
<p>This isn’t ideal, especially if you’re debugging on a live site (though if you are, you really should get a development environment). So, thankfully, there is an alternative, in the form of the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cHM6Ly9hZGRvbnMubW96aWxsYS5vcmcvYWRkb24vNjA=">Firefox Web Developer toolbar</a>.</p>
<p style="text-align: center;"><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L3dlYmRldnByaW50c3R5bGVzLmpwZw=="><img class="aligncenter size-full wp-image-310" title="Web developer in print styles" src="http://www.steveworkman.com/wp-content/uploads/2010/05/webdevprintstyles.jpg" alt="Using the web developer toolbar to debug print stylesheets" width="512" height="341" /></a></p>
<p>In the image above, I’m using the web developer toolbar to display my print styles, reducing my web page to what print preview will see. You should also tick the “persist features” option or you’ll have to keep turning the print stylesheet on each time you visit the page.</p>
<p>This technique has additional benefits, in that <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5nZXRmaXJlYnVnLmNvbS8=">Firebug</a>, the web developer’s best friend, picks up the print styles as if they were the only ones available. This allows you to experiment with the stylesheet on the fly, speeding up development time.</p>
<h3>What about IE?</h3>
<p>Due to the unique way that most developers are funded, you will still have to deal with Internet Explorer. IE 8 is pretty good at print styles, using the “fit to width” option by default, which gets around most of the awkward layout problems. However, IE 6 doesn’t have this facility, so layouts often go wrong. Here’s a few workarounds for common problems:</p>
<h4>Pre-requisite</h4>
<p>Make yourself an IE 6 only stylesheet. In the spirit of graceful degradation, use conditional comments to target the offending browser with its own stylesheet. This allows you to target IE6’s inflexible width issue without damaging the other stylesheets. Put something like this in your site:</p>
<pre>&lt;!--[if lte IE 6]&gt;</pre>
<pre>&lt;link rel="stylesheet" href="http://www.yourdomain.com/link/to/your/styles/print_ie6.css" type="text/css" media="print" /&gt;</pre>
<pre>&lt;![endif]--&gt;</pre>
<p>Make all your IE 6 specific changes in this file. As with the first technique, you may want to change the media to “all” to see what happens without using print preview.</p>
<h4>My content goes off the page (to the right generally) and doesn’t come back</h4>
<p>With a print page in portrait mode, you only get about 70% of the screen space. In this case, content simply overflows off the page and can’t be retrieved. Instructing your users to print in portrait mode alleviates this a little, but isn’t ideal for most clients.</p>
<p>If you have a fixed width layout, start by changing all of these pixel values into percentages. IE printing responds quite well to this in both landscape and portrait. If this doesn’t have the desired effect, consider removing and floated columns that you may have, allowing the sections to naturally flow beneath each other. Whilst this isn’t ideal, it can prevent content loss.</p>
<h4>There’s a blank page in my printing / nothing appears when I go to print preview</h4>
<p>This is an odd one. This can be caused by improperly clearing floated elements, so check those out. A good way to debug this is to turn off any custom styles that you’ve added (i.e. make sure your main stylesheet is set to screen, or comment it out) and see if the content prints. If it does, build your stylesheet back up until you find the problem.</p>
<p>If you still don’t see anything, it’s likely there is an in-line style causing the issue. SharePoint has tendency to add “height: 100%” to a few elements, which to most browsers means absolutely nothing, but IE6 takes seriously. Set that to “height: auto;” and you should get all of your content back again.</p>
<h4>I’ve got some VML (IE’s Canvas implementation) that I need to hide but can’t</h4>
<p>Sad news here, I don’t believe you can hide it in print stylesheets. If anyone knows how to do this, please let me know.</p>
<h3>Don’t forget: printing is about the content</h3>
<p>A printed page doesn’t have to look beautiful, with rounded corner borders or large images; the content should be laid out simply and should flow correctly. Use these techniques to get that right and all your print styling headaches will go away.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=309" width="1" height="1" style="display: none;" />

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/2010/debugging-print-stylesheets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Executive Summary: Flash vs HTML5</title>
		<link>http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/</link>
		<comments>http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/#comments</comments>
		<pubDate>Sat, 01 May 2010 10:56:08 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=299</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGZXhlY3V0aXZlLXN1bW1hcnktZmxhc2gtdnMtaHRtbDUlMkY=">
				
			</a>
		
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L2JveF9mbGFzaF9jczVfMTUweDE1MC5qcGc="></a>So, infamously, the iPhone OS doesn’t support Flash, encouraging its users to use the advantages of the webkit-based Safari to overcome any challenges that a lack of Flash can present. Last year, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Vvbi5idXNpbmVzc3dpcmUuY29tL3BvcnRhbC9zaXRlL2Vvbi9wZXJtYWxpbmsvP25kbVZpZXdJZD1uZXdzX3ZpZXcmYW1wO25ld3NJZD0yMDA5MTAwNTAwNjM1OCZhbXA7bmV3c0xhbmc9ZW4=">Adobe announced that in Flash CS5, you’d be able to convert it to run on the iPhone</a>. In April, with a revised iPhone developer agreement, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5tYWNydW1vcnMuY29tLzIwMTAvMDQvMDgvYXBwbGUtYmxvY2tzLWFkb2Jlcy1mbGFzaC10by1pcGhvbmUtY29tcGlsZXItaW4tbGF0ZXN0LXNkay1hZ3JlZW1lbnQv">Apple put the brakes on</a>, saying only apps written in one of three languages would be accepted on the ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/' rel='bookmark' title='Permanent Link: HTML5 Coming of Age'>HTML5 Coming of Age</a></li>
<li><a href='http://www.steveworkman.com/web-design/iphone-web-design/2008/want-your-company-to-develop-for-iphones-get-in-the-yellow-pages/' rel='bookmark' title='Permanent Link: Want your company to develop for iPhones? Get in the Yellow Pages!'>Want your company to develop for iPhones? Get in the Yellow Pages!</a></li>
<li><a href='http://www.steveworkman.com/standards/2009/why-iphone-web-apps-are-still-worthwhile/' rel='bookmark' title='Permanent Link: Why iPhone Web Apps are Still Worthwhile'>Why iPhone Web Apps are Still Worthwhile</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGZXhlY3V0aXZlLXN1bW1hcnktZmxhc2gtdnMtaHRtbDUlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Fhtml-5-web-design%2F2010%2Fexecutive-summary-flash-vs-html5%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA1L2JveF9mbGFzaF9jczVfMTUweDE1MC5qcGc="><img class="size-full wp-image-300 alignright" title="Flash CS5 box" src="http://www.steveworkman.com/wp-content/uploads/2010/05/box_flash_cs5_150x150.jpg" alt="Flash CS5 box" width="150" height="150" /></a>So, infamously, the iPhone OS doesn’t support Flash, encouraging its users to use the advantages of the webkit-based Safari to overcome any challenges that a lack of Flash can present. Last year, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Vvbi5idXNpbmVzc3dpcmUuY29tL3BvcnRhbC9zaXRlL2Vvbi9wZXJtYWxpbmsvP25kbVZpZXdJZD1uZXdzX3ZpZXcmYW1wO25ld3NJZD0yMDA5MTAwNTAwNjM1OCZhbXA7bmV3c0xhbmc9ZW4=">Adobe announced that in Flash CS5, you’d be able to convert it to run on the iPhone</a>. In April, with a revised iPhone developer agreement, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5tYWNydW1vcnMuY29tLzIwMTAvMDQvMDgvYXBwbGUtYmxvY2tzLWFkb2Jlcy1mbGFzaC10by1pcGhvbmUtY29tcGlsZXItaW4tbGF0ZXN0LXNkay1hZ3JlZW1lbnQv">Apple put the brakes on</a>, saying only apps written in one of three languages would be accepted on the App store. Adobe’s solution would compile directly to the CPU bytecode, hence being illegal.</p>
<p>Adobe weren’t too pleased about this, yet launched the product anyway, hoping Apple would change its mind. Since then, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hcHBsZS5jb20vaG90bmV3cy90aG91Z2h0cy1vbi1mbGFzaC8=">Steve Jobs wrote an open letter</a>, explaining their position, claiming six points:</p>
<ol>
<li>Flash is closed source      (like the iPhone), HTML5 is open</li>
<li>Flash is the number one      cause of crashes on OS X</li>
<li>Flash is not designed for      touch</li>
<li>Need to maintain app      quality on the store</li>
<li>HTML5 can do everything      that Flash can</li>
<li>Battery life suffers</li>
</ol>
<p>In the letter, there’s a bit of pretending that the iPhone is the only phone in the market, but otherwise, in my opinion, it’s accurate.</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5lbmdhZGdldC5jb20vMjAxMC8wNC8yOS9hZG9iZXMtY2VvLWpvYnMtZmxhc2gtbGV0dGVyLWlzLWEtc21va2VzY3JlZW4tZm9yLWN1bWJlcnNvLw==">Adobe’s response</a> was somewhat deluded; laughing that Flash wasn’t an open platform (someone should break the news to Adobe’s CEO) and saying that Flash 10.1 will ship to mobile devices later this year, focusing on multi-platform development. Adobe’s CEO also points that Apple’s developer restrictions are cumbersome and have nothing to do with the technology.</p>
<p>Even worse for Adobe, Microsoft has weighed in, saying <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5lbmdhZGdldC5jb20vMjAxMC8wNC8zMC9taWNyb3NvZnQtd2VpZ2hzLWluLXRoZS1mdXR1cmUtb2YtdGhlLXdlYi1pcy1odG1sNS8=">HTML5 is the future of the web</a>.</p>
<p>So, who’s on the right side? I believe that Apple have got it right this time, even implementing a half-finished specification is better than a platform that Apple have no control over, especially when the user experience is so important for the iPhone’s success. HTML5 genuinely can do everything Flash can, and do it all on hardware. It goes beyond Flash with geo-location and JavaScript access to more hardware features like the accelerometer and camera.</p>
<p>Personally, Adobe needs a re-think of their strategy. Flash enjoyed enormous success as a video player (thanks to YouTube) but they should have seen HTML5 coming. It’s been on the cards since the first iPhone in 2007 and Adobe has done through an entire release cycle (CS5) with little though for HTML5. If they’re smart, which they are, Flash CS6 will be able to create SVG graphics and Canvas apps using web databases and fonts, having Flash fallbacks for non-HTML5 capable browsers. Dreamweaver will have HTML5 structure tags available and Illustrator and Photoshop will do SVG too.</p>
<p>If Adobe don’t keep up with developers, the devs will simply find other tools to use. Adobe can avoid this, and it’s in their hands.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=299" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/' rel='bookmark' title='Permanent Link: HTML5 Coming of Age'>HTML5 Coming of Age</a></li>
<li><a href='http://www.steveworkman.com/web-design/iphone-web-design/2008/want-your-company-to-develop-for-iphones-get-in-the-yellow-pages/' rel='bookmark' title='Permanent Link: Want your company to develop for iPhones? Get in the Yellow Pages!'>Want your company to develop for iPhones? Get in the Yellow Pages!</a></li>
<li><a href='http://www.steveworkman.com/standards/2009/why-iphone-web-apps-are-still-worthwhile/' rel='bookmark' title='Permanent Link: Why iPhone Web Apps are Still Worthwhile'>Why iPhone Web Apps are Still Worthwhile</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Facebook Logins with Facebook Connect</title>
		<link>http://www.steveworkman.com/web-design/facebook/2010/facebook-logins-with-facebook-connect/</link>
		<comments>http://www.steveworkman.com/web-design/facebook/2010/facebook-logins-with-facebook-connect/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:30:08 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Facebook Connect]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=285</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGZmFjZWJvb2slMkYyMDEwJTJGZmFjZWJvb2stbG9naW5zLXdpdGgtZmFjZWJvb2stY29ubmVjdCUyRg==">
				
			</a>
		
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA0L2Nvbm5lY3RncmFwaGljLmpwZw=="></a>This is a follow-up to one of my most popular posts, &#8220;<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3Byb2plY3RzL3VzZS8yMDA3L2dldHRpbmctYS1mYWNlYm9vay1sb2dpbi13b3JraW5nLW9uLXlvdXItYXBwbGljYXRpb24v">Getting a Facebook Login working with your application</a>&#8220;. That was written in 2007, and is quite out of date.</p>
<p><em>This entire post was inspired by a reader who e-mailed me asking for help. I&#8217;m more than happy to help someone who is learning. It makes the whole thing worthwhile.</em></p>
<p>In May 2008, Facebook <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RldmVsb3BlcnMuZmFjZWJvb2suY29tL25ld3MucGhwP2Jsb2c9MSZhbXA7c3Rvcnk9MTA4">announced &#8220;Facebook Connect&#8221;</a>, a Trusted authentication method so that user&#8217;s profiles can be used ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/projects/use/2007/getting-a-facebook-login-working-on-your-application/' rel='bookmark' title='Permanent Link: Getting a Facebook Login working on your application'>Getting a Facebook Login working on your application</a></li>
<li><a href='http://www.steveworkman.com/projects/use/2007/facebook-platform-a-thought/' rel='bookmark' title='Permanent Link: Facebook Platform &#8211; a thought'>Facebook Platform &#8211; a thought</a></li>
<li><a href='http://www.steveworkman.com/projects/use/2007/the-facebook-platform/' rel='bookmark' title='Permanent Link: The Facebook Platform'>The Facebook Platform</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGZmFjZWJvb2slMkYyMDEwJTJGZmFjZWJvb2stbG9naW5zLXdpdGgtZmFjZWJvb2stY29ubmVjdCUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Ffacebook%2F2010%2Ffacebook-logins-with-facebook-connect%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzA0L2Nvbm5lY3RncmFwaGljLmpwZw=="><img class="aligncenter size-full wp-image-286" title="Facebook Connnect" src="http://www.steveworkman.com/wp-content/uploads/2010/04/connectgraphic.jpg" alt="Facebook Connect"  height="250" /></a>This is a follow-up to one of my most popular posts, &#8220;<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3Byb2plY3RzL3VzZS8yMDA3L2dldHRpbmctYS1mYWNlYm9vay1sb2dpbi13b3JraW5nLW9uLXlvdXItYXBwbGljYXRpb24v">Getting a Facebook Login working with your application</a>&#8220;. That was written in 2007, and is quite out of date.</p>
<p><em>This entire post was inspired by a reader who e-mailed me asking for help. I&#8217;m more than happy to help someone who is learning. It makes the whole thing worthwhile.</em></p>
<p>In May 2008, Facebook <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RldmVsb3BlcnMuZmFjZWJvb2suY29tL25ld3MucGhwP2Jsb2c9MSZhbXA7c3Rvcnk9MTA4">announced &#8220;Facebook Connect&#8221;</a>, a Trusted authentication method so that user&#8217;s profiles can be used on other sites. My 2007 article pretty much does what Facebook Connect does for you now, but Facebook have made it much easier. To get started, take a look at the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RldmVsb3BlcnMuZmFjZWJvb2suY29tL2Nvbm5lY3QucGhw">Facebook Connect web pages</a> and more specifically, the<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dpa2kuZGV2ZWxvcGVycy5mYWNlYm9vay5jb20vaW5kZXgucGhwL0Nvbm5lY3QvQXV0aGVudGljYXRpb25fYW5kX0F1dGhvcml6YXRpb24="> single sign-on guide</a>.</p>
<p>A few things of note:</p>
<ol>
<li>This does not replace your current login system. You still need a user database</li>
<li>People still need to click &#8220;connect&#8221; and you cannot use general session/cookie information to simply log in without interaction.</li>
</ol>
<p>Facebook claims it gives you 15% more registrations, so what are you waiting for, <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2RldmVsb3BlcnMuZmFjZWJvb2suY29tL3NldHVwLnBocA==">get started!</a></p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=285" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/projects/use/2007/getting-a-facebook-login-working-on-your-application/' rel='bookmark' title='Permanent Link: Getting a Facebook Login working on your application'>Getting a Facebook Login working on your application</a></li>
<li><a href='http://www.steveworkman.com/projects/use/2007/facebook-platform-a-thought/' rel='bookmark' title='Permanent Link: Facebook Platform &#8211; a thought'>Facebook Platform &#8211; a thought</a></li>
<li><a href='http://www.steveworkman.com/projects/use/2007/the-facebook-platform/' rel='bookmark' title='Permanent Link: The Facebook Platform'>The Facebook Platform</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/facebook/2010/facebook-logins-with-facebook-connect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML5 Coming of Age</title>
		<link>http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/</link>
		<comments>http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 09:28:41 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=274</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGaHRtbDUtY29taW5nLW9mLWFnZSUyRg==">
				
			</a>
		
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAzLzI5MTdfbGFyZ2UuanBn"></a></p>
<p>If technology is driven forward by demand and hype, Apple is at the helm of a HTML5 labelled chariot rampaging through the streets. The <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hcHBsZS5jb20vaXBhZA==">iPad</a> is coming and high-end newspaper and magazine publications are falling over themselves to change their sites to be used with Apple&#8217;s new flagship device.</p>
<p>The amount of power Apple holds is amazing. Forcing the likes of News Corp to <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5lbmdhZGdldC5jb20vMjAxMC8wMy8xOC9ucHItYW5kLXdzai1idWlsZGluZy1mbGFzaC1mcmVlLXBhZ2VzLWZvci1pcGFkLWFwcGxlLXF1aWV0bHkv">change the way their content is published</a> is a task that would normally ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/' rel='bookmark' title='Permanent Link: Executive Summary: Flash vs HTML5'>Executive Summary: Flash vs HTML5</a></li>
<li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-in-your-blog/' rel='bookmark' title='Permanent Link: HTML5 in your blog'>HTML5 in your blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGaHRtbDUtY29taW5nLW9mLWFnZSUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Fhtml-5-web-design%2F2010%2Fhtml5-coming-of-age%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAzLzI5MTdfbGFyZ2UuanBn"><img class="aligncenter size-full wp-image-275" title="iPad flaming chariot" src="http://www.steveworkman.com/wp-content/uploads/2010/03/2917_large.jpg" alt="iPad flaming chariot" width="614" height="414" /></a></p>
<p>If technology is driven forward by demand and hype, Apple is at the helm of a HTML5 labelled chariot rampaging through the streets. The <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hcHBsZS5jb20vaXBhZA==">iPad</a> is coming and high-end newspaper and magazine publications are falling over themselves to change their sites to be used with Apple&#8217;s new flagship device.</p>
<p>The amount of power Apple holds is amazing. Forcing the likes of News Corp to <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5lbmdhZGdldC5jb20vMjAxMC8wMy8xOC9ucHItYW5kLXdzai1idWlsZGluZy1mbGFzaC1mcmVlLXBhZ2VzLWZvci1pcGFkLWFwcGxlLXF1aWV0bHkv">change the way their content is published</a> is a task that would normally be impossible for any external company. Even if you were coming at it from the inside, you would never have a hope of dropping Flash video players. There simply isn&#8217;t the business case to change something that so many man hours will have been put into, and backwards-compatability issues crop up all over the place. Yet with the onset of this new device, predicted to sell between 8 and 10 million units this year, companies have had to look to new, Apple endorsed, technologies.</p>
<p>This change, away from Flash, has forced the issue of HTML5 video. YouTube has HTML5 video mode, as does Vimeo, and this will soon be supported by the upcoming <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2llLm1pY3Jvc29mdC5jb20vdGVzdGRyaXZlLw==">IE9</a>. All of these major sites are now raising awareness of this new technology to people who wouldn&#8217;t normally know about it i.e. your manager AKA the person with the budget. Now they&#8217;re aware of the benefits of HTML5, they want to see what else it can do. If you are ever asked this question, show them <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0bWw1ZGVtb3MuY29tLw==">HTML5demos.com</a> or the IE9 test drive page. If they&#8217;ve got a more detailed question, go to the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0bWw1ZG9jdG9yLmNvbS8=">HTML5 Doctor</a> or just twitter <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3R3aXR0ZXIuY29tL2JydWNlbA==">@brucel</a>, Opera&#8217;s web evangelist.</p>
<p>With so much drive towards HTML5 at the moment, you can&#8217;t get away from it. With Apple as the driving force, the train will be unstoppable, though it will still be many years until you can use it in all situations; probably around the time we ditch Windows XP for good.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=274" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/' rel='bookmark' title='Permanent Link: Executive Summary: Flash vs HTML5'>Executive Summary: Flash vs HTML5</a></li>
<li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-in-your-blog/' rel='bookmark' title='Permanent Link: HTML5 in your blog'>HTML5 in your blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML5 in your blog</title>
		<link>http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-in-your-blog/</link>
		<comments>http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-in-your-blog/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 12:30:56 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=228</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGaHRtbDUtaW4teW91ci1ibG9nJTJG">
				
			</a>
		
<p><em>This is the second part of a series on the construction of my blog. In this post, I&#8217;ll be focusing on the underlying HTML5 markup.</em></p>
<p>When I started making this blog, I had a decision about what language to use underneath. The choices were simple: HTML4, XHTML 1.0, or HTML5. The first two options represent the old school of HTML, both based on standards from 1999, with tags which have worked for years and are well understood and supported across ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/' rel='bookmark' title='Permanent Link: HTML5 Coming of Age'>HTML5 Coming of Age</a></li>
<li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/' rel='bookmark' title='Permanent Link: Executive Summary: Flash vs HTML5'>Executive Summary: Flash vs HTML5</a></li>
<li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2009/my-problem-with-html-5-styling-meter/' rel='bookmark' title='Permanent Link: My problem with HTML 5 &#8211; Styling &lt;meter&gt;'>My problem with HTML 5 &#8211; Styling &lt;meter&gt;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGaHRtbDUtaW4teW91ci1ibG9nJTJG"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Fhtml-5-web-design%2F2010%2Fhtml5-in-your-blog%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><em>This is the second part of a series on the construction of my blog. In this post, I&#8217;ll be focusing on the underlying HTML5 markup.</em></p>
<p>When I started making this blog, I had a decision about what language to use underneath. The choices were simple: HTML4, XHTML 1.0, or HTML5. The first two options represent the old school of HTML, both based on standards from 1999, with tags which have worked for years and are well understood and supported across all browsers. What these standards fall down on are their semantic tags.</p>
<p>Since table layouts disappeared, site content has been divided by large blocks, created using &lt;div&gt; tags.  Whilst having a single multi-purpose tag has been very useful, this tag has become littered around websites, trying to find ways to semantically structure their data.</p>
<p><strong>HTML5 Tags</strong></p>
<p>HTML5 brings a new set of structural tags for designers and developers to use in their sites. These tags are:</p>
<ul>
<li>&lt;header&gt;</li>
<li>&lt;nav&gt;</li>
<li>&lt;section&gt;</li>
<li>&lt;article&gt;</li>
<li>&lt;aside&gt;</li>
<li>&lt;footer&gt;</li>
<li>&lt;figure&gt;</li>
</ul>
<p>These semantic elements can all be used in place of &lt;div&gt; tags, as they are all &#8220;block-level&#8221; elements. For an example of how they can be used, let&#8217;s take a look at the front page of my blog.</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAyL2xheW91dC5wbmc="><img class="aligncenter size-medium wp-image-236" title="Blog layout" src="http://www.steveworkman.com/wp-content/uploads/2010/02/layout-222x300.png" alt="Steve Workman blog layout" width="222" height="300" /></a></p>
<p>It all looks like the blog has a firm structure, that could quite easily be &lt;div&gt; tags. Look closer and you&#8217;ll see that there isn&#8217;t a single &lt;div&gt; tag defining general structure. Only the &lt;article&gt; and &lt;section&gt; tags have been repeated at any point in the page. Take a look at this next screenshot, without the content visible:</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAyL2xheW91dC1iYXJlLnBuZw=="><img class="aligncenter size-medium wp-image-235" title="Blog structure" src="http://www.steveworkman.com/wp-content/uploads/2010/02/layout-bare-222x300.png" alt="Steve Workman's blog structure" width="222" height="300" /></a>The layout is very simple, making full use of the HTML5 tags. The advantages here are clear:</p>
<ul>
<li>For screen readers, users can skip straight past the &lt;header&gt; and &lt;nav&gt;, and locate &lt;articles&gt; simply by using keyboard shortcuts or having screen readers jump to articles</li>
<li>For search engines, all &lt;articles&gt; are marked up accordingly, making it easier to determine what the actual content of the site is</li>
<li>The same goes for the &lt;nav&gt;, providing hard links for the main parts of the site.</li>
</ul>
<p>There&#8217;s other benefits too. This blog uses <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53My5vcmcvV0FJL2ludHJvL2FyaWE=">WAI-ARIA</a> to identify the role of each of the sections. Using this, the content section is marked up differently to the toolbox section where my Twitter and Last.fm links are displayed.</p>
<p>It&#8217;s a similar story on a single article page. Making use of the new tags makes reading an article easier and more clearly defined:</p>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAyL2xheW91dDMucG5n"><img class="aligncenter size-medium wp-image-237" title="Single page layout" src="http://www.steveworkman.com/wp-content/uploads/2010/02/layout3-289x300.png" alt="Steve Workman's blog single page layout" width="289" height="300" /></a>The single page template makes use of the &lt;aside&gt; tag to mark up the sidebar as inconsequential information.</p>
<p><strong>Browser issues</strong></p>
<p>As usual, IE has problems rendering these new tags. Thankfully, Remmy Sharp has an very <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3JlbXlzaGFycC5jb20vMjAwOS8wMS8wNy9odG1sNS1lbmFibGluZy1zY3JpcHQv">useful bit of JavaScript that makes everything work nicely</a>. IE then acts just like the other browsers. Problem solved.</p>
<p><strong>HTML5 Video</strong></p>
<p>Structural tags are one of the only items currently implemented in most modern web browsers. Other technologies such as web databases and drag &amp; drop are still a long way off. What isn&#8217;t a long way off is HTML5&#8242;s &lt;video&gt; tag &#8211; native video in the browser. Youtube and Vimeo are already implementing this so you can too. It&#8217;s simple enough, just encode your videos in H.264 (for webkit browsers) and Ogg (for Firefox and Opera) and you&#8217;re good to go. If you want to know a bit more about the H.264/Ogg debate, read <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5icnVjZWxhd3Nvbi5jby51ay8yMDEwL3doYXQtYXJlLXRoZS1idXNpbmVzcy1iZW5lZml0cy1vZi1odG1sNS12aWRlby8=">Bruce Lawson&#8217;s column</a>.</p>
<p>There are lots more benefits to HTML5 that I&#8217;ll show as I add them to the blog (like the &lt;mark&gt; element!).</p>
<p>I hope you&#8217;ve found this useful. The accessibility benefits of HTML5 are excellent, and I hope you&#8217;ll be upgrading your blog soon.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=228" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-coming-of-age/' rel='bookmark' title='Permanent Link: HTML5 Coming of Age'>HTML5 Coming of Age</a></li>
<li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2010/executive-summary-flash-vs-html5/' rel='bookmark' title='Permanent Link: Executive Summary: Flash vs HTML5'>Executive Summary: Flash vs HTML5</a></li>
<li><a href='http://www.steveworkman.com/web-design/html-5-web-design/2009/my-problem-with-html-5-styling-meter/' rel='bookmark' title='Permanent Link: My problem with HTML 5 &#8211; Styling &lt;meter&gt;'>My problem with HTML 5 &#8211; Styling &lt;meter&gt;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/html-5-web-design/2010/html5-in-your-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5 Forms &#8211; a spammers paradise</title>
		<link>http://www.steveworkman.com/web-design/html-5-web-design/2010/html-5-forms-a-spammers-paradise/</link>
		<comments>http://www.steveworkman.com/web-design/html-5-web-design/2010/html-5-forms-a-spammers-paradise/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 10:00:04 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[web forms]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=194</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGaHRtbC01LWZvcm1zLWEtc3BhbW1lcnMtcGFyYWRpc2UlMkY=">
				
			</a>
		
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAxL2Zvcm1zcGFtLmpwZw=="></a>
Did you know, HTML 5, the spec that will be <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0bWw1ZG9jdG9yLmNvbS8yMDIyLW9yLXdoZW4td2lsbC1odG1sLTUtYmUtcmVhZHkv">completed in 2022</a>, but with some bits available now, will have a whole new set of form elements designed to make complex forms available natively from the browser. I&#8217;ve been to a few talks where Opera&#8217;s <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5icnVjZWxhd3Nvbi5jby51ay8=">Bruce Lawson</a> has demoed and talked about these upcoming features that have been implemented in the Opera browser. From an accessibility standpoint it looks great; no longer will screen readers ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/2008/easy-semantic-forms-with-css/' rel='bookmark' title='Permanent Link: Easy Semantic Forms with CSS'>Easy Semantic Forms with CSS</a></li>
<li><a href='http://www.steveworkman.com/offtopic/ramblings/2007/application-forms/' rel='bookmark' title='Permanent Link: Application Forms'>Application Forms</a></li>
<li><a href='http://www.steveworkman.com/offtopic/ramblings/2008/unique-ids-in-ajax-web-applications/' rel='bookmark' title='Permanent Link: Unique IDs in AJAX Web Applications'>Unique IDs in AJAX Web Applications</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGaHRtbC01LXdlYi1kZXNpZ24lMkYyMDEwJTJGaHRtbC01LWZvcm1zLWEtc3BhbW1lcnMtcGFyYWRpc2UlMkY="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Fhtml-5-web-design%2F2010%2Fhtml-5-forms-a-spammers-paradise%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAxL2Zvcm1zcGFtLmpwZw=="><img class="alignright size-full wp-image-195" title="Form spam" src="http://www.steveworkman.com/wp-content/uploads/2010/01/formspam.jpg" alt="HTML 5 form spam" width="296" height="170" /></a><br />
Did you know, HTML 5, the spec that will be <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0bWw1ZG9jdG9yLmNvbS8yMDIyLW9yLXdoZW4td2lsbC1odG1sLTUtYmUtcmVhZHkv">completed in 2022</a>, but with some bits available now, will have a whole new set of form elements designed to make complex forms available natively from the browser. I&#8217;ve been to a few talks where Opera&#8217;s <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5icnVjZWxhd3Nvbi5jby51ay8=">Bruce Lawson</a> has demoed and talked about these upcoming features that have been implemented in the Opera browser. From an accessibility standpoint it looks great; no longer will screen readers have to rely on labels to infer the type of data to be entered into forms. From a developer&#8217;s standpoint, you won&#8217;t have to code javascript date pickers any more, nor have to rely on javascript for validation.</p>
<p>So, all of this makes it easier to enter data on the web, a great thing. I asked the question this morning, &#8220;who enters the most data on the internet?&#8221;. The answer is spammers. It is generally thought that 90% of all e-mail sent is spam, and a quick glance at my blog&#8217;s spam counter sees 7,300 fake comments caught compared to 56 real comments.</p>
<p>So, why will HTML 5 forms be such a problem? Well, at the moment, spammers use automated tools to crawl the internet, looking for forms to fill in to spread their advertising links or perform XSS attacks. To bypass most validation, the crawlers look for labeled form fields to fill in. Quite simply, HTML 5 forms will make this job easier.</p>
<p>Instead of labelling forms with &#8220;e-mail&#8221;, there&#8217;s now a specific input type &lt;input type=&#8221;email&#8221;&gt; which validate an e-mail address. Common anti-spam methods of adding a second e-mail field hidden to normal users will be ignored as there is a clear (and CSS visible) e-mail address field.</p>
<p>Forms validation may be useful for the normal user, but it&#8217;s even more useful for the spammer. With limits of input fields now being contained in plain text in the input, it makes it trivial for bots to enter correct data.</p>
<p>So, what can be done about this? Well, I&#8217;m not sure. There are some anti-spam methods that will still work, for instance timing the entrance to the page and seeing how long it took to complete the form. Very short times are spam, short times are sent for moderation and normal times are approved. There&#8217;s <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53My5vcmcvVFIvdHVyaW5ndGVzdC8=">captcha, which is inaccessible</a> and then there&#8217;s blacklisting, which hasn&#8217;t worked for years.</p>
<p>If you have any theories, please share them here. If there&#8217;s a solution or something the working group can do to make spam more difficult rather than easier, it should get into the spec sooner, rather than later.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=194" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/web-design/2008/easy-semantic-forms-with-css/' rel='bookmark' title='Permanent Link: Easy Semantic Forms with CSS'>Easy Semantic Forms with CSS</a></li>
<li><a href='http://www.steveworkman.com/offtopic/ramblings/2007/application-forms/' rel='bookmark' title='Permanent Link: Application Forms'>Application Forms</a></li>
<li><a href='http://www.steveworkman.com/offtopic/ramblings/2008/unique-ids-in-ajax-web-applications/' rel='bookmark' title='Permanent Link: Unique IDs in AJAX Web Applications'>Unique IDs in AJAX Web Applications</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/html-5-web-design/2010/html-5-forms-a-spammers-paradise/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Adding colour to colour theory</title>
		<link>http://www.steveworkman.com/web-design/2010/adding-colour-to-colour-theory/</link>
		<comments>http://www.steveworkman.com/web-design/2010/adding-colour-to-colour-theory/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 10:30:36 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[colours]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=187</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGMjAxMCUyRmFkZGluZy1jb2xvdXItdG8tY29sb3VyLXRoZW9yeSUyRg==">
				
			</a>
		
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAxL0JsdUJhci5wbmc="></a></p>
<p><em>This is the first in a short series about my blog re-design. I&#8217;ll try and cover all the techniques used, including CSS3 and HTML5 usage</em></p>
<p>When considering the colour scheme for this blog, I looked at my old one quite a bit and decided that I quite liked it. Based on the resolution that blog design should be evolution rather than revolution, I set about finding a suitable palette that matches the silver, yet provides a bit more of ...


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGMjAxMCUyRmFkZGluZy1jb2xvdXItdG8tY29sb3VyLXRoZW9yeSUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2F2010%2Fadding-colour-to-colour-theory%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAxL0JsdUJhci5wbmc="><img class="alignright size-full wp-image-191" title="BluBar" src="http://www.steveworkman.com/wp-content/uploads/2010/01/BluBar.png" alt="BluBar Colour palette" width="228" height="161" /></a></p>
<p><em>This is the first in a short series about my blog re-design. I&#8217;ll try and cover all the techniques used, including CSS3 and HTML5 usage</em></p>
<p>When considering the colour scheme for this blog, I looked at my old one quite a bit and decided that I quite liked it. Based on the resolution that blog design should be evolution rather than revolution, I set about finding a suitable palette that matches the silver, yet provides a bit more of a range of colours.</p>
<p><span id="more-187"></span></p>
<p>My first, and only, stop was the wonderful <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jb2xvdXJsb3ZlcnMuY29t">Colour lovers</a>, whose search engine for &#8220;electric blue&#8221; brought me the keystone to my design. Straight off the back of that I found the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jb2xvdXJsb3ZlcnMuY29tL3BhbGV0dGUvODA3Njk3L0JsdUJhcg==">&#8220;BluBar&#8221; palette</a> which gave me the matching colours to create the design.</p>
<p>Off to a great start, I made the whole thing using only those 5 colours and some gradients.</p>
<p>Still, when I came to look upon the design at the end, I was disappointed. The whole site looked very dark, and since the elecric blue was used for borders and links, there was little to catch the eye.</p>
<p>What I learnt, immediately, is that there needs to be another bright colour that can add intensity and be used in the opposite end of the spectrum. So, I started looking for my elusive opposite: electric orange.</p>
<p>There were quite a few results on colour lovers, but I eventually plumped for this one: <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jb2xvdXJsb3ZlcnMuY29tL2NvbG9yL0VFNzMwMC9lbGVjdHJpY19vcmFuZ2U=">electric orange (#ee7300) </a>- a darker orange that brightens colours around it without being too brilliant a colour. This is almost exactly the complementary colour (apparently #ffa100 is the theoretical match) but it&#8217;s close enough. Just shows that knowledge of colour theory is essential for designers</p>
<p>This new colour will be making its way into my design slowly as I get chance to work on it. I&#8217;m still not pleased with the way it looks at 1024*768, there&#8217;s a few bugs too and after last week&#8217;s r<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dlYi1kZXNpZ24vY3NzMy13ZWItZGVzaWduLzIwMTAvd2h5LWNzcy1tdWx0aS1jb2x1bW5zLWFyZW50LXJlYWR5LWZvci1wcmltZS10aW1lLw==">ant about css3 multi columns</a>, I think I&#8217;ll drop it from the footer.</p>
<p>Watch this space</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=187" width="1" height="1" style="display: none;" />

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/2010/adding-colour-to-colour-theory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why CSS Multi-Columns aren&#8217;t ready for prime time</title>
		<link>http://www.steveworkman.com/web-design/css3-web-design/2010/why-css-multi-columns-arent-ready-for-prime-time/</link>
		<comments>http://www.steveworkman.com/web-design/css3-web-design/2010/why-css-multi-columns-arent-ready-for-prime-time/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 10:00:56 +0000</pubDate>
		<dc:creator>Steve Workman</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS Multi-column]]></category>

		<guid isPermaLink="false">http://www.steveworkman.com/?p=182</guid>
		<description><![CDATA[
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGY3NzMy13ZWItZGVzaWduJTJGMjAxMCUyRndoeS1jc3MtbXVsdGktY29sdW1ucy1hcmVudC1yZWFkeS1mb3ItcHJpbWUtdGltZSUyRg==">
				
			</a>
		
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAxL2Nzc211bHRpY29sdW1uLnBuZw=="></a>
Of the upcoming CSS3 modules that are coming into common use: selectors, borders, text etc, the multi-column layout module interests me the most. I&#8217;ve always been a fan of newspaper style layouts and that was one of the key looks I was going for when re-designing this site. The big problem is that the module just isn&#8217;t ready yet.</p>
<p></p>
<p><strong>The facts:</strong></p>

The module is currently supported by Safari 4, Chrome 3 and Firefox 3.5
Opera 10.5 has support coming but is ...


<strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/standards/2009/css-matrix-layouts-another-way/' rel='bookmark' title='Permanent Link: CSS Matrix Layouts: Another Way?'>CSS Matrix Layouts: Another Way?</a></li>
<li><a href='http://www.steveworkman.com/standards/2009/classitis-the-new-css-disease/' rel='bookmark' title='Permanent Link: Classitis (class-eye-tiss) – The new CSS disease'>Classitis (class-eye-tiss) – The new CSS disease</a></li>
<li><a href='http://www.steveworkman.com/web-design/2008/is-css-a-black-art/' rel='bookmark' title='Permanent Link: Is CSS a black art?'>Is CSS a black art?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGd3d3LnN0ZXZld29ya21hbi5jb20lMkZ3ZWItZGVzaWduJTJGY3NzMy13ZWItZGVzaWduJTJGMjAxMCUyRndoeS1jc3MtbXVsdGktY29sdW1ucy1hcmVudC1yZWFkeS1mb3ItcHJpbWUtdGltZSUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.steveworkman.com%2Fweb-design%2Fcss3-web-design%2F2010%2Fwhy-css-multi-columns-arent-ready-for-prime-time%2F&amp;source=steveworkman&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGV2ZXdvcmttYW4uY29tL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEwLzAxL2Nzc211bHRpY29sdW1uLnBuZw=="><img src="http://www.steveworkman.com/wp-content/uploads/2010/01/cssmulticolumn-1024x179.png" alt="CSS Multi-column layout problem" title="CSS Multi-column layout problem" width="512" height="90" class="aligncenter size-large wp-image-183" /></a><br />
Of the upcoming CSS3 modules that are coming into common use: selectors, borders, text etc, the multi-column layout module interests me the most. I&#8217;ve always been a fan of newspaper style layouts and that was one of the key looks I was going for when re-designing this site. The big problem is that the module just isn&#8217;t ready yet.</p>
<p><span id="more-182"></span></p>
<p><strong>The facts:</strong></p>
<ol>
<li>The module is currently supported by Safari 4, Chrome 3 and Firefox 3.5</li>
<li>Opera 10.5 has support coming but is not implemented yet. IE has no support for the feature, which is currently <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2dzLm1zZG4uY29tL2llL2FyY2hpdmUvMjAwOS8xMS8xOC9hbi1lYXJseS1sb29rLWF0LWllOS1mb3ItZGV2ZWxvcGVycy5hc3B4">not planned for IE9</a> (at least not mentioned)</li>
<li>The <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53My5vcmcvVFIvMjAwOS9DUi1jc3MzLW11bHRpY29sLTIwMDkxMjE3LyNjb2x1bW4tYnJlYWtz">spec</a> has a number of properties that are not implemented by any browser (column breaks)</li>
</ol>
<p>Ok, so you can work around some of those problems with <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dlbGNvbWUudG90aGVpbnRlci5uZXQvMjAwOC8wNy8yMi9tdWx0aS1jb2x1bW4tbGF5b3V0LXdpdGgtY3NzLWFuZC1qcXVlcnkv">javascript hacks</a> but that&#8217;s not the point here. I wanted a pure multi-column layout for the front page of my blog, but instead I&#8217;ve removed the experiement and relegated it to the footer as I just could not get it to work consistently. If you look at this page&#8217;s footer (or the image at the top of this post) now you can see the problem.</p>
<p><strong>The basics of my issue</strong></p>
<p>I&#8217;ve got a containing &lt;div&gt; with [-moz|-webkit]column-count set to 3, ample gap for the lists and no width specified to let the browser lay out the content as it sees fit. There are three &lt;h5&gt; elements, each followed by a &lt;ul&gt; element in the &lt;div&gt;. What I expect the browser to do is identify the &lt;h5&gt; elements at column headings and start a new column with this element. Instead, it ignores my semantics and tries to push out equal height columns.</p>
<p><strong>Why is this so annoying</strong></p>
<p>Simply because column-break doesn&#8217;t work. What I do is put [-moz|-webkit]column-break:after on the &lt;ul&gt; elements but the browser continues to insist on its own break points.</p>
<p><strong>Get it right</strong></p>
<p>It appears that the <a href="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy53My5vcmcvVFIvMjAwOS9DUi1jc3MzLW11bHRpY29sLTIwMDkxMjE3LyNjb2x1bW4tYnJlYWtz">candidate recommendation spec</a> (17th December 2009) has resolved some of these issues, but it will take a while for them to get in to builds and even longer before they become mainstream. For now, keep using floated &lt;div&gt; elements and javascript.  Maybe then it&#8217;ll be worth the pain.</p>
 <img src="http://www.steveworkman.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=182" width="1" height="1" style="display: none;" />

<p><strong>If you liked this, you may also like:</strong><ol><li><a href='http://www.steveworkman.com/standards/2009/css-matrix-layouts-another-way/' rel='bookmark' title='Permanent Link: CSS Matrix Layouts: Another Way?'>CSS Matrix Layouts: Another Way?</a></li>
<li><a href='http://www.steveworkman.com/standards/2009/classitis-the-new-css-disease/' rel='bookmark' title='Permanent Link: Classitis (class-eye-tiss) – The new CSS disease'>Classitis (class-eye-tiss) – The new CSS disease</a></li>
<li><a href='http://www.steveworkman.com/web-design/2008/is-css-a-black-art/' rel='bookmark' title='Permanent Link: Is CSS a black art?'>Is CSS a black art?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.steveworkman.com/web-design/css3-web-design/2010/why-css-multi-columns-arent-ready-for-prime-time/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
