<?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 Float &#187; Tips</title>
	<atom:link href="http://www.cssfloat.com/category/css-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cssfloat.com</link>
	<description>CSS Float tips, tutorials. Learn CSS Float.</description>
	<lastBuildDate>Sun, 10 Jan 2010 19:49:49 +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>External Stylesheets</title>
		<link>http://www.cssfloat.com/external-stylesheets/</link>
		<comments>http://www.cssfloat.com/external-stylesheets/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 19:48:21 +0000</pubDate>
		<dc:creator>CSSFloat</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.cssfloat.com/?p=44</guid>
		<description><![CDATA[External style sheets are great for applying the same styles to multiple pages on a website. Unlike internal styles, which need to be added to every single page, external style sheets can be imported directly from a .css file. The .css file must be linked from within the &#60;head&#62; section of your web code.
Here&#8217;s the [...]]]></description>
			<content:encoded><![CDATA[<p>External style sheets are great for applying the same styles to multiple pages on a website. Unlike internal styles, which need to be added to every single page, external style sheets can be imported directly from a .css file. The .css file must be linked from within the &lt;head&gt; section of your web code.</p>
<p>Here&#8217;s the code to be placed between &lt;head&gt; and &lt;/head&gt;:</p>
<div class="csscode">&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;cssfloat.css&#8221; /&gt;</div>
<p>Replacing cssfloat.css with whatever you named the CSS file.</p>
<p>If you want to take a look at the external style sheet which was previously contolling the CSS on CSSFloat.com, here it is &#8211; http://www.cssfloat.com/cssfloat.css</p>
<p>You can create a CSS file using any basic text editor, like NotePad. Instead of saving the document as .txt, hit the drop menu and select all files. You can then type in whatever.css and save the document as a cascading style sheet.</p>
<h3>Benefits of External Style Sheets</h3>
<p>The biggest positive of using CSS in external style sheets is mentioned above. The ability to apply the same styles to multiple pages, and thus the ability to change the whole look of a website by altering one .css file.</p>
<p>Other benefits include less code on your pages. Removing all of the on-page styles will reduce your page size. Consequently your pages will load slightly faster, the code will be easier to edit in future and search engine spiders will appreciate your greater keyword density!</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.cssfloat.com/css-class-verus-id/" rel="bookmark">CSS - Class Verus ID</a></li><li><a href="http://www.cssfloat.com/css-float-left-example/" rel="bookmark">CSS Float Left Example</a></li><li><a href="http://www.cssfloat.com/css-style-tags/" rel="bookmark">CSS Style Tags</a></li><li><a href="http://www.cssfloat.com/css-float-right/" rel="bookmark">CSS Float Right</a></li><li><a href="http://www.cssfloat.com/css-float/" rel="bookmark">CSS Float</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.cssfloat.com/external-stylesheets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS Style Tags</title>
		<link>http://www.cssfloat.com/css-style-tags/</link>
		<comments>http://www.cssfloat.com/css-style-tags/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 19:03:07 +0000</pubDate>
		<dc:creator>CSSFloat</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.cssfloat.com/?p=27</guid>
		<description><![CDATA[Style tags contain on-page CSS. Style tags can be placed anywhere within a document but are usually found within the &#60;head&#62; section.
#onpage-example {color: #90C; font: 1.2em "Palatino Linotype", "Book Antiqua", Palatino, serif;}
For example, this sentence was styled by the CSS in style tags directly above in the HTML code.
Don&#8217;t believe me? You&#8217;ll have to right [...]]]></description>
			<content:encoded><![CDATA[<p>Style tags contain on-page CSS. Style tags can be placed anywhere within a document but are usually found within the &lt;head&gt; section.</p>
<style>#onpage-example {color: #90C; font: 1.2em "Palatino Linotype", "Book Antiqua", Palatino, serif;}</style>
<p id="onpage-example">For example, this sentence was styled by the CSS in style tags directly above in the HTML code.</p>
<p>Don&#8217;t believe me? You&#8217;ll have to right click and view the source code for proof.</p>
<p>Opening a style tag is simple, it&#8217;s &lt;style&gt;. To close the style tag, it&#8217;s like most tags, &lt;/style&gt;.</p>
<p>Here&#8217;s the CSS code embedded in style tags on this page.</p>
<div class="csscode">#onpage-example {color: #90C; font: 1.2em &#8220;Palatino Linotype&#8221;, &#8220;Book Antiqua&#8221;, Palatino, serif;}</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.cssfloat.com/external-stylesheets/" rel="bookmark">External Stylesheets</a></li><li><a href="http://www.cssfloat.com/css-class-verus-id/" rel="bookmark">CSS - Class Verus ID</a></li><li><a href="http://www.cssfloat.com/css-float-left-example/" rel="bookmark">CSS Float Left Example</a></li><li><a href="http://www.cssfloat.com/css-float/" rel="bookmark">CSS Float</a></li><li><a href="http://www.cssfloat.com/css-float-right/" rel="bookmark">CSS Float Right</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.cssfloat.com/css-style-tags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS &#8211; Class Verus ID</title>
		<link>http://www.cssfloat.com/css-class-verus-id/</link>
		<comments>http://www.cssfloat.com/css-class-verus-id/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 18:57:35 +0000</pubDate>
		<dc:creator>CSSFloat</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.cssfloat.com/?p=23</guid>
		<description><![CDATA[When coding CSS, the choice between using class or id can be confusing to inexperienced web developers. The main reason for this is because most web browsers simply skip over these errors and process class and id styles exactly the same.
The general rule&#8230;
If you intend to use the CSS style more than once on a [...]]]></description>
			<content:encoded><![CDATA[<p>When coding CSS, the choice between using class or id can be confusing to inexperienced web developers. The main reason for this is because most web browsers simply skip over these errors and process class and id styles exactly the same.</p>
<p>The general rule&#8230;</p>
<p>If you intend to use the CSS style more than once on a page, the correct choice is class. Classes use the full stop symbol &#8216;.&#8217;.</p>
<p>For example&#8230;</p>
<div class="csscode">.csscode {background: #0ef; padding: 15px; border: 1px dashed #00c;}</div>
<p>If you intend to use the CSS property only on one object per page, you should use ID. The hash sign &#8216;#&#8217; is the symbol for ID.</p>
<div class="csscode">#copyright {text-align: center; font: 0.8em arial; padding-bottom: 20px;}</div>
<p>Why is getting Class or ID important?</p>
<p>From a website visitors point of view, class or id does not matter. Even with errors the website will still look the same in most browsers. The importance of selecting the correct class or id syntax is more to do with web developers and search engines. Writing valid CSS helps fellow developers understand your code. There is also the unproven belief that valid CSS and HTML increases your chances of better search engine rankings.</p>
<p>To check if your website&#8217;s CSS is valid, visit <a title="CSS Validation" href="http://jigsaw.w3.org/css-validator/" target="_blank">http://jigsaw.w3.org/css-validator/</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.cssfloat.com/external-stylesheets/" rel="bookmark">External Stylesheets</a></li><li><a href="http://www.cssfloat.com/css-float-right/" rel="bookmark">CSS Float Right</a></li><li><a href="http://www.cssfloat.com/css-style-tags/" rel="bookmark">CSS Style Tags</a></li><li><a href="http://www.cssfloat.com/css-float-left-example/" rel="bookmark">CSS Float Left Example</a></li><li><a href="http://www.cssfloat.com/css-float/" rel="bookmark">CSS Float</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.cssfloat.com/css-class-verus-id/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
