<?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>Don't Click On Me &#187; HTML</title>
	<atom:link href="http://dontclickonme.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://dontclickonme.com</link>
	<description>My Personal Hub...</description>
	<lastBuildDate>Thu, 07 Jan 2010 19:08:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rejected Don&#8217;t Click On Me theme</title>
		<link>http://dontclickonme.com/2009/01/rejected-dont-click-on-me-theme/</link>
		<comments>http://dontclickonme.com/2009/01/rejected-dont-click-on-me-theme/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 17:00:58 +0000</pubDate>
		<dc:creator>Felix</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://dontclickonme.com/?p=118</guid>
		<description><![CDATA[Feel free to use anything in there under the creative commons licence (see the link in the sidebar). Beware: Blueprint CSS framework is included in the bundle, I believe I am allowed to distribute it with this template, but it is covered under a different licence (not the creative commons). There is a screenshot below [...]]]></description>
			<content:encoded><![CDATA[<p>Feel free to use anything in there under the creative commons licence (see the link in the sidebar). Beware: Blueprint CSS framework is included in the bundle, I believe I am allowed to distribute it with this template, but it is covered under a different licence (not the creative commons). There is a screenshot below or you can download the zip <a href="http://dontclickonme.com/wp-content/uploads/2009/01/design-dontclickonme.zip">here</a>.</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot1.png"><img class="aligncenter size-medium wp-image-120" title="screenshot1" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot1-300x219.png" alt="screenshot1" width="300" height="219" /></a></p>
<p>This design is here for download because I chose not to use it for this website, if you can find a use for it, you can have it, and change it as you like, also, feel free to remove my name from the bottom.</p>
]]></content:encoded>
			<wfw:commentRss>http://dontclickonme.com/2009/01/rejected-dont-click-on-me-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development with The Gimp and Blueprint CSS &#8211; Part 3</title>
		<link>http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css-part-3/</link>
		<comments>http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css-part-3/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 17:00:48 +0000</pubDate>
		<dc:creator>Felix</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[walkthrough]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://dontclickonme.com/?p=86</guid>
		<description><![CDATA[First things first, buckle your seatbelts, this is going to be a long one. It concludes the three part tutorial (Part 1, Part 2). We&#8217;re going to write the code to make the design happen, this includes putting in some dummy text, and at the end, we will have a working design, that could be [...]]]></description>
			<content:encoded><![CDATA[<p>First things first, buckle your seatbelts, this is going to be a long one. It concludes the three part tutorial (<a href="http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css/">Part 1</a>, <a href="http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css-part-2/">Part 2</a>). We&#8217;re going to write the code to make the design happen, this includes putting in some dummy text, and at the end, we will have a working design, that could be converted into a WordPress theme. (future tutorial?).</p>
<p>Anyway, first we are going to fill out the index.html file with some standard HTML and the code needed to call blueprint into action, (there will be a download later on in the post if you can&#8217;t be bothered to fill out the file yourself):</p>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Our Design&lt;/title&gt;

&lt;<span class="start-tag">link</span><span class="attribute-name"> rel</span>=<span class="attribute-value">"stylesheet" </span><span class="attribute-name">href</span>=<span class="attribute-value">"blueprint/screen.css" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/css" </span><span class="attribute-name">media</span>=<span class="attribute-value">"screen, projection"</span>&gt;
&lt;<span class="start-tag">link</span><span class="attribute-name"> rel</span>=<span class="attribute-value">"stylesheet" </span><span class="attribute-name">href</span>=<span class="attribute-value">"blueprint/print.css" </span><span class="attribute-name">type</span>=<span class="attribute-value">"text/css" </span><span class="attribute-name">media</span>=<span class="attribute-value">"print"</span>&gt;
<span class="comment">&lt;!--[if IE]&gt;&lt;link rel="stylesheet" href="blueprint/ie.css" type="text/css" media="screen, projection"&gt;&lt;![endif]--&gt;</span>

&lt;!-- this needs to be after the framework --&gt;
&lt;link rel="stylesheet" href="style.css" type="text/css" media="screen" /&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;<span class="start-tag">div</span><span class="attribute-name"> class</span>=<span class="attribute-value">"container"</span>&gt;

&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
<span id="more-86"></span></pre>
<p>I&#8217;m going to describe the important lines to you:</p>
<ul>
<li>On the 4th line we have a link to our custom stylesheet, it&#8217;s currently empty, so it will have no effect on the page yet.</li>
<li>On the 6th, 7th and 8th lines we have the standard blueprint call, and one line that fixes the framework for IE.</li>
<li>On the 12th and 14th lines we have the main div class that holds all of the blueprint columns etc. This can be changed to &lt;div class=&#8221;container showgrid&#8221;&gt; to make it show the grid in the background, which is very useful for laying out custom web layouts.</li>
<li>All of the rest is standard HTML and should make some sense.</li>
</ul>
<p>We are now going to put in the columns to blueprint, so within the &lt;div class=&#8221;container&#8221;&gt; and the &lt;/div&gt; tags we add:</p>
<pre>&lt;div id="header" class="prepend-2 span-22"&gt;
&lt;/div&gt;

&lt;div id="bg" class="span-24"&gt;
&lt;div id="content" class="prepend-2 span-14 append-1"&gt;
&lt;/div&gt;
&lt;div id="sidebar" class="span-5 append-2 last"&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id="footer" class="span-24"&gt;
&lt;/div&gt;</pre>
<p>All of these &lt;div&gt; tags have an id and a class value, this allows us to separate the styles out, all of the classes we use are part of blueprint and all of the id tags will refer to custom code we will write in the end. The key thing to remember is that there are always 24 columns.</p>
<p>The class=&#8221;span-24&#8243; or similar shows how wide the column should be, and there is also an example that columns can be nested within others to keep them together. Spacing can be added easily with the prepend or append values in the class variable (?).</p>
<p>We add some dummy content to this:</p>
<pre>&lt;div id="header" class="prepend-2 span-22"&gt;
&lt;h1&gt;Our Website&lt;/h1&gt;
&lt;p&gt;And this is what we do&lt;/p&gt;
&lt;/div&gt;

&lt;div id="bg" class="span-24"&gt;
&lt;div id="content" class="prepend-2 span-14 append-1"&gt;
&lt;h2&gt;Content&lt;/h2&gt;
&lt;p&gt;this is a paragraph. Not a very long one but still, it's here...&lt;/p&gt;
&lt;h3&gt;Sub-content&lt;/h3&gt;
&lt;p&gt;This is a paragraph belonging to the sub content, no stealing.&lt;/p&gt;
&lt;/div&gt;
&lt;div id="sidebar" class="span-5 append-2 last"&gt;
&lt;h3&gt;links&lt;/h3&gt;
&lt;p&gt;hello&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id="footer" class="span-24"&gt;
&lt;/div&gt;</pre>
<p>Now when we load our index in a web browser it should show some text roughly laid out as we want, but there are no heights added to anything so it will look squashed and may not show well until we write in out own code. It should look like this:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot.png"><img class="aligncenter size-medium wp-image-103" title="screenshot" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-300x97.png" alt="screenshot" width="300" height="97" /></a></p>
<p>Notice how Blueprint has automatically set some sensible text defaults, i&#8217;m not going to change them, but it&#8217;s easy to do in your custom css file.</p>
<p>Now we can start to put something into out custom stylesheet, style.css. Put in the following code:</p>
<pre>body{
background-color:#ccc;
}

#header {
background:#fff url(img/header.png) 0 0 no-repeat;
height:150px;
min-height:150px;
}

#bg {
background:#fff url(img/content.png) 0 0 repeat-y;
}

#footer {
background:#0f1b1c url(img/footer.png) 0 0 no-repeat;
height:30px;
min-height:30px;
}

#copyright{
text-align:center;
}</pre>
<p>Now if we reload the page we have:</p>
<pre><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-1.png"><img class="aligncenter size-medium wp-image-104" title="screenshot-1" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-1-300x99.png" alt="screenshot-1" width="300" height="99" /></a></pre>
<p>Next we&#8217;re going to make all the text appear where we want it and change some colours and finer points, also we&#8217;re going to add the code to make the copyright notice show&#8230;</p>
<p>So we have added:</p>
<pre>#title {
padding-top:30px;
}

