<?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>CSS Tutorials &#187; beginners</title>
	<atom:link href="http://css-tutorials.co.uk/tutorials/beginners/feed/" rel="self" type="application/rss+xml" />
	<link>http://css-tutorials.co.uk</link>
	<description>Css tutorials the way they should be</description>
	<lastBuildDate>Sun, 04 Jul 2010 23:11:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Floats vs positioning</title>
		<link>http://css-tutorials.co.uk/floats-vs-positioning/</link>
		<comments>http://css-tutorials.co.uk/floats-vs-positioning/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 23:33:02 +0000</pubDate>
		<dc:creator>Gareth Gillman</dc:creator>
				<category><![CDATA[beginners]]></category>
		<category><![CDATA[floats]]></category>
		<category><![CDATA[positioning]]></category>

		<guid isPermaLink="false">http://css-tutorials.co.uk/?p=69</guid>
		<description><![CDATA[Which is better, floating or positioning? I answered this very question for someone on Webdesigner Forum so will run through my reply here but in more detail. Floating is the css method of telling an [...]]]></description>
			<content:encoded><![CDATA[<p>Which is better, floating or positioning?</p>
<p>I answered this very question for someone on <a href="http://www.webdesignerforum.co.uk">Webdesigner Forum</a> so will run through my reply here but in more detail.</p>
<p>Floating is the css method of telling an object to &#8220;stick&#8221; to the left or right side of the website. Floating is very basic but means it&#8217;s easier to keep an eye on what&#8217;s happening.</p>
<p>Positioning is more advanced and has many options. You can assign individual margins and even &#8220;sticky&#8221; an object. </p>
<p>The problem with positioning objects is that it can be highly confusing, as you can end up with objects placed all over the place.<br />
I only use positioning for elements that need to be placed where floating won&#8217;t help e.g. overlapping another object.</p>
<p>What do you recommend? Floats or positioning? and why? </p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Floats+vs+positioning+http://bit.ly/d7X6fA" title="Post to Twitter"><img class="nothumb" src="http://css-tutorials.co.uk/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://css-tutorials.co.uk/floats-vs-positioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vertically Centering a Website</title>
		<link>http://css-tutorials.co.uk/vertically-centering-a-website/</link>
		<comments>http://css-tutorials.co.uk/vertically-centering-a-website/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 23:08:22 +0000</pubDate>
		<dc:creator>Gareth Gillman</dc:creator>
				<category><![CDATA[General CSS]]></category>
		<category><![CDATA[beginners]]></category>

		<guid isPermaLink="false">http://css-tutorials.co.uk/?p=67</guid>
		<description><![CDATA[How often have you wanted to make your website appear in the middle of the users browser? Centering a website is quite simple, in your html create a div called wrapper and add some text [...]]]></description>
			<content:encoded><![CDATA[<p>How often have you wanted to make your website appear in the middle of the users browser?</p>
<p>Centering a website is quite simple, in your html create a div called wrapper and add some text e.g.</p>
<p><code></p>
<div id="wrapper">
 some text
</div>
<p></code></p>
<p>Now in your css add this,<br />
<code><br />
#wrapper {<br />
 width:960px;<br />
 margin:0 auto;<br />
 text-align:center;<br />
}<br />
</code></p>
<p>The width can be any amount as long as it&#8217;s less than 1200px (the most commonly used screen size of users). I have added the IE 6 fix. IE6 doesn&#8217;t like the margin: auto command so we need to add the text-align:center; command to combat this.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Vertically+Centering+a+Website+http://bit.ly/bgg3t5" title="Post to Twitter"><img class="nothumb" src="http://css-tutorials.co.uk/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://css-tutorials.co.uk/vertically-centering-a-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The three types of css stylesheets</title>
		<link>http://css-tutorials.co.uk/the-three-types-of-css-stylesheets/</link>
		<comments>http://css-tutorials.co.uk/the-three-types-of-css-stylesheets/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 22:59:42 +0000</pubDate>
		<dc:creator>Gareth Gillman</dc:creator>
				<category><![CDATA[General CSS]]></category>
		<category><![CDATA[beginners]]></category>

		<guid isPermaLink="false">http://css-tutorials.co.uk/?p=65</guid>
		<description><![CDATA[There are 3 ways recommended by the W3C to add styling to a markup language. You can use all 3 methods in your html document. External stylesheet This is the recommended method by me and [...]]]></description>
			<content:encoded><![CDATA[<p>There are 3 ways recommended by the W3C to add styling to a markup language. You can use all 3 methods in your html document.</p>
<p><strong>External stylesheet</strong><br />
This is the recommended method by me and many other professionals. The main bulk of the css stylesheet is kept in an external document. The document is called in the head of the html document. The document can be called anything but must end in the .css prefix, e.g. styles.css, some-random-file.css.</p>
<p>To call the stylesheet, we add the following code in between the two head tags in the html document.<br />
<code></p>
<link rel="stylesheet" type="text/css" href="styles.css" />
</code></p>
<p>The biggest advantage of using this method is the css is easily editable. You can link the stylesheet to as many files as you need. You can change the whole design of a whole website from one file.<br />
The css code is also clearer to understand and can also help a website load quicker. This is the recommended method as websites become bulkier and they rely more on CSS.</p>
<p><strong>Internal</strong><br />
This is the method recommended by many tutorial websites, but not by professionals. The css coding is inside the head tags of the html document. If your website uses a lot of css for the design, then this can add quite a few lines of coding to the document.</p>
<p>To use this method, we add the css code inside a style command, like the javascript command.</p>
<p><code><br />
 <script type="text/css">
  css code
 </script><br />
</code></p>
<p>This method is handy if the document uses it&#8217;s own styles e.g. a javascript image gallery. Less css code included using this method is better.</p>
<p><strong>Inline</strong><br />
This method is used quite a lot, as it is when using html. The earlier versions of html used this method to change the basic configurations of the website including fonts and colors.</p>
<p>The only time I recommend using this method is for adding some styling to a script, that cannot utliise stylesheets. This method isn&#8217;t recommended as it looks very untidy when reading through the code. </p>
<p>To use this method, we add a style command to an object, such as a paragraph.</p>
<p><code></p>
<p style="text-align:center;font-size:22px;font-color:#ffffff;font-weight:bold;">Text</p>
<p></code></p>
<p>All of the above examples are used by websites, the bottom 2 are used more by tutorial websites for ease of use. I always recommend the top option as it makes your html code look neater and makes it  easier to edit the css code.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=The+three+types+of+css+stylesheets+http://bit.ly/aMPjnf" title="Post to Twitter"><img class="nothumb" src="http://css-tutorials.co.uk/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://css-tutorials.co.uk/the-three-types-of-css-stylesheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is css?</title>
		<link>http://css-tutorials.co.uk/what-is-css/</link>
		<comments>http://css-tutorials.co.uk/what-is-css/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 22:29:22 +0000</pubDate>
		<dc:creator>Gareth Gillman</dc:creator>
				<category><![CDATA[General CSS]]></category>
		<category><![CDATA[beginners]]></category>

		<guid isPermaLink="false">http://css-tutorials.co.uk/?p=61</guid>
		<description><![CDATA[CSS or Cascading Style Sheets are a stylesheet language used to desribe the presentation of a document written in a markup language such as HTML (Hyper Text Mark up Language) or XML (Extensible Markup Language). [...]]]></description>
			<content:encoded><![CDATA[<p>CSS or Cascading Style Sheets are a stylesheet language used to desribe the presentation of a document written in a markup language such as HTML (Hyper Text Mark up Language) or XML (Extensible Markup Language).</p>
<p>CSS was designed primarily to seperate the markup code and the design. CSS provides more control and flexibility for the presentation of the markup. The main advantage of a seperate stylesheet is that multiple documents can share the same styling. This means a whole folder of documents (or known as a website) can change it&#8217;s whole appearance from one file.</p>
<p>The CSS specficifications are maintained by the W3C foundation. The W3C is a not for priofit organisation set up by the internet&#8217;s founder, Tim Berners-Lee. The W3C maintains the specifications for all the markup and stylesheet languages used in Websites. These include xml, html, xhtml and css.</p>
<p>The current CSS standard is CSS 2.1 but CSS 3 is imminent. CSS3 brings many new techniques to css that used to be left to images and javascript. CSS3 is only used on the most recent browsers, Mozilla Firefox 3.5, Opera 10, safari 3 (mostly mac based) and Google Chrome. Unfortunately all versions of Microsoft Internet Explorer don&#8217;t follow the Css3 standards, but hopefully a new version will.</p>
<p>CSS is a major part of website design and development so is a handy language to know.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=What+is+css%3F+http://bit.ly/c1HrI4" title="Post to Twitter"><img class="nothumb" src="http://css-tutorials.co.uk/wp-content/plugins/tweet-this/icons/tt-twitter-micro4.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://css-tutorials.co.uk/what-is-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
