<?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>DigiKev &#187; sexy stylesheets</title>
	<atom:link href="/tag/sexy-stylesheets/feed/" rel="self" type="application/rss+xml" />
	<link>http://digikev.co.uk</link>
	<description>Building experiences &#124; Web design, interface design, information architecture and user experience</description>
	<lastBuildDate>Thu, 05 Nov 2009 22:06:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Working Smarter: Standardise your code</title>
		<link>http://digikev.co.uk/14-10-2009/working-smarter-standardise-code/</link>
		<comments>http://digikev.co.uk/14-10-2009/working-smarter-standardise-code/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 06:53:40 +0000</pubDate>
		<dc:creator>Kevin Rapley</dc:creator>
				<category><![CDATA[Web design]]></category>
		<category><![CDATA[working smarter]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[semantics]]></category>
		<category><![CDATA[sexy stylesheets]]></category>
		<category><![CDATA[standardise code]]></category>

		<guid isPermaLink="false">http://digikev.co.uk/?p=377</guid>
		<description><![CDATA[In my previous post about keeping a code snippets library I eluded to the fact that within this file structure I had created a number of HTML skeletons which give me a basis for beginning a new project.  It removes the medial task of creating a container &#60;div&#62; and the usual suspects of a [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post about keeping a code snippets library I eluded to the fact that within this file structure I had created a number of <abbr title="Hyper Text Markup Language">HTML</abbr> skeletons which give me a basis for beginning a new project.  It removes the medial task of creating a container <code>&lt;div&gt;</code> and the usual suspects of a header region <code>&lt;div id=&quo;header&quo; /&gt;</code>, content area <code>&lt;div id=&quo;content&quo; /&gt;</code> and <code>&lt;div id=&quo;footer&quo; /&gt;</code>.  I tab indent my code for easy scanning too so shaving off the few minutes laying these out correctly along with other items that may get missed within your <code>&lt;head&gt;</code> such as common <code>&lt;meta&gt;</code>.  I took my skeletons a bit further by adding in unordered list items for the menu area, aside and footer.  These may not all be used but it is quicker to delete than it is to type.<br />
<span id="more-377"></span><br />
Beginning in this way means I’ll use the same taxonomy for the naming convention of classes and ID’s across multiple projects.</p>
<p>I also work in the same manner for my global <abbr title="Cascading Style Sheets">CSS</abbr> document.  I keep this stylesheet semantically written and looking very tidy, grouped by the regions within the <abbr title="Hyper Text Markup Language">HTML</abbr> markup, so, for instance ‘Header’, ‘Content’, ‘Footer’.  Within a commented area at the top of the document I detail this structure and other useful document meta data such as the colours used in the design, when I wrote the document and when amendments have been made.  Rather than going into too much detail on this I will instead direct you toward <a href="http://carsonified.com/blog/features/design/creating-sexy-stylesheets/" rel="external">Jina Bolton’s extensive post on creating sexy stylesheets</a>.</p>
<p>So how does this help? If you’re working alone then it means that you’ll be standardising your working convention which will help when you return to projects in the future for amendments and updates.  You’ll instantly be familiar with the code and its structure.  Employ this in an agency environment or within a team of designers and you can pick up each others projects safe in the knowledge that it will be familiar too.</p>
<p>I have been working in this way now for around 2-3 years and I wouldn’t go back.  Of course there will be the odd project that breaks convention and has to be structured in a different way in order to make it behave – in these instances try to keep to the usual formatting style as closely as possible and comment your code well for the abnormalities.</p>
]]></content:encoded>
			<wfw:commentRss>http://digikev.co.uk/14-10-2009/working-smarter-standardise-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

