<?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 Video Tutorials &#187; CSS Basics</title>
	<atom:link href="http://cssvideos.com/css-index/css-basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssvideos.com</link>
	<description>CSS Video Tutorials</description>
	<lastBuildDate>Sun, 19 Jul 2009 23:18:30 +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>Embedding CSS in Your Website</title>
		<link>http://cssvideos.com/css-basics/embedding-css-in-your-website/</link>
		<comments>http://cssvideos.com/css-basics/embedding-css-in-your-website/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 23:18:30 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Embedding CSS]]></category>
		<category><![CDATA[external stylesheet]]></category>
		<category><![CDATA[Inline]]></category>
		<category><![CDATA[Inline styles]]></category>
		<category><![CDATA[internal stylesheet]]></category>
		<category><![CDATA[link]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=108</guid>
		<description><![CDATA[Hello again and welcome to CSSvideos.com. My name is Ashton Sanders and this video will show you how to embed CSS into your website.
Now that you know the basic CSS Syntax and how to use the CSS Selector, I will describe the three ways you can embed (or use) Cascading Style Sheets in your website.
Inline [...]]]></description>
			<content:encoded><![CDATA[<p>Hello again and welcome to CSSvideos.com. My name is Ashton Sanders and this video will show you how to embed CSS into your website.</p>
<p>Now that you know the basic CSS Syntax and how to use the CSS <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span>, I will describe the three ways you can embed (or use) <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span> in your website.</p>
<h3>Inline CSS</h3>
<p>The first way is called <em>Inline <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span></em>. You can add CSS directly into the elements in your markup with the &#8220;<span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span>&#8221; attribute.</p>
<blockquote><p>&lt;div style=&#8221;color:red;&#8221;&gt;<br />
&lt;p style=&#8221;font-size:12px;&#8221;&gt;</p></blockquote>
<p><em>&#8220;Style&#8221;</em> is a &#8220;Core HTML Attribute&#8221; so you can apply it to any visual HTML/XHTML elements. (This excludes: html, head, title, base, meta, param, script and style.)  In other words you can use it on any HTML element that can actually be seen (the &lt;body&gt; element and its children).</p>
<p>This may seem to be the easiest way of using CSS, but it is not recommended as it completely ignores the best parts of <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading Style Sheets</span>. You might as well use font tags instead of CSS, but I&#8217;ll get into that more later in this video.</p>
<h3>Internal Style Sheets</h3>
<p>The second way adds CSS to a single document or web page by adding the following code into the &lt;head&gt; of your document using the &lt;style&gt; element.</p>
<blockquote><p>&lt;style type=&#8221;text/css&#8221;&gt;</p>
<p>div {color: red;}<br />
p {font-size: 12px;}</p>
<p>&lt;/style&gt;</p></blockquote>
<p>As you can see, <em>&lt;style&gt;</em> is an HTML element that is opened and closed. Within the <em>&lt;style&gt;</em> element is the CSS that will be applied to that page. There is no limit to the amount of CSS you can put inside the <em>&lt;style&gt;</em> element. You would enter this code in the &lt;head&gt; area of your web page (anywhere after &lt;head&gt; and before &lt;/head&gt; in your HTML document) and that would apply this CSS to the elements of that web page.</p>
<h3>External Style Sheets</h3>
<p>The third, and most adventagous way to embed CSS into a document uses <strong>External Cascading Style Sheets</strong> (or <em>External Style Sheets</em>).  An external CSS file is simply a text file with a &#8220;.css&#8221; extension. This file can then be included into many different pages. This allows you to make one document that has the styling for your entire website. Then you include that file into every page of your website. This is the recommended way of using CSS in your website as it lets you make global visual changes (to an entire website) by only tweaking one file.</p>
<p>For Example, lets say you have a website where all the paragraphs are black, and you want to change them to grey. Since you have an external Style Sheet, you just open up that one CSS file and change the style for paragraphs to:<em> color:grey; </em>Now all the paragraphs on your website are grey!</p>
<p>Here&#8217;s the code you would use to include an external style sheet into a webpage:</p>
<blockquote><p>&lt;link type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; href=&#8221;/link/to/stylesheet.css&#8221; /&gt;</p></blockquote>
<h3>Conclusion</h3>
<p>Thank you for watching this CSS Video. I hope you learned something from it. This is the last of the CSS Basic Videos. Next, we will be getting into the CSS Properties!</p>
<p>See you soon,<br />
Ashton Sanders</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website&amp;bodytext=Hello%20again%20and%20welcome%20to%20CSSvideos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20this%20video%20will%20show%20you%20how%20to%20embed%20CSS%20into%20your%20website.%0D%0A%0D%0ANow%20that%20you%20know%20the%20basic%20CSS%20Syntax%20and%20how%20to%20use%20the%20CSS%20Selector%2C%20I%20will%20describe%20the%20three%20ways%20you%20can%20emb" title="Digg"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website&amp;notes=Hello%20again%20and%20welcome%20to%20CSSvideos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20this%20video%20will%20show%20you%20how%20to%20embed%20CSS%20into%20your%20website.%0D%0A%0D%0ANow%20that%20you%20know%20the%20basic%20CSS%20Syntax%20and%20how%20to%20use%20the%20CSS%20Selector%2C%20I%20will%20describe%20the%20three%20ways%20you%20can%20emb" title="del.icio.us"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;t=Embedding%20CSS%20in%20Your%20Website" title="Facebook"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website&amp;annotation=Hello%20again%20and%20welcome%20to%20CSSvideos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20this%20video%20will%20show%20you%20how%20to%20embed%20CSS%20into%20your%20website.%0D%0A%0D%0ANow%20that%20you%20know%20the%20basic%20CSS%20Syntax%20and%20how%20to%20use%20the%20CSS%20Selector%2C%20I%20will%20describe%20the%20three%20ways%20you%20can%20emb" title="Google Bookmarks"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.designfloat.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website" title="Design Float"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/designfloat.png" title="Design Float" alt="Design Float" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website&amp;source=CSS+Video+Tutorials+CSS+Video+Tutorials&amp;summary=Hello%20again%20and%20welcome%20to%20CSSvideos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20this%20video%20will%20show%20you%20how%20to%20embed%20CSS%20into%20your%20website.%0D%0A%0D%0ANow%20that%20you%20know%20the%20basic%20CSS%20Syntax%20and%20how%20to%20use%20the%20CSS%20Selector%2C%20I%20will%20describe%20the%20three%20ways%20you%20can%20emb" title="LinkedIn"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;t=Embedding%20CSS%20in%20Your%20Website" title="MySpace"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website" title="Reddit"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F" title="Technorati"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website" title="Mixx"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fembedding-css-in-your-website%2F&amp;title=Embedding%20CSS%20in%20Your%20Website" title="Blogosphere News"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/embedding-css-in-your-website/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>CSS Selectors Part 2</title>
		<link>http://cssvideos.com/css-basics/css-selectors-2/</link>
		<comments>http://cssvideos.com/css-basics/css-selectors-2/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 20:25:51 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Selectors]]></category>
		<category><![CDATA[Descendant Selector]]></category>
		<category><![CDATA[Selector]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=59</guid>
		<description><![CDATA[Hi this is Ashton Sanders with CSS Videos.com and this is the second video about CSS Selectors. In CSS Selectors Part 1, we covered how you can use HTML tags, ID&#8217;s and Classes to select what to apply your CSS to.
In this video we&#8217;ll talk about

Applying the same CSS to multiple elements.
Using HTML&#8217;s hierarchy to [...]]]></description>
			<content:encoded><![CDATA[<p>Hi this is Ashton Sanders with CSS Videos.com and this is the second video about CSS Selectors. In <a title="CSS Selectors" href="/css-basics/css-selectors-2/">CSS Selectors Part 1</a>, we covered how you can use HTML tags, <em>ID</em>&#8217;s and <em>Classes</em> to select what to apply your CSS to.</p>
<p>In this video we&#8217;ll talk about</p>
<ol>
<li>Applying the same CSS to multiple elements.</li>
<li>Using HTML&#8217;s hierarchy to be more specific about what elements are selected.</li>
</ol>
<h3>Selecting Multiple Elements at Once</h3>
<p>To select two separate elements at the same time and apply the same styling to each, normally you&#8217;d write it as this:</p>
<blockquote><p>h1  { color: red;}<br />
h2  { color: red;}</p></blockquote>
<p>Or  you can use a comma to separate the selectors and put them together like this:</p>
<blockquote><p>h1, h2  { color: red;}</p></blockquote>
<p>Nope, not very complicated at all. This line of CSS will make all &lt;h1&gt; and &lt;h2&gt; tags red. You can apply the same styles to as many selectors as you want. There&#8217;s no limit.</p>
<blockquote><p>h1, h2, #item, .red   { color: red;}</p></blockquote>
<p>In this line of CSS, we have applied the same styling to four different selectors. All &lt;h1&gt; tags, &lt;h2&gt; tags, elements with the <em>id=&#8221;item&#8221;</em> and <em>class=&#8221;red&#8221;</em>.</p>
<h3>CSS Descendant <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span></h3>
<p>Of the CSS Basics, I probably use the CSS Descendant <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span> the most. This is wher eyou use the hierarchy of your HTML to define which elements get &#8220;styled&#8221; (as opposed to assigning classes to everything. To quickly define hierarchy, here is some simple HTML:</p>
<blockquote><p>&lt;body&gt;<br />
&lt;div&gt;<br />
&lt;p&gt;Random Text&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;p&gt;More Text&lt;/p&gt;<br />
&lt;/body&gt;</p></blockquote>
<p>We have two paragraphs (&lt;p&gt;) in this HTML. The only difference between them is that one is the &#8220;<strong>child</strong>&#8221; of a &lt;div&gt; and the other is not. It can also be said that the &lt;div&gt; is the &#8220;<strong>parent</strong>&#8221; of the &lt;p&gt;, just like how the &lt;body&gt; is the &#8220;<strong>grandparent</strong>&#8221; of the first paragraph and the  &#8220;<strong>parent</strong>&#8221; of the second paragraph. A simpler way to say this is: the &lt;body&gt; is an &#8220;<strong>ancestor</strong>&#8221; (<strong>parent</strong>, <strong>grandparent</strong>, etc.) of both paragraphs. We can use these relationships in our CSS Selectors.</p>
<p>Let&#8217;s use CSS to only change the color of all <strong>paragraphs with a div as an ancestor</strong>:</p>
<blockquote><p>div p { color: red;}</p></blockquote>
<p>Yes, it&#8217;s that simple. The space represents ancestory.</p>
<blockquote><p>body p { color: red;}</p></blockquote>
<p>This CSS would make both paragraphs red since both paragraphs  are a descendants (child, grandchild, etc.) of the &lt;body&gt; tag.</p>
<p>Note: There are more ways to use your HTML hierarchy in your CSS Selectors (like only direct, siblings, etc.) but as they don&#8217;t work in all browsers in use today *cough* IE6 *cough*&#8230; I won&#8217;t go into them in detail here.</p>
<p>That pretty well summarizes what you  can do with CSS Selectors!</p>
<p>The next video will talk about the three ways of including your <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span> into an HTML document.</p>
<p>Thanks for watching and rating.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202&amp;bodytext=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20is%20the%20second%20video%20about%20CSS%20Selectors.%20In%20CSS%20Selectors%20Part%201%2C%20we%20covered%20how%20you%20can%20use%20HTML%20tags%2C%20ID%27s%20and%20Classes%20to%20select%20what%20to%20apply%20your%20CSS%20to.%0D%0A%0D%0AIn%20this%20video%20we%27ll%20talk%20about%0D%0A%0D%0A" title="Digg"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202&amp;notes=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20is%20the%20second%20video%20about%20CSS%20Selectors.%20In%20CSS%20Selectors%20Part%201%2C%20we%20covered%20how%20you%20can%20use%20HTML%20tags%2C%20ID%27s%20and%20Classes%20to%20select%20what%20to%20apply%20your%20CSS%20to.%0D%0A%0D%0AIn%20this%20video%20we%27ll%20talk%20about%0D%0A%0D%0A" title="del.icio.us"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;t=CSS%20Selectors%20Part%202" title="Facebook"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202&amp;annotation=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20is%20the%20second%20video%20about%20CSS%20Selectors.%20In%20CSS%20Selectors%20Part%201%2C%20we%20covered%20how%20you%20can%20use%20HTML%20tags%2C%20ID%27s%20and%20Classes%20to%20select%20what%20to%20apply%20your%20CSS%20to.%0D%0A%0D%0AIn%20this%20video%20we%27ll%20talk%20about%0D%0A%0D%0A" title="Google Bookmarks"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.designfloat.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202" title="Design Float"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/designfloat.png" title="Design Float" alt="Design Float" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202&amp;source=CSS+Video+Tutorials+CSS+Video+Tutorials&amp;summary=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20is%20the%20second%20video%20about%20CSS%20Selectors.%20In%20CSS%20Selectors%20Part%201%2C%20we%20covered%20how%20you%20can%20use%20HTML%20tags%2C%20ID%27s%20and%20Classes%20to%20select%20what%20to%20apply%20your%20CSS%20to.%0D%0A%0D%0AIn%20this%20video%20we%27ll%20talk%20about%0D%0A%0D%0A" title="LinkedIn"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;t=CSS%20Selectors%20Part%202" title="MySpace"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202" title="Reddit"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F" title="Technorati"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202" title="Mixx"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-2%2F&amp;title=CSS%20Selectors%20Part%202" title="Blogosphere News"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/css-selectors-2/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>CSS Selectors Part 1</title>
		<link>http://cssvideos.com/css-basics/css-selectors-1/</link>
		<comments>http://cssvideos.com/css-basics/css-selectors-1/#comments</comments>
		<pubDate>Fri, 22 May 2009 22:20:54 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Selectors]]></category>
		<category><![CDATA[Selector]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=48</guid>
		<description><![CDATA[Hi this is Ashton Sanders with CSS Videos.com and this CSS Video Tutorial is the first video about CSS Selectors.
CSS Selectors add an incredible amount of flexibility and functionality to what you can style with Cascading Style Sheets. So far we have briefly defined what the CSS Selector does in the CSS Syntax video, and [...]]]></description>
			<content:encoded><![CDATA[<p>Hi this is Ashton Sanders with CSS Videos.com and this CSS Video Tutorial is the first video about CSS Selectors.</p>
<p>CSS Selectors add an incredible amount of flexibility and functionality to what you can <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span> with <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>. So far we have briefly defined what the CSS <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span> does in the <a href="http://cssvideos.com/css-basics/css-syntax/">CSS Syntax video</a>, and that is:</p>
<ul>
<li><strong><span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span>:</strong> is the hook used to choose what part(s) of your HTML to apply the CSS to.</li>
</ul>
<p>I have a feeling that won&#8217;t even make sense to most beginners. If it does right now, excellent; if it doesn&#8217;t you&#8217;ll soon understand in these examples. In this video I&#8217;ll give you a better understanding of <strong>how the <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span> works and three types of hooks you can select with it. </strong>There are many different ways to &#8220;select&#8221; HTML elements, but I will try to cover the necessary basics.</p>
<p>I will note that CSS can be applied to many more languages other than just plain HTML, but since it&#8217;s the most common, lets start with some example HTML:</p>
<blockquote><p>&lt;h1&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>Here we have a simple &lt;h1&gt; tag around the text of &#8220;CSS Selectors.&#8221; Now we are going to write our CSS to select this &lt;h1&gt; tag and make it red:</p>
<blockquote><p>h1  { color: red; }</p></blockquote>
<p>That&#8217;s pretty simple and straightforward. The selector is the <em>h1</em> and it selects all <em>&lt;h1&gt;</em> tags in your HTML document to make it red.</p>
<p>But we have one little problem, and that is that <em>this CSS will make all &lt;h1&gt; tags red</em>. If you have two &lt;h1&gt; tags on your website and you want one to be red and another to be blue, there are a couple things you can do. (Boo yea, that rhymes.) We&#8217;re going to start with assigning <em>Classes</em> and <em>ID</em>s to the HTML &lt;h1&gt; tags.</p>
<h3>CSS Classes</h3>
<p><span id="more-48"></span><br />
Here is the HTML of adding a <em>class</em> of &#8220;hdr&#8221; to one &lt;h1&gt; tag:</p>
<blockquote><p>&lt;h1 class=&#8221;hdr&#8221;&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>As you can see, the class is just a simple HTML attribute we added to the H1 tag. The same class attribute of &#8220;hdr&#8221; can be used as many times as you want on the same HTML page. For CSS Selectors we use a <em>period</em> (.) to represent a class.</p>
<blockquote><p>h1.hdr {color:red;}</p></blockquote>
<p>This code selects all &lt;h1&gt; tags with the <em>class=&#8221;hdr&#8221;</em> attribute and makes it red. You can also write the class without listing the HTML element like this:</p>
<blockquote><p>.hdr {color:red;}</p></blockquote>
<p>This would select all HTML elements with the <em>class=&#8221;hdr&#8221;</em> attribute and make it red. This is useful if you want to apply the same styles to different HTML tags. You just add the <em>class=&#8221;hdr&#8221;</em> attribute to the element and it will become red. It doesn&#8217;t matter if it&#8217;s a &lt;h1&gt; tag, &lt;p&gt; (paragraph) tag, or &lt;blockquote&gt;.</p>
<p>I will also mention that the HTML attribute of &#8220;class&#8221; allows multiple values separated by spaces. So you can have an &lt;h1&gt; tag with the class of &#8220;hdr&#8221; and &#8220;main&#8221; at the same time like this:</p>
<blockquote><p>&lt;h1 class=&#8221;hdr main&#8221;&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>You can apply CSS to this element using either class. You can use any of these three lines to make the color of this &lt;h1&gt; tag red.</p>
<blockquote><p>.hdr {color:red;}<br />
.main {color:red;}<br />
h1.main {color:red;}</p></blockquote>
<p>That pretty much wraps up classes. Next on the list is CSS ID&#8217;s:</p>
<h3>CSS IDs</h3>
<p>Here is the HTML code for adding an <em>ID</em> of &#8220;mainhdr&#8221; to an &lt;h1&gt; tag:</p>
<blockquote><p>&lt;h1 id=&#8221;mainhdr&#8221;&gt;CSS Selectors&lt;/h1&gt;</p></blockquote>
<p>As you can see this is just like the class attribute. The difference between the class and the ID is that the ID is only supposed to be used once on an HTML page. In CSS we use a <em>hash mark </em>(#) to represent an ID.</p>
<blockquote><p>h1#mainhdr {color:red;}</p></blockquote>
<p>This would select the &lt;h1&gt; with the ID of <em>mainhdr</em> and make it red. Just like the class selector, you can write the ID selector without the HTML element like this:</p>
<blockquote><p>#mainhdr {color:red;}</p></blockquote>
<p>This code selects any HTML element with the ID of &#8220;mainhdr&#8221; and makes it red.</p>
<p><strong>Is that it?</strong> Heck no, but that&#8217;s all I can fit into this video. The next video will be <a title="CSS Selectors" href="/css-basics/css-selectors-2/">CSS Selectors Part 2</a> and will cover applying the same CSS to multiple elements and using the hierarchy of your HTML document to specify what elements are selected.</p>
<p>Thanks for watching the video I hope you enjoyed it.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201&amp;bodytext=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20CSS%20Video%20Tutorial%20is%20the%20first%20video%20about%20CSS%20Selectors.%0D%0A%0D%0ACSS%20Selectors%20add%20an%20incredible%20amount%20of%20flexibility%20and%20functionality%20to%20what%20you%20can%20style%20with%20Cascading%20Style%20Sheets.%20So%20far%20we%20" title="Digg"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201&amp;notes=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20CSS%20Video%20Tutorial%20is%20the%20first%20video%20about%20CSS%20Selectors.%0D%0A%0D%0ACSS%20Selectors%20add%20an%20incredible%20amount%20of%20flexibility%20and%20functionality%20to%20what%20you%20can%20style%20with%20Cascading%20Style%20Sheets.%20So%20far%20we%20" title="del.icio.us"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;t=CSS%20Selectors%20Part%201" title="Facebook"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201&amp;annotation=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20CSS%20Video%20Tutorial%20is%20the%20first%20video%20about%20CSS%20Selectors.%0D%0A%0D%0ACSS%20Selectors%20add%20an%20incredible%20amount%20of%20flexibility%20and%20functionality%20to%20what%20you%20can%20style%20with%20Cascading%20Style%20Sheets.%20So%20far%20we%20" title="Google Bookmarks"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.designfloat.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201" title="Design Float"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/designfloat.png" title="Design Float" alt="Design Float" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201&amp;source=CSS+Video+Tutorials+CSS+Video+Tutorials&amp;summary=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%20and%20this%20CSS%20Video%20Tutorial%20is%20the%20first%20video%20about%20CSS%20Selectors.%0D%0A%0D%0ACSS%20Selectors%20add%20an%20incredible%20amount%20of%20flexibility%20and%20functionality%20to%20what%20you%20can%20style%20with%20Cascading%20Style%20Sheets.%20So%20far%20we%20" title="LinkedIn"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;t=CSS%20Selectors%20Part%201" title="MySpace"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201" title="Reddit"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F" title="Technorati"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201" title="Mixx"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-selectors-1%2F&amp;title=CSS%20Selectors%20Part%201" title="Blogosphere News"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/css-selectors-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CSS Syntax</title>
		<link>http://cssvideos.com/css-basics/css-syntax/</link>
		<comments>http://cssvideos.com/css-basics/css-syntax/#comments</comments>
		<pubDate>Wed, 06 May 2009 15:15:14 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=42</guid>
		<description><![CDATA[Hi this is Ashton Sanders with CSS Videos.com, and we are going to be talking about CSS Syntax.
My favorite thing about CSS is that it has a very simple syntax; making it super easy to learn.
In Cascading Style Sheets, you are writing a series of rules to apply to your HTML document.  Every rule has [...]]]></description>
			<content:encoded><![CDATA[<p>Hi this is Ashton Sanders with CSS Videos.com, and we are going to be talking about CSS Syntax.</p>
<p>My favorite thing about CSS is that it has a very simple syntax; making it super easy to learn.</p>
<p>In <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>, you are writing a series of rules to apply to your HTML document.  Every rule has these things:</p>
<p><center><img src="/images/videos/css-syntax.gif" alt="CSS Syntax" /></center></p>
<ul>
<li><strong><span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">Selector</span>:</strong> is the hook used to choose what part(s) of your HTML to apply the CSS to. Following the <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">selector</span> is the&#8230;</li>
<li><strong><span class="domtooltips" title="All of the CSS code within the braces (curly brackets),  “{” and “}”, is called the declaration block"><span class="domtooltips" title="Each CSS declaration is a combination of a CSS Property and a value. (ie. "color:black;") Inside a declaration block you can have as many declarations as you want.">Declaration</span> Block</span>:</strong> Everything within the curly brackets,  &#8220;{&#8221; and &#8220;}&#8221;, is called the <span class="domtooltips" title="All of the CSS code within the braces (curly brackets),  “{” and “}”, is called the declaration block"><span class="domtooltips" title="Each CSS declaration is a combination of a CSS Property and a value. (ie. "color:black;") Inside a declaration block you can have as many declarations as you want.">declaration</span> block</span></li>
<li><strong><span class="domtooltips" title="Each CSS declaration is a combination of a CSS Property and a value. (ie. "color:black;") Inside a declaration block you can have as many declarations as you want.">Declaration</span>:</strong> Inside a <span class="domtooltips" title="All of the CSS code within the braces (curly brackets),  “{” and “}”, is called the declaration block">declaration block</span> you can have as many declarations as you want and each declaration is a combination of a <span class="domtooltips" title="CSS Properties define what aspect of the selector will be changed or styled. (ie. In this example, Color is the CSS Property that will be changed to black: "color:black;".)">CSS Property</span> and a value.</li>
<li><strong>Property:</strong> is one of the CSS Properties used to tell what part of the <span class="domtooltips" title="A CSS Selector is the hook used to choose what part(s) of your HTML your CSS will style.">selector</span> will be changed (or styled).</li>
<li><strong>Value:</strong> assigns a value to the property.</li>
</ul>
<p>(Note that the Property is always followed by a colon, and each declaration is separated with a semicolon</p>
<p>Here are some quick sample:</p>
<p>Let&#8217;s Say that title at the top of this video screen is an H1 element. The HTML code for that would look like this:</p>
<blockquote><p>&lt;h1&gt;CSS Syntax&lt;/h1&gt;</p></blockquote>
<p>Now lets use CSS to make it red.</p>
<blockquote><p>h1 { color: red }</p></blockquote>
<p>This bit of code tells the h1 to have the color of red. Boo yea, we got some red in there and we are good to go.</p>
<p>Let&#8217;s add another declaration to the declaration block to make the background color black:</p>
<blockquote><p>h1 { color: red; background: black; }</p></blockquote>
<p>You now know the basics of the CSS Syntax.</p>
<p>My next video will go into further detail about the <strong>CSS Selector</strong>, and some things you should know about it.</p>
<p>Thanks for Watching!</p>
<p>Ashton Sanders<br />
CSSVideos.com</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax&amp;bodytext=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%2C%20and%20we%20are%20going%20to%20be%20talking%20about%20CSS%20Syntax.%0D%0A%0D%0AMy%20favorite%20thing%20about%20CSS%20is%20that%20it%20has%20a%20very%20simple%20syntax%3B%20making%20it%20super%20easy%20to%20learn.%0D%0A%0D%0AIn%20Cascading%20Style%20Sheets%2C%20you%20are%20writing%20a%20series%20" title="Digg"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax&amp;notes=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%2C%20and%20we%20are%20going%20to%20be%20talking%20about%20CSS%20Syntax.%0D%0A%0D%0AMy%20favorite%20thing%20about%20CSS%20is%20that%20it%20has%20a%20very%20simple%20syntax%3B%20making%20it%20super%20easy%20to%20learn.%0D%0A%0D%0AIn%20Cascading%20Style%20Sheets%2C%20you%20are%20writing%20a%20series%20" title="del.icio.us"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;t=CSS%20Syntax" title="Facebook"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax&amp;annotation=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%2C%20and%20we%20are%20going%20to%20be%20talking%20about%20CSS%20Syntax.%0D%0A%0D%0AMy%20favorite%20thing%20about%20CSS%20is%20that%20it%20has%20a%20very%20simple%20syntax%3B%20making%20it%20super%20easy%20to%20learn.%0D%0A%0D%0AIn%20Cascading%20Style%20Sheets%2C%20you%20are%20writing%20a%20series%20" title="Google Bookmarks"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.designfloat.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax" title="Design Float"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/designfloat.png" title="Design Float" alt="Design Float" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax&amp;source=CSS+Video+Tutorials+CSS+Video+Tutorials&amp;summary=Hi%20this%20is%20Ashton%20Sanders%20with%20CSS%20Videos.com%2C%20and%20we%20are%20going%20to%20be%20talking%20about%20CSS%20Syntax.%0D%0A%0D%0AMy%20favorite%20thing%20about%20CSS%20is%20that%20it%20has%20a%20very%20simple%20syntax%3B%20making%20it%20super%20easy%20to%20learn.%0D%0A%0D%0AIn%20Cascading%20Style%20Sheets%2C%20you%20are%20writing%20a%20series%20" title="LinkedIn"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;t=CSS%20Syntax" title="MySpace"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax" title="Reddit"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F" title="Technorati"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax" title="Mixx"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fcss-syntax%2F&amp;title=CSS%20Syntax" title="Blogosphere News"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/css-syntax/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>What is Cascading Style Sheets?</title>
		<link>http://cssvideos.com/css-basics/what-is-cascading-style-sheets/</link>
		<comments>http://cssvideos.com/css-basics/what-is-cascading-style-sheets/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 06:46:28 +0000</pubDate>
		<dc:creator>Ashton Sanders</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[What is CSS]]></category>

		<guid isPermaLink="false">http://cssvideos.com/?p=28</guid>
		<description><![CDATA[Welcome to CSS Videos.com. My name is Ashton Sanders and I&#8217;m going to be answering a very simple question today, and that is &#8220;What is Cascading Style Sheets?&#8221;
CSS (or Cascading Style Sheets) works with HTML to define how it it will look. Speaking generally, HTML is used to format a web page. And CSS can [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to CSS Videos.com. My name is Ashton Sanders and I&#8217;m going to be answering a very simple question today, and that is &#8220;What is <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>?&#8221;</p>
<p>CSS (or <span class="domtooltips" title="CSS is a language defines the look and feel of a website, webpage, etc. It is literally a list of styles which define how HTML elements will look. Cascading refers to the fact that if multiple styles are applied to the same element, it gracefully figures out which one to ignore.">Cascading <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">Style</span> Sheets</span>) works with HTML to define how it it will look. Speaking generally, HTML is used to format a web page. And CSS can be used in conjunction with that to add color, <span class="domtooltips" title="A Style defines how an HTML element will look. (ie. font, color, size, etc.)">style</span>&#8230; where style means defining how it will look.</p>
<p>In theory, you could easily do an entire web page in just HTML. You can use the &#8220;&lt;font&gt;&#8221; tag to color, but CSS will do this in a universal-type format. It actually makes everything simpler and easier.</p>
<p>So to reiterate what I mean by style: You can take an HTML element, which lets say is just a paragraph. So the HTML will format the page; tell you where the header goes, where the footer goes, and what part of the text is a paragraph, and what part of the text is a heading; what kind of heading it is. Then CSS can come in and tell it to be a blue color, or maybe bold or italics. Give it a background color. These are some simple things that CSS can do. Obviously this isn&#8217;t CSS in action but those are things that CSS can do.</p>
<p>And actually CSS can do much more than that and take over a lot of the formatting things that HTML normally does as well. That&#8217;s something we&#8217;ll be looking into with these videos.</p>
<p>Thank you very much for watching, I hope you enjoy the video.</p>
<p>Ashton Sanders<br />
CSSVideos.com</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F&amp;bodytext=Welcome%20to%20CSS%20Videos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20I%27m%20going%20to%20be%20answering%20a%20very%20simple%20question%20today%2C%20and%20that%20is%20%22What%20is%20Cascading%20Style%20Sheets%3F%22%0D%0A%0D%0ACSS%20%28or%20Cascading%20Style%20Sheets%29%20works%20with%20HTML%20to%20define%20how%20it%20it%20will%20look.%20Speaking%20" title="Digg"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F&amp;notes=Welcome%20to%20CSS%20Videos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20I%27m%20going%20to%20be%20answering%20a%20very%20simple%20question%20today%2C%20and%20that%20is%20%22What%20is%20Cascading%20Style%20Sheets%3F%22%0D%0A%0D%0ACSS%20%28or%20Cascading%20Style%20Sheets%29%20works%20with%20HTML%20to%20define%20how%20it%20it%20will%20look.%20Speaking%20" title="del.icio.us"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;t=What%20is%20Cascading%20Style%20Sheets%3F" title="Facebook"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F&amp;annotation=Welcome%20to%20CSS%20Videos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20I%27m%20going%20to%20be%20answering%20a%20very%20simple%20question%20today%2C%20and%20that%20is%20%22What%20is%20Cascading%20Style%20Sheets%3F%22%0D%0A%0D%0ACSS%20%28or%20Cascading%20Style%20Sheets%29%20works%20with%20HTML%20to%20define%20how%20it%20it%20will%20look.%20Speaking%20" title="Google Bookmarks"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.designfloat.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F" title="Design Float"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/designfloat.png" title="Design Float" alt="Design Float" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F&amp;source=CSS+Video+Tutorials+CSS+Video+Tutorials&amp;summary=Welcome%20to%20CSS%20Videos.com.%20My%20name%20is%20Ashton%20Sanders%20and%20I%27m%20going%20to%20be%20answering%20a%20very%20simple%20question%20today%2C%20and%20that%20is%20%22What%20is%20Cascading%20Style%20Sheets%3F%22%0D%0A%0D%0ACSS%20%28or%20Cascading%20Style%20Sheets%29%20works%20with%20HTML%20to%20define%20how%20it%20it%20will%20look.%20Speaking%20" title="LinkedIn"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;t=What%20is%20Cascading%20Style%20Sheets%3F" title="MySpace"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F" title="Reddit"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F" title="Technorati"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F" title="Mixx"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fcssvideos.com%2Fcss-basics%2Fwhat-is-cascading-style-sheets%2F&amp;title=What%20is%20Cascading%20Style%20Sheets%3F" title="Blogosphere News"><img src="http://cssvideos.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cssvideos.com/css-basics/what-is-cascading-style-sheets/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
