<?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>Dave Woods Freelance Web Designer UK &#187; Web Design</title>
	<atom:link href="http://www.dave-woods.co.uk/index.php/category/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dave-woods.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 09 Dec 2011 11:26:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>HTML5 Placeholder Attribute</title>
		<link>http://www.dave-woods.co.uk/index.php/html5-placeholder-attribute/</link>
		<comments>http://www.dave-woods.co.uk/index.php/html5-placeholder-attribute/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 11:26:19 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=861</guid>
		<description><![CDATA[Most of the attention for HTML5 has been given to the new elements and the use of video. However, one of the most useful features when creating forms is the introduction of the placeholder attribute for input elements. Previously if we wanted to include some placeholder text in an input field we&#8217;d have to either [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the attention for HTML5 has been given to the new elements and the use of video. However, one of the most useful features when creating forms is the introduction of the placeholder attribute for input elements.</p>
<p><span id="more-861"></span></p>
<p>Previously if we wanted to include some placeholder text in an input field we&#8217;d have to either use the value attribute or inject it using JavaScript, neither of which are the most accessible.</p>
<p>With HTML5 though, we can now use a new placeholder attribute to add text to the input field using the following:</p>
<p><code>&lt;input type="email" id="input-email" placeholder="Enter your email address"&gt;</code></p>
<h2>Placeholder Attribute Browser Support</h2>
<p>The latest versions of Firefox, Safari, Google Chrome and Opera all support the placeholder attribute. However, IE9 and below have no support for the placeholder text so it&#8217;s important to consider how input fields will appear on those IE browsers.</p>
<p>I&#8217;d fully expect IE10 to support the placeholder attribute but for now and for the foreseeable future while older versions of IE are being phased out, we&#8217;ll need to implement a fallback.</p>
<h2>Using the Label Element</h2>
<p>Regardless of the HTML5 spec not requiring a label element to be associated with an input element, I still think it&#8217;s a good idea for accessibility purposes to include a label so it&#8217;s clear and easy to see what the form field does.</p>
<p><code>&lt;label for="input-email"&gt;Email Address&lt;/label&gt;<br />
&lt;input type="email" id="input-email" placeholder="Enter your email address"&gt;</code></p>
<h2>jQuery Placeholder Attribute</h2>
<p>As well as using the label element to clearly identify what the input does, I&#8217;d also consider using a jQuery solution so that anyone using IE that has JavaScript available will also see the placeholder text.</p>
<p>Daniel Stocks has written an excellent jQuery placeholder plugin which you can download from Github here:</p>
<ul>
<li><a href="https://github.com/danielstocks/jQuery-Placeholder">jQuery Placeholder Plugin</a></li>
</ul>
<p>All you need to do, is download the plugin (either the uncompressed or minified version) and include the following lines of HTML and JavaScript, making sure that the jQuery plugin has the correct path.</p>
<p><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"&gt;&lt;/script&gt;<br />
&lt;script src="jquery.placeholder.js"&gt;&lt;/script&gt;<br />
&lt;script&gt;<br />
    $('input[placeholder], textarea[placeholder]').placeholder();<br />
&lt;/script&gt;</code></p>
<h2>Summary</h2>
<p>And there you have it, a consistent appearance for the placeholder element across all browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/html5-placeholder-attribute/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML5 Article Element</title>
		<link>http://www.dave-woods.co.uk/index.php/html5-article-element/</link>
		<comments>http://www.dave-woods.co.uk/index.php/html5-article-element/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 09:02:47 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=829</guid>
		<description><![CDATA[This article in the HTML5 series covers the explanation and usage of the &#60;article&#62; element. If you’re new to HTML5 then you might want to start at the following link which will give you an overview and a simple template to get you started: HTML5 Tutorial. The Spec The article element represents a component of [...]]]></description>
			<content:encoded><![CDATA[<p>This article in the HTML5 series covers the explanation and usage of the &lt;article&gt; element.<br />
<span id="more-829"></span><br />
If you’re new to HTML5 then you might want to start at the following link which will give you an overview and a simple template to get you started: <a href="/index.php/html5-tutorial-getting-started/">HTML5 Tutorial</a>.</p>
<h2>The Spec</h2>
<blockquote><p>The article element represents a component of a page that consists of a self-contained composition in a document, page, application, or site and that is intended to be independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.</p></blockquote>
<h2>How to use the article element</h2>
<p>For standard content pages the &lt;article&gt; element is fairly self explanatory. You&#8217;d simply wrap the &lt;article&gt; element around your main content like the following example:</p>
<p><code>&lt;article&gt;<br />
&lt;header&gt;<br />
&lt;h1&gt;Heading&lt;/h1&gt;<br />
&lt;/header&gt;<br />
&lt;p&gt;Lectus aliquet penatibus ac mid nec elementum augue ridiculus nascetur? Cursus urna facilisis turpis aliquam porttitor, turpis egestas arcu, adipiscing nisi mus diam, cursus, urna scelerisque, nunc amet sociis elementum, placerat ac!&lt;/p&gt;<br />
&lt;p&gt;Sed, ac risus tincidunt scelerisque quis turpis a pulvinar amet? Aliquet cum porttitor integer enim odio non, tristique, duis nec dapibus integer&lt;/h1&gt;<br />
&lt;/article&gt;<br />
</code></p>
<p>That&#8217;s pretty straight forward but there are more subtle times that you&#8217;d use the &lt;article&gt; element. In order to determine when you should use it, I like to think of whether the article would make sense independently of the current site that it sits within. Would it make sense if it was published on its own as an RSS feed within someone&#8217;s feedreader for example? If it does then it should probably be an &lt;article&gt; if not then it&#8217;s more likely that you&#8217;ll need a &lt;section&gt;, &lt;aside&gt; or &lt;div&gt; depending on the type of content (I&#8217;ll cover these elements in another blog post).</p>
<h2>Other uses for the article element</h2>
<p>Another example of using this element would be to nest them within blog post comments as these could be treated as articles in there own right. For example:</p>
<p><code>&lt;article&gt;<br />
&lt;header&gt;<br />
&lt;h1&gt;Heading&lt;/h1&gt;<br />
&lt;p&gt;Published: &lt;time pubdate datetime="20011-01-15"&gt;15th January 2011&lt;/time&gt;&lt;/p&gt;<br />
&lt;/header&gt;<br />
&lt;p&gt;Lectus aliquet penatibus ac mid nec elementum augue ridiculus nascetur...&lt;/p&gt;<br />
&lt;section&gt;<br />
&lt;h2&gt;Comments&lt;/h2&gt;<br />
&lt;article&gt;<br />
&lt;header&gt;<br />
&lt;h3&gt;I like your article&lt;/h3&gt;<br />
&lt;p&gt;&lt;time pubdate datetime="20011-01-17"&gt;17th January 2011&lt;/time&gt;&lt;/p&gt;<br />
&lt;/header&gt;<br />
&lt;p&gt;Odio lundium nec, non scelerisque, velit lacus, sed dignissim aliquam tortor&lt;/p&gt;<br />
&lt;/article&gt;<br />
&lt;article&gt;<br />
&lt;header&gt;<br />
&lt;h3&gt;I like your article&lt;/h3&gt;<br />
&lt;p&gt;&lt;time pubdate datetime="20011-01-18"&gt;18th January 2011&lt;/time&gt;&lt;/p&gt;<br />
&lt;/header&gt;<br />
&lt;p&gt;Odio lundium nec, non scelerisque, velit lacus, sed dignissim aliquam tortor&lt;/p&gt;<br />
&lt;/article&gt;<br />
&lt;/section&gt;<br />
&lt;/article&gt;<br />
</code></p>
<p>Here you can see that everything is wrapped within the main &lt;article&gt; element but then the comments are wrapped with a &lt;section&gt; and within that are another couple of &lt;article&gt;&#8217;s for each of the blog comments.</p>
<p>Things like widgets and forum posts can also be handled in the same way. Just think that if you read the article independently of anything else on the page would it still make sense?</p>
<h2>Further reading</h2>
<p>There&#8217;s a couple of great articles on this subject available here:</p>
<ul>
<li><a href="http://html5doctor.com/the-article-element/">The Article Element by HTML5Doctor</a></li>
<li><a href="http://www.brucelawson.co.uk/2010/html5-articles-and-sections-whats-the-difference/">HTML5 articles and sections: what’s the difference?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/html5-article-element/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS Font Stacks</title>
		<link>http://www.dave-woods.co.uk/index.php/css-font-stacks/</link>
		<comments>http://www.dave-woods.co.uk/index.php/css-font-stacks/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 16:13:43 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=814</guid>
		<description><![CDATA[Web designers are often constrained by the so called &#8220;Web Safe Fonts&#8221; when creating web pages and whilst 95% of machines worldwide now have these fonts, they were first packaged with Windows XP back in 2001. As 2011 is quickly approaching are we still limited to these 10 web safe fonts or should we adapt [...]]]></description>
			<content:encoded><![CDATA[<p>Web designers are often constrained by the so called &#8220;Web Safe Fonts&#8221; when creating web pages and whilst 95% of machines worldwide now have these fonts, they were first packaged with Windows XP back in 2001. As 2011 is quickly approaching are we still limited to these 10 web safe fonts or should we adapt and use fonts within CSS that aren&#8217;t in this list of fonts?</p>
<p><span id="more-814"></span></p>
<p>Now before everyone jumps to the comments section, I&#8217;m fully aware that there are other solutions including <a href="http://www.css3.info/preview/web-fonts-with-font-face/">@font-face</a>, <a href="http://cufon.shoqolate.com/generate/">Cufon</a> and <a href="http://www.mikeindustries.com/blog/sifr">sIFR</a> but they create their own problems with regards to font licensing. But there is a solution for certain situations and that&#8217;s to use more intelligent CSS font stacks.</p>
<h2>What is a CSS font stack?</h2>
<p>Anyone that is used to creating CSS will be familiar with a font stack:</p>
<p><code>body { font-family: helvetica, arial, sans-serif; }</code></p>
<p>The browser will use helvetica if it&#8217;s available (usually Mac&#8217;s), if it&#8217;s not available then it will use Arial (most PC&#8217;s) and then if neither of those fonts exist it will use the system&#8217;s sans-serif font. This is a fairly common concept and is used all over the web and most designers will stick to using a combination of Andale, Arial, Arial Black, Comic Sans, Courier New, Georgia, Impact, Times New Roman, Trebuchet and Verdana.</p>
<p>However, as mentioned earlier, these fonts were bundled with Windows XP. We now have many users on more modern versions of Windows and common software (like Microsoft Office) which comes bundled with other fonts which are now common to many more machines.</p>
<h2>So we can use any font?</h2>
<p>Not exactly.</p>
<p>But what we can do is use a font that isn&#8217;t included in the web safe font list and provide alternative <strong>similar</strong> fonts for users who don&#8217;t have that font installed on their machine.</p>
<p>For example:</p>
<p><code>p { Baskerville, "Times New Roman", Times, serif; }</code></p>
<p>Nathan Ford created an excellent article on <a href="http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/">CSS font stacks</a> which has some great examples of using fonts by selecting your fonts using the following criteria:</p>
<p><code>font-family: ideal, alternative, common, generic</code></p>
<p>He also includes some great examples of good font stacks near the bottom of his post.</p>
<p>For more information on the use of certain typeface on different operating systems, <a href="codestyle.org/css/font-family/">codestyle.org/css/font-family/</a> has a ton of information and statistics on the subject.</p>
<h2>A word of warning</h2>
<p>Using font stacks isn&#8217;t just a case of picking fonts that look similar in style as letter spacing and sizing can vary significantly between certain fonts so it is always worth testing out how each of the fonts will look in practice. If in doubt then Nathan Ford&#8217;s list at the link above is a great starting point.</p>
<p>Also make sure that you set a client&#8217;s expectation right from the beginning. A lot of clients will be used to the way that print design works and therefore when you show the design using one font and the functional website uses a slightly different font due to the &#8220;ideal&#8221; font not being available on their machine, it can create some interesting and unwanted debate at the end of the project so I&#8217;d always advise any designer who is planning on using this method to be upfront right from the start and make sure that the client understands that the web is interactive and not all users will have exactly the same experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/css-font-stacks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>HTML5 Nav Element</title>
		<link>http://www.dave-woods.co.uk/index.php/html5-nav-element/</link>
		<comments>http://www.dave-woods.co.uk/index.php/html5-nav-element/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 14:57:19 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=774</guid>
		<description><![CDATA[This article in the HTML5 series covers the explanation and usage of the &#60;nav&#62; element. Nav Element Specification The HTML5 specification defines the &#60;nav&#62; element as: The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links. Not all groups of links on a [...]]]></description>
			<content:encoded><![CDATA[<p>This article in the HTML5 series covers the explanation and usage of the &lt;nav&gt; element.</p>
<p><span id="more-774"></span></p>
<h2>Nav Element Specification</h2>
<p>The HTML5 specification defines the &lt;nav&gt; element as:</p>
<blockquote><p>The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links. Not all groups of links on a page need to be in a nav element only sections that consist of major navigation blocks are appropriate for the nav element. In particular, it is common for footers to have a list of links to various key parts of a site, but the footer element is more appropriate in such cases, and no nav element is necessary for those links.</p></blockquote>
<h2>How to use the &lt;nav&gt; element?</h2>
<p>The &lt;nav&gt; element should surround blocks of content that act as links to other parts of the site:</p>
<p><code>&lt;nav&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/nav&gt; </code></p>
<h2>Where to use the &lt;nav&gt; element?</h2>
<p>The spec hasn&#8217;t completely been defined at the moment but my understanding is that you should use the &lt;nav&gt; element anywhere that you would consider to be the main way that a user navigates thoughout your site, these might include.</p>
<ul>
<li>Primary navigation</li>
<li>Secondary navigation (or navigation that supplements the current content)</li>
<li>Breadcrumbs</li>
<li>Pagination (previous/next buttons)</li>
</ul>
<p>At the moment it is a little open to how the author of the HTML document interprets the specification and I&#8217;m sure over the next year or so it will become common practice to use the &lt;nav&gt; element in a specific way. Maybe using the &lt;nav&gt; element for site wide navigation will become the default method for using this element but for now I&#8217;ll be using it wherever there are large chunks of navigation present within a document.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/html5-nav-element/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML5 Header Element</title>
		<link>http://www.dave-woods.co.uk/index.php/html5-header-element/</link>
		<comments>http://www.dave-woods.co.uk/index.php/html5-header-element/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 14:43:41 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=764</guid>
		<description><![CDATA[This article in the HTML5 series covers the explanation and usage of the &#60;header&#62;  element. If you&#8217;re new to HTML5 then you might want to start at the following link which will give you an overview and a simple template to get you started: HTML5 Tutorial. Header element as the page header The first place that [...]]]></description>
			<content:encoded><![CDATA[<p>This article in the HTML5 series covers the explanation and usage of the &lt;header&gt;  element.</p>
<p><span id="more-764"></span></p>
<p>If you&#8217;re new to HTML5 then you might want to start at the following link which will give you an overview and a simple template to get you started: <a href="http://www.dave-woods.co.uk/index.php/html5-tutorial-getting-started/">HTML5 Tutorial</a>.</p>
<h2>Header element as the page header</h2>
<p>The first place that I use the HTML5 &lt;header&gt; element is for the page header which might contain a  logo, navigation and any other consistent elements that might be considered the page header:</p>
<p><code>&lt;header&gt;<br />
&lt;a href="/" class="logo"&gt;&lt;img src="images/graphic-logo.gif" alt="Company Name"&gt;&lt;/a&gt;<br />
&lt;nav&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Portfolio&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/nav&gt;<br />
&lt;/header&gt;<br />
</code></p>
<p>Note: I&#8217;ve also included the HTML5 &lt;nav&gt; element within this example which I&#8217;ll cover in another article.</p>
<h2>Header element as the article header</h2>
<p>When using the &lt;header&gt; element you aren&#8217;t limited to the number of times you can use it so I&#8217;d also use it to markup the header for the actual document content.</p>
<p><code>&lt;header&gt;<br />
&lt;h1&gt;Article heading&lt;/h1&gt;<br />
&lt;p class="date"&gt;Posted on 3rd December 2010&lt;/p&gt;<br />
&lt;p class="author"&gt;By Dave Woods&lt;/p&gt;<br />
&lt;/header&gt; </code></p>
<h2>The hgroup element</h2>
<p>Currently in the HTML5 draft specification, the hgroup is mentioned and can be used to group a number of heading elements:</p>
<p><code>&lt;header&gt;<br />
&lt;hgroup&gt;<br />
&lt;h1&gt;Article heading&lt;/h1&gt;<br />
&lt;h2&gt;The sub heading for this article&lt;/h2&gt;<br />
&lt;/hgroup&gt;<br />
&lt;/header&gt; </code></p>
<p>Personally, I&#8217;m not sure why we would really need this extra hgroup element for the rare cases that two headings follow on from each other directly in the source code or what extra semantic value this could add to the document? I have a feeling this will probably get dropped before the final specification for HTML5 is released.</p>
<h2>Styling the header element</h2>
<p>It&#8217;s important to remember that browsers don&#8217;t currently implement any display information via CSS for the new HTML5 elements so for any element that should display as a block element, you&#8217;ll need to specify it as such.</p>
<p><code>header { display: block; }</code></p>
<p>Personally, I take it one step further as demonstrated in the <a href="http://www.dave-woods.co.uk/index.php/html5-css-reset/">HTML5 CSS Reset</a> article and use that to specify the display for these new elements straight away before I start using:</p>
<p><code>article, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section { display: block; }</code></p>
<p>You can either use that and apply it to your own CSS reset file or simply download the one that&#8217;s available at the above link and use that stylesheet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/html5-header-element/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HTML5 &#8211; CSS Reset</title>
		<link>http://www.dave-woods.co.uk/index.php/html5-css-reset/</link>
		<comments>http://www.dave-woods.co.uk/index.php/html5-css-reset/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 14:25:33 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=748</guid>
		<description><![CDATA[Over the coming weeks, I&#8217;m going to be writing a lot more articles on HTML5 which will go into detail and show how you can start using HTML5 elements today with progressive enhancement. To start this off though, you&#8217;ll need to use a new version of the CSS reset in order to view these new [...]]]></description>
			<content:encoded><![CDATA[<p>Over the coming weeks, I&#8217;m going to be writing a lot more articles on HTML5 which will go into detail and show how you can start using HTML5 elements today with progressive enhancement. To start this off though, you&#8217;ll need to use a new version of the CSS reset in order to view these new HTML5 elements correctly, even in the more modern standards compliant browsers.</p>
<p><span id="more-748"></span></p>
<ul>
<li><a href="http://www.dave-woods.co.uk/wp-content/uploads/2010/11/reset.css">Download HTML5 Reset.css</a></li>
</ul>
<h2>HTML5 Reset</h2>
<p><code>html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, hr<br />
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video<br />
{<br />
margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;<br />
}</code></p>
<p>If you&#8217;ve used Eric Meyer&#8217;s reset file then you&#8217;ll be familiar with a lot of what is included above as I used that as a starting point when I first started out with CSS and have adapted this file over the years to match my style.</p>
<h2>Remove Firefox Scrollbar Jump</h2>
<p><code>html { overflow-y: scroll; }</code></p>
<p>This is optional and won&#8217;t validate with a CSS2.1 validator, however it&#8217;s perfectly valid in CSS3 and I use it to force the vertical scrollbar to appear all the time in Firefox. Without it you may notice that shorter pages appear to jump when you navigate from a page that requires a scrollbar and one that doesn&#8217;t so I tend to include this within all my site.</p>
<h2>Remove Bullet Points</h2>
<p><code>ol, ul  { list-style: none; }</code></p>
<p>This simply removes the bullet points from ordered and unordered lists. Some people do this on an individual basis where they require it but personally I prefer to take them off and then just add them back in where I want them. You might be able to do this on a more global level by applying a styling for all lists within the article section of the page for example.</p>
<h2>Line Through the Del Element</h2>
<p><code>del 	{ text-decoration: line-through; }</code></p>
<p>The del element is used to show when part of a document has been changed and whilst nearly all browsers display this as a line-through by default it&#8217;s good practice to include this just to be double sure.</p>
<h2>Reset Tables</h2>
<p><code>table  { border-collapse: collapse; border-spacing: 0; }</code></p>
<p>This bit of CSS removes the border spacing and makes sure that the space between the table cells is completely removed by collapsing the borders.</p>
<h2>ABBR and DFN Elements</h2>
<p><code>abbr[title], dfn[title]  { border-bottom: 1px dotted; }</code></p>
<p>For the abbr and dfn reset I used the method used by <a href="http://html5doctor.com">HTML5doctor.com</a>&#8230;</p>
<blockquote><p>This way, the style will only appear if there is a title attribute on the element. This is primarily for accessibility. For example, we use abbr regularly on this site but don’t always include a title attribute. We think it’s safe to assume all of our readers (no matter what device they’re using) know what HTML stands for. We do still use the abbr element to make sure screen readers read the text as H-T-M-L rather than struggling to pronounce &#8220;HTML&#8221;.</p></blockquote>
<h2>HR element</h2>
<p><code>hr { display: block; height: 1px; border-top: 1px solid #ccc; margin:1em 0; }</code></p>
<p>This simply creates a consistent style for the horizontal rule element.</p>
<h2>Form Fields</h2>
<p><code>input, select { vertical-align: middle; }</code></p>
<p>This sets the form inputs so that they display nicely when inline. I&#8217;m also in the process of writing a form master CSS file to lay out forms in numerous different ways so that will be coming soon too.</p>
<h2>HTML5 Elements as Block Elements</h2>
<p><code>article, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section { display: block; }</code></p>
<p>Although modern browsers recognise the new HTML5 elements, they don&#8217;t display them as block elements which can cause a lot of problems when trying to style them unless you specifically apply block individually to these elements. Including this section within your CSS file solves this problem although in the future I suspect that browsers will display these elements as blocks anyway but at least for the time being you&#8217;ll need this.</p>
<h2>Resetting Fonts</h2>
<p><code>body, select, input, textarea { font: 0.625em/1 "Helvetica Neue", Arial, Helvetica, sans-serif; }<br />
body { color: #fff; background: #252525; }</code></p>
<p>This section is probably open for discussion as technically it probably shouldn&#8217;t be included within the reset.css file as you&#8217;d want to change it depending on the project whereas a reset.css file should probably be a standard file that you can just drop in and include within any project. However, I like to just reset the fonts to 10px here and set the body background colour, font colour and font so that it&#8217;s consistent across the sites.</p>
<h2>Summary</h2>
<p>This is just a starting point for your HTML5 CSS so once you&#8217;re happy that this all makes sense you might want to take a look at the <a href="http://www.dave-woods.co.uk/index.php/html5-tutorial-getting-started/">Getting Started with HTML5</a> tutorial that I wrote some time ago. It doesn&#8217;t go into too much detail but explains how you can start using HTML5 today using progressive enhancement with JavaScript to style HTML5 elements in older browsers.</p>
<p>Next up, I&#8217;ll be going into much more depth regarding each HTML5 element and explain how and where to use there new elements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/html5-css-reset/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Should Web Designers Drop IE6 Support?</title>
		<link>http://www.dave-woods.co.uk/index.php/should-web-designers-drop-ie6-support/</link>
		<comments>http://www.dave-woods.co.uk/index.php/should-web-designers-drop-ie6-support/#comments</comments>
		<pubDate>Wed, 19 May 2010 12:19:38 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=739</guid>
		<description><![CDATA[IE6 was released in August 2001 but despite being nearly nine years old, it is still the most common problem that web designers have when building a website. Is it finally time to drop support for the browser that is almost an antique in technology years? Sadly the answer isn&#8217;t quite black and white. Some [...]]]></description>
			<content:encoded><![CDATA[<p>IE6 was released in August 2001 but despite being nearly nine years old, it is still the most common problem that web designers have when building a website. Is it finally time to drop support for the browser that is almost an antique in technology years? Sadly the answer isn&#8217;t quite black and white.</p>
<p><span id="more-739"></span></p>
<p>Some designers have argued that IE6 is such an old browser now that we should drop support for it and completely disregard any testing or bug fixing to ensure that IE6 users are actually able to use the website. These designers have taken the assumption that if the page doesn&#8217;t display correctly then they&#8217;ll automatically realise that they need to upgrade and will happily start using IE8, Firefox or Google Chrome.</p>
<p>In an ideal world this would be the solution and we could all go on creating websites without bug fixing for IE6 and start using HTML5 and CSS3 without considering older browsers but sadly this isn&#8217;t the case and probably never will be.</p>
<h2>Can we force people to upgrade?</h2>
<p>Some designers have suggested that a message could be placed on the site which informs users that they need to upgrade in order to use the site but as this video shows, <a href="http://techcrunch.com/2009/06/17/yeah-what-is-a-browser-anyway/">many people don&#8217;t even know what a web browser is</a> and presumably see the &#8220;e&#8221; icon on their desktop as <em>the internet</em>.</p>
<p>If you run a site like Google, Facebook, Ebay or Youtube then you might get away with this kind of strategy but if you&#8217;re not lucky enough to be in this position then all you&#8217;ll end up doing is sending these users to your competition who <em>have</em> taken the time to fully support IE6.</p>
<h2>Why are people still using IE6?</h2>
<p>There&#8217;s a couple of reasons why people are still using IE6. The first is that people who bought PC&#8217;s and laptops until 2007 would have already had IE6 installed on their machine with Windows XP and as they don&#8217;t know any better will keep using it until they upgrade their PC which will presumably come with Windows 7 and IE8.</p>
<p>The other set of people are employees of corporate companies who don&#8217;t have the opportunity to choose what software they use while they&#8217;re at work. These companies control the software on a network level and force their employees to use IE6, usually because they know that their internal applications will continue to work whereas there&#8217;s an element of risk in them using more modern browsers especially when their applications have been built without web standards in mind and in some cases predate IE6.</p>
<h2>How many people use IE6?</h2>
<p>This is the question that doesn&#8217;t quite have a black and white answer as the number of IE6 users in the world is actually irrelevant when it comes to building websites. What does matter though is how many people are visiting <em>your</em> website using IE6.</p>
<p>You&#8217;ll tend to find that technology based websites have a lot less IE6 users than more mainstream websites. For example, this website has around 2% of visitors using IE6 whereas most of my other websites which are targeted at none technical people receive around 5%.</p>
<p>If your website is targeted at a non-technical audience or corporate employees then you&#8217;ll probably find that this number is even higher so the number of visitors to your website using IE6 is probably somewhere within the region of 1%-10%. This is why it&#8217;s important to use an analytics package like <a href="http://www.google.com/analytics">Google Analytics</a> so that you understand your audience.</p>
<h2>Should you still be supporting IE6?</h2>
<p>As frustrating as it is, in my personal opinion web designers should still be supporting IE6 while the number of visitors is substantial.</p>
<p>I also take the attitude that even though your client may not know about IE6, what happens when they proudly show one of their relatives their new website only to find out it appears broken to them? Where does this leave your reputation?</p>
<h2>How do you build a website for IE6?</h2>
<p>Once you get used to catering for IE6 then it really doesn&#8217;t take all that much longer to ensure that a website works in IE6. It can be troublesome at times but once you understand <a href="http://www.dave-woods.co.uk/index.php/ie6-css-bugs-and-fixes-explained/">IE6&#8242;s bugs and fixes</a> then you can implement the most common fixes as you&#8217;re working.</p>
<p>I&#8217;m also a fan of <a href="http://en.wikipedia.org/wiki/Progressive_enhancement">Progressive enhancement</a> so as long as the site is usable and content doesn&#8217;t appear out of place in IE6 then I wouldn&#8217;t worry too much about the site being pixel perfect as long as it is accessible and usable then you&#8217;ve achieved your objective.</p>
<h2>Summary</h2>
<p>A lot of designers in the community have already dropped support for IE6 and are refusing to develop for the old browser but personally I think it&#8217;s too early and a little irresponsible to disregard it completely without even considering the target audience of a website.</p>
<p>If a web designer doesn&#8217;t have any idea how many people will be visiting a website using IE6 how is it possible that they can blindly decide that they won&#8217;t support it? If there is evidence that by dropping support for IE6 that your client won&#8217;t lose business then that is perfectly acceptable but if that&#8217;s not the case then I&#8217;d always suggest supporting IE6.</p>
<p>What do you think? Are you still supporting IE6 when building websites or has the time come that you no longer even bother to test how your pages render in Internet Explorer 6 and if so why?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/should-web-designers-drop-ie6-support/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Google: Have they copied Bing.com?</title>
		<link>http://www.dave-woods.co.uk/index.php/google-have-they-copied-bing-com/</link>
		<comments>http://www.dave-woods.co.uk/index.php/google-have-they-copied-bing-com/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 17:17:46 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=731</guid>
		<description><![CDATA[Google very rarely make huge changes to their general search results but they&#8217;ve made substantial changes, particularly to their search results page recently, this article explains some of the changes as well as a few similarities with their competition. I&#8217;m not sure at this stage how many users they&#8217;ve rolled the latest version out to. [...]]]></description>
			<content:encoded><![CDATA[<p>Google very rarely make huge changes to their general search results but they&#8217;ve made substantial changes, particularly to their search results page recently, this article explains some of the changes as well as a few similarities with their competition.</p>
<p><span id="more-731"></span></p>
<p>I&#8217;m not sure at this stage how many users they&#8217;ve rolled the latest version out to. I know plenty of people who are still seeing the old version so for the benefit of everyone, here&#8217;s a screenshot.</p>
<p><img src="http://www.dave-woods.co.uk/wp-content/uploads/2010/04/google.gif" alt="" width="550" height="413" /></p>
<h2>Design</h2>
<p>The one thing that I initially wanted to see was how much of the redesign is a reaction to Microsoft launching Bing.com last year? I headed over to the <a href="http://www.bing.com/search?q=web+design&#038;go=&#038;form=QBRE&#038;filt=all&#038;qs=n&#038;sk=&#038;sc=8-10">Bing.com search results</a> and was a little shocked at how much of a rip off Google had done of the Bing search results.</p>
<p>I&#8217;m neither anti-Google or anti-Microsoft so this point isn&#8217;t at all politically motivated but Google have pretty much replicated the format of Bing.com and if the boot was on the other foot I&#8217;m sure people would be making a big deal of it.</p>
<p>Maybe as a designer, I&#8217;m being a bit overly sensitive and most people won&#8217;t notice but the links in the top left, top right, logo placement, search box, filters and search results are all in exactly the same positions. I would have expected Google to have come up with something a bit more ground-breaking and original. It&#8217;s entirely possible that both companies invested heavily in usability testing and this was the design that both came up independently of each other and it&#8217;s just a huge coincidence that they look the same?</p>
<p>However, after the initial disappointment of there not being anything new in terms of the design, I was pleasantly impressed by the new Google interface&#8230;</p>
<h2>Search Results Layout</h2>
<p>The search results format is the usual tried and tested method of sponsored results at the top with organic&#8217;s underneath and further sponsored links down the right. Google obviously saw no reason to change what is obviously proving to be a successful method of presenting search results.</p>
<h2>Location Specific</h2>
<p><img src="http://www.dave-woods.co.uk/wp-content/uploads/2010/04/google1.gif" alt="" width="550" height="138" /></p>
<p>Google have introduced a new &#8220;Auto-detect Location&#8221; feature below the search box which should default to your current location but is also easy to customise by entering a postcode or other location which is a nice feature if you&#8217;re looking for local search results.</p>
<h2>Filters</h2>
<p>The big improvement from Google though which none of their current competition can rival is the filters in the left column. Now it couldn&#8217;t be easier to view blogs, images, books, news, videos, maps, social media updates and discussions. But not only that, you can now also view results that are time specific so viewing results from the past 24 hours, week, month or year is easy if you&#8217;re looking for information that can easily date.</p>
<h2>How will the new Google design effect SEO?</h2>
<p>It&#8217;s probably safe to say that the Google algorithm itself hasn&#8217;t changed all that much so continue to write good, original content and market it in the same way that you always have for the search engines. However, there is definitely more emphasis now on new content so it&#8217;s probably never been more important to make sure that you keep providing fresh and useful content for your website to ensure that you&#8217;re at the forefront of any time dependent search.</p>
<p>What do you think to the new Google search results?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/google-have-they-copied-bing-com/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>13 Google Chrome Extensions for a Web Designer</title>
		<link>http://www.dave-woods.co.uk/index.php/13-google-chrome-extensions-for-a-web-designer/</link>
		<comments>http://www.dave-woods.co.uk/index.php/13-google-chrome-extensions-for-a-web-designer/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 10:08:36 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=725</guid>
		<description><![CDATA[As some of you who follow my Twitter feed or Facebook page will already know, I&#8217;ve recently switched to Google Chrome. I&#8217;ve been reluctant to switch from Firefox for a long time purely because of my huge admiration for Firebug and the Web Developer Toolbar, however that&#8217;s all changed thanks to the Google Chrome Extensions [...]]]></description>
			<content:encoded><![CDATA[<p>As some of you who follow my <a href="http://twitter.com/dave_woods/">Twitter feed</a> or <a href="http://www.facebook.com/pages/Dave-Woods-Freelance-Web-Designer/337082553068">Facebook page</a> will already know, I&#8217;ve recently switched to Google Chrome. I&#8217;ve been reluctant to switch from Firefox for a long time purely because of my huge admiration for Firebug and the Web Developer Toolbar, however that&#8217;s all changed thanks to the Google Chrome Extensions in this post.</p>
<p><span id="more-725"></span></p>
<h2>Google Chrome Extensions</h2>
<h3><a href="https://chrome.google.com/extensions/detail/bmagokdooijbeehmkpknfglimnifench">Firebug Lite 1.3.0</a></h3>
<p>Firebug for Google Chrome isn&#8217;t quite up to a par with the Firefox version but the beta version isn&#8217;t that far off. I&#8217;ve also not found a way to see the line number in the CSS which would be really useful but it&#8217;s certainly not a reason for me to continue using Firefox anymore.</p>
<h3><a href="https://chrome.google.com/extensions/detail/gbkffbkamcejhkcaocmkdeiiccpmjfdi">Pendule</a></h3>
<p>The Firefox Web Developer Toolbar was one of the first extensions I used for Firefox and was a great tool for debugging problems. I don&#8217;t use it as much since the release of Firebug but it still has some useful features. Pendule for Google Chrome does replicate some of these features and especially useful is the ability to switch off images and CSS so this is another must have tool for any web designer using Chrome.</p>
<h3><a href="https://chrome.google.com/extensions/detail/idhfcdbheobinplaamokffboaccidbal">Resolution Test</a></h3>
<p>Unfortunately one of the things missing from Pendule is the ability to resize the browser window to a specific size at the click of a button. However, the Resolution Test extension makes that easy and also allows you to launch a number of browser window sizes in separate windows which is a pretty nice feature.</p>
<h3><a href="https://chrome.google.com/extensions/detail/ckibcdccnfeookdmbahgiakhnjcddpki">Webpage Screenshot</a></h3>
<p>I was using Fireshot within Firefox to quickly take screenshots but the Webpage Screenshot extension provides the same functionality for Google Chrome and in my opinion is a little more usable.</p>
<h3><a href="https://chrome.google.com/extensions/detail/ajpgkpeckebdhofmmjfgcjjiiejpodla">Xmarks Bookmarks Sync</a></h3>
<p>I previously used Xmarks within Firefox so having this available in Chrome was a bonus. Xmarks simply allows you to synchronise bookmarks across different computers and different browsers which is very useful if you want to bookmark something at work and then have it available on your home PC or laptop.</p>
<h3><a href="https://chrome.google.com/extensions/detail/encaiiljifbdbjlphpgpiimidegddhic">Chromed Bird</a></h3>
<p>I&#8217;ve been using <a href="http://www.tweetdeck.com/">Tweet Deck</a> for most of my Twitter updates but having this available quickly and easily from within my web browser is extremely handy.</p>
<h3><a href="https://chrome.google.com/extensions/detail/chieodlkhimccchlojdmiondhiggkhmf">ChromeMilk</a></h3>
<p>I use <a href="http://www.rememberthemilk.com">Remember the Milk</a> as a daily task list. I&#8217;ve previously been using the desktop app but having an extension within the browser itself is a little time saver. You&#8217;ll need to register for free on the Remember the Milk website but if managing your tasks across different PCs or mobile devices would be useful for you then this is definitely something to consider.</p>
<h3><a href="https://chrome.google.com/extensions/detail/hmdcmlfkchdmnmnmheododdhjedfccka">Eye Dropper</a></h3>
<p>The Eye Dropper extension is a simple colour picker which allows you to select any area on a web page to see what colour is being used.</p>
<h3><a href="https://chrome.google.com/extensions/detail/dmpfoncmmihgkooacnplecaopcefceam">Lorem Ipsum</a></h3>
<p>Most designers will use latin text within an initial design before the content has been written and this simple extension quickly launches a new tab containing latin text. You can specify number of words per paragraph and number of paragraphs very easily to quickly create that placeholder text.</p>
<h3><a href="https://chrome.google.com/extensions/detail/mihcahmgecmbnbcchbopgniflfhgnkff">Google Mail Checker</a></h3>
<p>This extension adds a little icon to the toolbar which notifies you if you have any email in your gmail account. Clicking it will jump to your gmail tab if you already have gmail open or will launch a new tab if you don&#8217;t, simple but a little bit of a time saver for checking your email.</p>
<h3><a href="https://chrome.google.com/extensions/detail/oangcciaeihlfmhppegpdceadpfaoclj">Chrome SEO</a></h3>
<p>Useful little tool for viewing number of pages indexed by the major search engines, number of backlinks, traffic, bookmarks on social media sites and few other useful snippets of information. Obviously it&#8217;s not the total solution to SEO but a nice summary of information.</p>
<h3><a href="https://chrome.google.com/extensions/detail/oeahddlmhbcabnnojadgimmiaaplfpfo">Mini Google Maps</a></h3>
<p>This probably shouldn&#8217;t really make it onto a useful extension for web developers but I find it useful so thought I&#8217;d share it anyway. It&#8217;s basically just a mini version of Google Maps that pops up from your toolbar which you can use to look at a location or get directions from one place to another. Again it&#8217;s not a huge time saver but having a little icon that you can click to quickly launch Google Maps without even having to launch a new tab is pretty cool.</p>
<h3><a href="https://chrome.google.com/extensions/detail/pneoplpmnpjoioldpodoljacigkahohc">PageRank</a></h3>
<p>Any good SEO expert will tell you that purely chasing PageRank isn&#8217;t a good SEO strategy but it&#8217;s still something that I like to have at hand. This extension simply provides a small bar that provides PageRank information.</p>
<h2>Summary</h2>
<p>I&#8217;m sure that there&#8217;s many more extensions that can provide value to web designers so please feel free to share any other ones that I&#8217;ve missed off the list in the comments below.</p>
<p>I&#8217;d also be interested to hear if you&#8217;ve switched to Google Chrome or your reasons for using your current browser?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/13-google-chrome-extensions-for-a-web-designer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>IE9 Preview</title>
		<link>http://www.dave-woods.co.uk/index.php/ie9-preview/</link>
		<comments>http://www.dave-woods.co.uk/index.php/ie9-preview/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 10:23:04 +0000</pubDate>
		<dc:creator>Dave Woods</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=721</guid>
		<description><![CDATA[Microsoft have made their first preview for Internet Explorer 9 available for testing. At this stage I&#8217;m pretty impressed with the progress they&#8217;re making but what can you expect from the new browser? If you&#8217;re a developer then you can download the IE9 test drive package below: Internet Explorer 9 Test Drive At the moment [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft have made their first preview for Internet Explorer 9 available for testing. At this stage I&#8217;m pretty impressed with the progress they&#8217;re making but what can you expect from the new browser?</p>
<p><span id="more-721"></span></p>
<p><img src="http://www.dave-woods.co.uk/wp-content/uploads/2010/03/ie1.jpg" alt="" width="550" height="353" /></p>
<p>If you&#8217;re a developer then you can download the IE9 test drive package below:</p>
<ul>
<li><a href="http://ie.microsoft.com/testdrive/">Internet Explorer 9 Test Drive</a></li>
</ul>
<p>At the moment this is a very early version of IE9 and as such does not include the interface but it does include the new rendering engine which includes improved HTML5 and CSS3 support plus a new Microsoft JavaScript engine.</p>
<p>According to reports, Microsoft will be releasing other preview builds every eight weeks but as yet no time frame has been announced for the final release of IE9 which is frustrating.</p>
<p>It&#8217;s great news that IE9 will finally support CSS3 but I am a little concerned that they appear to be simply adopting border-radius without any prefix as if it&#8217;s their decision to decide the CSS3 specification. Mozilla and Webkit both have prefixes until the standards have been defined so why should IE9 be any different?</p>
<p>I think this sets a dangerous precedent where other browsers may have to follow what IE9 has done purely because they have the market share and less knowledgable web designers have implemented CSS3 specifically for IE9 without testing on other browsers.</p>
<p>It&#8217;s good to see that Microsoft are continuing to improve the browser but is still frustrating that it takes so long for them to implement new features and release a browser that they seem to be playing catch up with the Safari and Firefox browsers continuously.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dave-woods.co.uk/index.php/ie9-preview/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

