<?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 Etc &#187; tutorials</title>
	<atom:link href="http://www.cssetc.com/tag/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cssetc.com</link>
	<description>CSS Web Design - CSS Coding - PSD to HTML - Tube Site Design - WordPress Templates - CSSetc.com for all your CSS needs!</description>
	<lastBuildDate>Mon, 02 Nov 2009 04:46:09 +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>IDs and Classes</title>
		<link>http://www.cssetc.com/2009/basic-css/ids-and-classes.html</link>
		<comments>http://www.cssetc.com/2009/basic-css/ids-and-classes.html#comments</comments>
		<pubDate>Mon, 02 Nov 2009 04:46:09 +0000</pubDate>
		<dc:creator>Robyn</dc:creator>
				<category><![CDATA[Basic CSS]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[classes and IDs]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[structure]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.cssetc.com/wpt-284/?p=361</guid>
		<description><![CDATA[Once you understand the basic structure of CSS &#8211; selector {property: value;} &#8211; you can begin using it to style elements in your html documents. There are certain elements in html that we use all the time; p for paragraphs, h1 h2 h3 for headings, ol and ul for lists&#8230;all of these things can be [...]]]></description>
			<content:encoded><![CDATA[<p>Once you understand the <a href="http://www.cssetc.com/wpt-284/2009/basic-css/a-beginners-look-at-css.html">basic structure of CSS</a> &#8211; selector {property: value;} &#8211; you can begin using it to style elements in your <span class="caps">html</span> documents. There are certain elements in <span class="caps">html</span> that we use all the time; p for paragraphs, h1 h2 h3 for headings, ol and ul <span id="more-361"></span>for lists&#8230;all of these things can be styled using that syntax. Font color and size, padding, margins, positioning and anything else that you would use to style these elements can be incorporated into your Cascading Style Sheet. The fun part comes when you start designating your own selectors, and that&#8217;s what classes and IDs are for.</p>
<div class="firstline text120">Classes</div>
<p>In CSS, a class is defined by using <span class="boldtext">.classname</span> in the stylesheet, where classname is whatever title you choose to name the element. For example, in the above sentence, I used &lt;span class=&#8221;boldtext&#8221;&gt;<span class="boldtext">.classname</span>&lt;span&gt; to apply a bold font to the selection. The corresponding CSS code would look like this:
<div class="padbottom7 boldtext">.boldtext {font-weight: bold;}</div>
<p>Every time I used the class <span class="boldtext">.boldtext</span> in my document, the enclosed text will be bold. Pretty simple!</p>
<p>By using the ability to assign your own classes, you can have multiple elements share the same styling throughout the page.</p>
<p>Classes can be used more than once in a single page &#8211; in fact, the same class can be used as many times as you want.</p>
<div class="firstline text120">IDs</div>
<p>Giving an element an ID is the same idea, with a couple of differences. With an ID, you replace &#8216;.&#8217; with &#8216;#&#8217; and end up with this:
<div class="padbottom7 boldtext">#boldtext {font-weight: bold;}</div>
<p>which will do the same thing as the class did &#8211; style the element with a bold font. The other difference, and this is important! &#8211; is that an ID can only be used once within a page. I use IDs a lot for structual elements, like headers and footers, because those elements are generally only used once in an <span class="caps">html</span> page.</p>
<p>If you think of an ID as something unique, like a person&#8217;s name, and classes as something that has more than one, like a class of people, then you&#8217;ll remember how to use them in writing your CSS.</p>
<p>Now you may be asking &#8211; what&#8217;s the difference between using <span class="boldtext">&lt;span class=&#8221;bold&#8221;&gt;</span> in a stylesheet and <span class="boldtext">&lt;span style=&#8221;bold&#8221;&gt;</span> in your <span class="caps">html</span>? You still have to type it into your markup every time you want the text to be bold, right? Well, that is true, but once you get into using multiple values for the same element you&#8217;ll see what a difference CSS can make. Imagine that you not only want that text <span class="boldtext">bold</span>, but you want it to be <span class="blue1">bold, blue and in Comic Sans font</span>. You can combine all of those attributes into one class and save yourself the headache of writing out all three styles every time you want that particular styling.</p>
<p>Your CSS would look like this:
<div class="padbottom7 boldtext">.blue1 {font-style: bold; color: #0000ff; font-family: &#8220;Comic Sans MS&#8221;;}</div>
<p>and your <span class="caps">html</span> would look like this:
<div class="padbottom7 boldtext">&lt;span class=&#8221;blue1&#8243;&gt;<span class="blue1">here is your styled text</span>&lt;span&gt;</div>
<p> We&#8217;ll get further into multiple properties in another post.</p>
<p>Trust me, when you&#8217;re adding margins, padding, colors, backgrounds, positioning and font attributes all to one element, you&#8217;ll love using CSS!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cssetc.com/2009/basic-css/ids-and-classes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incredibly Useful Links &#8211; Part 1</title>
		<link>http://www.cssetc.com/2009/resources/incredibly-useful-links-part-1.html</link>
		<comments>http://www.cssetc.com/2009/resources/incredibly-useful-links-part-1.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 00:15:13 +0000</pubDate>
		<dc:creator>Robyn</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[useful stuff]]></category>

		<guid isPermaLink="false">http://www.cssetc.com/wpt-284/?p=350</guid>
		<description><![CDATA[Over the years I&#8217;ve amassed a nice collection of resources &#8211; sites with tutorials, information, free stuff, and inspirational sites to help with the creative processes. There is so much out there that I hardly have time to look at them all, and that&#8217;s why  I have a list of bookmarks that would probably [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years I&#8217;ve amassed a nice collection of resources &#8211; sites with tutorials, information, free stuff, and inspirational sites to help with the creative processes. There is so much out there that I hardly have time to look at them all, and that&#8217;s why <span id="more-350"></span> I have a list of bookmarks that would probably fill a medium sized town&#8217;s phone book! I&#8217;m always looking for interesting sites&#8230;sometimes friends pass along links, sometimes I&#8217;ll find them in forums or bulletin boards, and I also make it a regular practice to google different design terms and see what comes up. The following list is some of the ones I&#8217;ve found most useful, interesting or helpful. This is just a few of them, so I&#8217;ll put together more and post again with part 2.</p>
<ul>
<li><a href="http://new.myfonts.com/" title="find fonts for all of your projects" target="_blank">MyFonts.com</a> &#8211; a great place for fonts, both free and for purchase. Free registration is required for downloading, but with over 400 free fonts available, it&#8217;s definitely worth the time to register.</li>
<li><a href="http://www.w3schools.com/" title="w3schools free tutorials and more" target="_blank">w3schools.com</a> &#8211; an absolutely must have bookmark, full of references, tutorials and do it yourself examples for learning <span class="caps">html</span>, CSS, <span class="caps">xml</span>, scripting and lots more. I&#8217;d be lost without this one!</li>
<li><a href="http://www.sxc.hu/" title="stock photos for your design projects" target="_blank">StockXchng</a> &#8211; an amazing site for finding images to use in your design projects, whether personal or professional. Free stock photos in tons of categories make this a great site to browse as well, just to check out the great photography. Free registration.</li>
<li><a href="http://browsershots.org/" title="check your website in different browsers" target="_blank">BrowserShots.org</a> &#8211; check out your website in different browsers and operating systems for free, you may be surprised at what you see!</li>
<li><a href="http://jigsaw.w3.org/css-validator/" title="CSS and HTML validator" target="_blank">CSS Validation Service</a> -does your website conform to current web standards? Find out here, where you can validate your CSS and <span class="caps">html</span> or <span class="caps">xhtml</span> documents. It can make a difference in how browsers interpret your site, so it pays to be valid!</li>
<li><a href="http://www.nattyware.com/pixie.php" title="the best color picker around!" target="_blank">Pixie</a> &#8211; simply the best little color picker around, made by Nattyware. I use this tool every single day and I&#8217;d feel like I lost my best friend if I didn&#8217;t have it. Really.</li>
</ul>
<p>That&#8217;s the first installation, and please, if you have any links you&#8217;d like to share, don&#8217;t be shy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cssetc.com/2009/resources/incredibly-useful-links-part-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Beginner&#039;s Look At CSS</title>
		<link>http://www.cssetc.com/2009/basic-css/a-beginners-look-at-css.html</link>
		<comments>http://www.cssetc.com/2009/basic-css/a-beginners-look-at-css.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 21:17:43 +0000</pubDate>
		<dc:creator>Robyn</dc:creator>
				<category><![CDATA[Basic CSS]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.cssetc.com/wpt-284/?p=347</guid>
		<description><![CDATA[If you want to understand CSS, there are a few basics that you should start with, and one of them is a firm grasp of html markup. I will have to assume that you have at least a basic understanding of html, or else you probably wouldn&#8217;t be here in the first place. If you [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to understand CSS, there are a few basics that you should start with, and one of them is a firm grasp of <a href="http://en.wikipedia.org/wiki/Html" title="about HTML" target="_blank"><span class="caps">html</span> markup</a>. I will have to assume that you have at least a basic understanding of <span class="caps">html</span>, or else you probably wouldn&#8217;t be here in the <span id="more-347"></span>first place. If you don&#8217;t, then a good place to start is with the <a href="http://www.w3schools.com/html/" title="HTML tutorial at w3schools.com" target="_blank">w3schools <span class="caps">html</span> tutorial</a>.</p>
<p>Now that we&#8217;ve got that out of the way, the best place to begin with CSS is the syntax. CSS syntax is basically made up of three parts: the selector, the property, and the value.</p>
<p>p {font-size: 12px}</p>
<p>in this example, p = the selector (for paragraph), font-size = the property you want to style, and 12px = the value. So far, so good, right?</p>
<p>The property and the value are separated from the selector by those curly brackets, and from each other by a colon. The above example is telling the browser that in every instance of &#8216;p&#8217; on the web page, the font size will be 12 pixels.</p>
<p>You can use this syntax to style everything on a web page, from font properties to backgrounds to positioning. This will replace &lt;p style=&#8221;font-size: 12px&#8221;&gt;this is your paragraph&lt;/p&gt; in your <span class="caps">html</span>. If you have 30 paragraphs, each with the same font size, you can see how this would make writing markup a little easier!</p>
<p>That&#8217;s all there really is to it&#8230;the basics, anyway. Of course things get much more complicated, as they usually do, once you get into styling more than just your p&#8217;s and q&#8217;s, but as long as you understand the syntax of CSS, you&#8217;ll be able to understand the rest of it when you really get into it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cssetc.com/2009/basic-css/a-beginners-look-at-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Um, So What Is CSS?</title>
		<link>http://www.cssetc.com/2009/basic-css/um-so-what-is-css.html</link>
		<comments>http://www.cssetc.com/2009/basic-css/um-so-what-is-css.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 19:29:33 +0000</pubDate>
		<dc:creator>Robyn</dc:creator>
				<category><![CDATA[Basic CSS]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.cssetc.com/wpt-284/?p=336</guid>
		<description><![CDATA[CSS &#8211; Cascading Style Sheets &#8211; are basically a set of instructions telling a browser how your website is supposed to look. The difference is that CSS separates your design from your content. This gives it a number of advantages over other methods of styling  &#8211; for one thing, removing all formatting from your [...]]]></description>
			<content:encoded><![CDATA[<p>CSS &#8211; Cascading Style Sheets &#8211; are basically a set of instructions telling a browser how your website is supposed to look. The difference is that CSS separates your design from your content. This gives it a number of advantages over other methods of styling <span id="more-336"></span> &#8211; for one thing, removing all formatting from your html page streamlines your markup and makes the page faster loading. Another plus is that you can position your most keyword-rich content exactly where you want it to be&#8230;right at the top where the search engines can gobble it up!</p>
<p>Most websites that are not using CSS to style their pages are using tables. While tables can be very easy to use, they just aren&#8217;t meant for designing websites. Tables will, by their very nature, limit your designs in terms of content placement, and depending on who you listen to, nested tables (tables inside tables inside tables) are very difficult for search engines to decipher, not to mention a pain for the browser to load quickly.</p>
<p>So&#8230;enter CSS &#8211; a language that is built specifically for what it&#8217;s used for. Giving elements on your page a class or id (which I talk further about <a href="LINK" title="CSS Classes and IDs">in this post</a>), then assigning styles to that specific class or id in the stylesheet allows you complete control over every aspect of that element, including color, positioning, stacking order, backgrounds etc. Elements with the same attributes that occur multiple times within the document can be assigned the same class or id, preventing lots of repeating markup.</p>
<p>Wait &#8211; you haven&#8217;t heard the best part yet&#8230;</p>
<p>As someone who used to waste a lot of time changing the look of my own websites (it&#8217;s addictive, you know!), CSS is a miracle tool. Let&#8217;s say you have some text that you originally liked in blue because it&#8217;s your favorite color. Well, now you want it to stand out in red&#8230;but the text is spread out 200 different times over 10 pages! If you were using CSS, you could have assigned all of that text with the class &#8216;favorite-color&#8217; and with one little change to your CSS file, made it all red. 2 seconds, all done. Now that&#8217;s what got me going with CSS in the first place!</p>
<p>Obviously there&#8217;s more to CSS than that, but you get the basic idea. Content in one place, style in another. Easy to update, change and manipulate. Better control over content positioning. Possibly an advantage when it comes to the almighty search engines. What&#8217;s not to like??</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cssetc.com/2009/basic-css/um-so-what-is-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