#title h1, #title p {
color:#fff;
}</pre>
<p>To the CSS file and:</p>
<pre>&lt;div id="copyright" class="span-24"&gt;
&amp;copy All of us
&lt;/div&gt;</pre>
<p>To the main index.html file, inside the div id=&#8221;bg&#8221; tags and after the sidebar.</p>
<p>The css at the top positions the title and makes the h1 and p aspects of the title white. The HTML adds another column containing our copyright notice (we have already aligned this to the center).</p>
<p>There we have it (sorry about my cursor being in the screenshot):</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-2.png"><img class="aligncenter size-medium wp-image-108" title="screenshot-2" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-2-300x131.png" alt="screenshot-2" width="300" height="131" /></a></p>
<p>Finished&#8230; You can download as a <a href="http://dontclickonme.com/wp-content/uploads/2009/01/website.zip">ZIP</a> or as a <a href="http://dontclickonme.com/wp-content/uploads/2009/01/websitetar.gz">.tar.gz</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css-part-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Web Development with The Gimp and Blueprint CSS &#8211; Part 1</title>
		<link>http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css/</link>
		<comments>http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 17:01:10 +0000</pubDate>
		<dc:creator>Felix</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[walkthrough]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://dontclickonme.com/?p=44</guid>
		<description><![CDATA[The GIMP is a popular FREE and open source image editing program, Blueprint CSS is a popular and also free CSS framework, it makes web layouts easy and chooses sensible style defaults on your web page. It is compatible with almost all modern browsers and makes designing a website easy and simple.
This first part contains [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gimp.org/">The GIMP</a> is a popular FREE and open source image editing program, <a href="http://blueprintcss.org/">Blueprint CSS</a> is a popular and also free CSS framework, it makes web layouts easy and chooses sensible style defaults on your web page. It is compatible with almost all modern browsers and makes designing a website easy and simple.</p>
<p>This first part contains how to set up the files and folders and create the image in the Gimp, the <a href="http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css-part-2/">second part</a> will contain how to slice up the image and save it, and the <a href="http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css-part-3/">third part</a> (out 14/01/09) will show how to write the code and finish up.</p>
<p>First, a little about my setup. I&#8217;m running Ubuntu 8.10 (64 bit version). I have GIMP 2.6, I also am going to be using Firefox 3. The Browser should not matter as Blueprint is tested and works in most modern browsers. I assume knowledge of your chosen OS, that you have the gimp installed and working, and that you know how to open an image in the gimp. It&#8217;s also useful if you know what some of the tools are called.</p>
<p>At the end of the three part tutorial you should have something like this in your web browser, with boxes for the content and sidebar etc.:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-2.png"><img class="aligncenter size-medium wp-image-108" title="screenshot-2" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-2-300x131.png" alt="screenshot-2" width="300" height="131" /></a></p>
<p><span id="more-44"></span></p>
<p>At the end of the first part you should have something vaguely like this in the gimp:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/template.png"><img class="aligncenter size-medium wp-image-76" title="template" src="http://dontclickonme.com/wp-content/uploads/2009/01/template-300x268.png" alt="template" width="300" height="268" /></a></p>
<p>For this project, I have one folder in my home directory, this will contain all the files to be uploaded, including all CSS, image and HTML files. It would be a good idea if you create one now.</p>
<p>To start with you need to download the latest version of blueprint from the <a href="http://www.blueprintcss.org/">Blueprint website</a>. Extract the archive and copy the &#8220;blueprint&#8221; folder from within the archive to the folder we have just made (in the home directory).</p>
<p>Next, create &#8220;index.html&#8221;, a blank file, &#8220;style.css&#8221;, also blank, and an image folder (I&#8217;m calling it &#8220;img&#8221;). The index.html file will hold the design when we&#8217;re finished. We have created our own style.css file to house custom colours etc. And the &#8220;img&#8221; folder will contain the images once we have sliced them.</p>
<p>It should look similar to this:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/folder.jpg"><img class="aligncenter size-medium wp-image-49" title="folder" src="http://dontclickonme.com/wp-content/uploads/2009/01/folder-300x102.jpg" alt="folder" width="300" height="102" /></a></p>
<p>Now you&#8217;re ready to open the Gimp and start making things&#8230; So, open the Gimp, create an image 950px wide and around 850px high (not crucial). Then drag out guides by clicking on the rulers (the guides with the numbers on, at the (left) side) and draging out to where you want the guide to go. It&#8217;s useful to zoom in to around 200% to do this, (view menu &gt;&gt; zoom &gt;&gt; 200%). You need to put one at 30 pixels out and one at 40, one at 70 and one at 80, do this right the way accross the page, see the image below if you are unsure. Or you can download <a href="http://dontclickonme.com/wp-content/uploads/2009/01/templ_blu-prnt2.xcf">one I made earlier</a>. Which is probably easier. If you made your own guides, your background will probably not be the same colour, this is not a problem, it will work just the same. There is a picture of what your screen should look like if you downloaded the &#8220;one I made earlier&#8221;.</p>
<p>The guides don&#8217;t technically serve a purpose in this tutorial, because I have given you the values of where to place things. But when you design your own websites they become very useful for aligning content and text. As well as that they help you check to see if you have done things right as we go along.</p>
<p>Don&#8217;t forget to save as you go along <img src='http://dontclickonme.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> , and when you&#8217;ve finished.</p>
<p>It should look like this (this picture does not include the toolbox or the layers dialogue, so there will be a little more to it on your screen).</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-1-layer-950x800-e28093-gimp.png"><img class="aligncenter size-medium wp-image-56" title="screenshot-templ_blu-prntxcf-20-rgb-1-layer-950x800-e28093-gimp" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-1-layer-950x800-e28093-gimp-300x288.png" alt="screenshot-templ_blu-prntxcf-20-rgb-1-layer-950x800-e28093-gimp" width="300" height="288" /></a></p>
<p>I have then created a new layer called Holder to put the design into:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-new-layer.png"><img class="aligncenter size-medium wp-image-58" title="screenshot-new-layer" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-new-layer-251x300.png" alt="screenshot-new-layer" width="251" height="300" /></a></p>
<p>Use the Align tool and click on the layer, little squares will appear in the corner of the layer. Click the button on the toolbox that has two arrows pointing into the middle (horizontally). The layer should move into the middle of the image.</p>
<p>I have then used the fill tool, to fill the layer with white, this is going to be our main content area. Although we are going to place the sidebar and the header on top of it.</p>
<p>Your image should now look like this (but there should be space at the bottom of yours, I need to re-screenshot this&#8230;):</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-2-layers-950x800-e28093-gimp.png"><img class="aligncenter size-medium wp-image-61" title="screenshot-templ_blu-prntxcf-20-rgb-2-layers-950x800-e28093-gimp" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-2-layers-950x800-e28093-gimp-300x288.png" alt="screenshot-templ_blu-prntxcf-20-rgb-2-layers-950x800-e28093-gimp" width="300" height="288" /></a>You may wish to fill the background, but it&#8217;s not mandatory. It is however, a good idea to fill the background if you are going to use my CSS code later. I&#8217;m going to use #cccccc to fill the background layer. Select the background layer (the layer at the bottom) by clicking on on it in the layers dialogue, and then clicking on the empty space near the edge to fill it. The yellow and black line will surround the layer and you can then then click on the layer to fill it. You need to have the colour selected first. Only the outside should look gery, the rest of the image will remain white.</p>
<p>I&#8217;m also going to create a drop shadow, which won&#8217;t show up particularly well, but will make it more interesting nevertheless. Click the Filters Menu &gt;&gt; Light and Shadow &gt;&gt; Drop Shadow. It will bring up the box below, make sure you use 0 as both the offset X and Y leave the colour and opacity and untick Allow Resizing. You need to have the layer you want to have the drop shadow selected and also bear in mind that in these screenshots the bottom 50px is chopped off. It should look like this before you hit ok:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-script-fu-drop-shadow.png"><img class="aligncenter size-medium wp-image-62" title="screenshot-script-fu-drop-shadow" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-script-fu-drop-shadow-300x263.png" alt="screenshot-script-fu-drop-shadow" width="300" height="263" /></a></p>
<p>The image window should now look something like this:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-3-layers-950x800-e28093-gimp.png"><img class="aligncenter size-medium wp-image-63" title="screenshot-templ_blu-prntxcf-20-rgb-3-layers-950x800-e28093-gimp" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-3-layers-950x800-e28093-gimp-300x288.png" alt="screenshot-templ_blu-prntxcf-20-rgb-3-layers-950x800-e28093-gimp" width="300" height="288" /></a></p>
<p>Now create another new layer called header, make it 870x wide and 150px high. Use the same technique we did earlier to move it into the centre (the &#8220;alignment tool&#8221;).</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-new-layer-1.png"><img class="aligncenter size-medium wp-image-65" title="screenshot-new-layer-1" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-new-layer-1-251x300.png" alt="screenshot-new-layer-1" width="251" height="300" /></a>Fill this new layer with a gradient of your choice, I&#8217;m using #0084ff and #81c5ff. You need to choose the Blend Tool (the Gradient Tool) and then click + drag to create the gradient (vertically to get the same effect as this one).</p>
<p>You can use these same techniques to position/colour/align other aspects of your page such as footer and sidebar, but for this tutorial we are not going to make them a different colour, we will define them with their allignment on the page later with Blueprint.</p>
<p>So far we have:</p>
<p><a href="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-4-layers-950x850-e28093-gimp.png"><img class="aligncenter size-medium wp-image-70" title="screenshot-templ_blu-prntxcf-20-rgb-4-layers-950x850-e28093-gimp" src="http://dontclickonme.com/wp-content/uploads/2009/01/screenshot-templ_blu-prntxcf-20-rgb-4-layers-950x850-e28093-gimp-300x284.png" alt="screenshot-templ_blu-prntxcf-20-rgb-4-layers-950x850-e28093-gimp" width="300" height="284" /></a></p>
<p>You can download the XCF file <a href="http://dontclickonme.com/wp-content/uploads/2009/01/template.xcf">here</a>.</p>
<p>I&#8217;ll see you in part 2 where we are going to chop the image up and save it ready for the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://dontclickonme.com/2009/01/web-development-with-the-gimp-and-blueprint-css/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
