﻿<?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>Jason Barton &#187; CSS</title>
	<atom:link href="http://www.jasonbarton.co.uk/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonbarton.co.uk</link>
	<description>Website Designer, Internet Host and Consultant</description>
	<lastBuildDate>Thu, 22 Sep 2011 18:00:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Bharat Express &#8211; four team sites for the Mongol Rally 2009</title>
		<link>http://www.jasonbarton.co.uk/2009/07/bharat-express-four-team-sites-for-the-mongol-rally-2009/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.jasonbarton.co.uk/2009/07/bharat-express-four-team-sites-for-the-mongol-rally-2009/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 16:24:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Website design]]></category>

		<guid isPermaLink="false">http://www.jasonbarton.co.uk/?p=367</guid>
		<description><![CDATA[Bharat Express is a group of 8 people, making up four teams competing in the Mongol Rally 2009. a journey from the UK to Mongolia. The teams are rasing money for several charities including Mercy Corps Mongolia and Christina Noble Children’s Foundation, Water for Kanakpar Project, and closer to home, Willen Hospice. The organiser of [...]]]></description>
			<content:encoded><![CDATA[<p>Bharat Express is a group of 8 people, making up four teams competing in the Mongol Rally 2009. a journey from the UK to Mongolia. The teams are rasing money for several charities including Mercy Corps Mongolia and Christina Noble Children’s Foundation, Water for Kanakpar Project, and closer to home, Willen Hospice.</p>
<p>The organiser of the event (<a title="Visit The Adventurists' Homepage" href="http://www.theadventurists.com/" target="_blank">The Adventurists</a>) provide each team with a basic website with a blog and other features. However Bharat Express were not happy with the look of these sites, and so appointed me to design a template to work with the organisers systems, and to advise and assist with other IT related matters.</p>
<p>My brief was to create four sites with a common look, but the headers for each were to be different &#8211; each header had to have a phot0 of that team&#8217;s car.</p>
<p>Speed was of the essence because the rally starts tomorrow (17th July), and whilst the template was designed, it took a while for the teams to give me the content to put on the four sites.</p>
<p>The job was a little tricky because it involved working out how to use The Adventurists web platform, and design the template using a mixture of CSS and HTML,  but I managed it, and both I and the teams are delighted with the results (see screenshot below).</p>
<div id="attachment_369" class="wp-caption aligncenter" style="width: 577px"><img class="size-full wp-image-369 " title="bharat_express_1_screenshot" src="http://www.jasonbarton.co.uk/wp-content/uploads/2009/07/bharat_express_1_screenshot.jpg" alt="bharat_express_1_screenshot" width="567" height="572" /><p class="wp-caption-text">Screenshot of the site for Bharat Express Team 1</p></div>
<p>Each team&#8217;s site had a similar design, apart from the headers which had to incorporate the car that particular team was driving (see below):</p>
<p><img class="aligncenter size-full wp-image-372" title="bharat_express_2_header" src="http://www.jasonbarton.co.uk/wp-content/uploads/2009/07/bharat_express_2_header.jpg" alt="bharat_express_2_header" width="433" height="164" /></p>
<p><img class="aligncenter size-full wp-image-370" title="bharat_express_3_header" src="http://www.jasonbarton.co.uk/wp-content/uploads/2009/07/bharat_express_3_header.jpg" alt="bharat_express_3_header" width="435" height="167" /></p>
<p><img class="aligncenter size-full wp-image-371" title="bharat_express_4_header" src="http://www.jasonbarton.co.uk/wp-content/uploads/2009/07/bharat_express_4_header.jpg" alt="bharat_express_4_header" width="437" height="165" /></p>
<p>In addition to the site design, I will be providing internet and technical support for the team whilst they are en-route to Mongolia. Their journey begins tomorrow from Goodwood Motor Circuit. If you would like to sponsor them please visit their gateway page (designed by another company unfortunately &#8211; they had this done before I got involved) at <a title="visit Bharat Express" href="http://www.bharatexpress.co.uk" target="_blank">www.bharatexpress.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbarton.co.uk/2009/07/bharat-express-four-team-sites-for-the-mongol-rally-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Page Backgrounds in CSS for beginners</title>
		<link>http://www.jasonbarton.co.uk/2009/05/coding-page-backgrounds-in-css-for-beginners/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.jasonbarton.co.uk/2009/05/coding-page-backgrounds-in-css-for-beginners/#comments</comments>
		<pubDate>Thu, 21 May 2009 17:51:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Techy Stuff]]></category>
		<category><![CDATA[Backgrounds]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.jasonbarton.co.uk/?p=267</guid>
		<description><![CDATA[Background images can add a lot to the visual impact of a webpage. In this post I will demonstrate using CSS how to: position a background image specify whether to repeat (tile) or show the image only once fix the background image so that it stays stationary when the page is scrolled Positioning a Background [...]]]></description>
			<content:encoded><![CDATA[<h4>Background images can add a lot to the visual impact of a webpage. In this post I will demonstrate using CSS how to:</h4>
<ul>
<li><a href="#Positioning a Background Image#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">position a background image</a></li>
<li>specify whether to <a href="#Repeat a Background Image#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">repeat (tile)</a> or <a href="#Show a Background Image Once#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">show the image only once</a></li>
<li><a href="#Fix a Background Image#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">fix the background image so that it stays stationary when the page is scrolled</a></li>
</ul>
<h2><a name="Positioning a Background Image"></a>Positioning a Background Image</h2>
<p>This snippet of CSS will place a background image at the top left of the browser screen:<br />
<code>#body {<br />
background-image:url('http://[URL OF YOUR BACKGROUND IMAGE HERE]');<br />
background-position: left top;<br />
}</code></p>
<p>The first term after background image specifies the x-axis position, and the second the y-axis. Using simple english, you can specify the position as follows:<br />
<code>background-position: left top;<br />
background-position: right bottom;<br />
background-position: center center;</code></p>
<p>or you can specify position in pixels: <code>background-position: 75px 25px;</code></p>
<p>or a percentage of the display size of the browser: <code>background-position: 30% 40%;</code></p>
<h2><a name="Repeat a Background Image"></a>Repeat a Background Image</h2>
<p>To repeat or tile a background image use the following code:  <br />
<code>#body {<br />
background-image:url('http://[URL OF YOUR BACKGROUND IMAGE HERE]');<br />
background-repeat: repeat;<br />
}<br />
</code></p>
<p>You can also repeat along the x-axis only using <code>repeat-x</code>, or along the y axiz only using <code>repeat-y</code></p>
<h2><a name="Show a Background Image Once"></a>Show a background image once only</h2>
<p>We use the code <code>background-repeat: no-repeat;</code> to specify that the background image should only be used once:<br />
<code>#body {<br />
background-image:url('http://[URL OF YOUR BACKGROUND IMAGE HERE]');<br />
background-repeat: no-repeat;<br />
}</code></p>
<h2><a name="Fix a Background Image"></a>Fix a Background Image</h2>
<p>So that the background image does not move when the page is scrolled, we use <code>background-attachment:fixed;</code>:</p>
<p><code>#body {<br />
background-image:url('http://[URL OF YOUR BACKGROUND IMAGE HERE]');<br />
background-attachment:fixed;<br />
}</code></p>
<h2>Combining the above</h2>
<p>We can of course combine various attributes to one image, for example:<br />
<code>#body {<br />
background-image:url('http://[URL OF YOUR BACKGROUND IMAGE HERE]');<br />
background-repeat: no-repeat;<br />
background-attachment:fixed;<br />
background-position:left bottom;<br />
}</code></p>
<h2>Note re embedded CSS vs Stylesheets</h2>
<p>I have assumed that you are embedding CSS in a style sheet rather than embedding CSS in your web-page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbarton.co.uk/2009/05/coding-page-backgrounds-in-css-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

