<?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>JavaScript Workshop &#187; CSS</title>
	<atom:link href="http://www.javascriptworkshop.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javascriptworkshop.com</link>
	<description>Helping others learn JavaScript and web development in general.</description>
	<lastBuildDate>Tue, 06 Sep 2011 11:10:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>The Art &amp; Science of CSS</title>
		<link>http://www.javascriptworkshop.com/2008/12/10/the-art-science-of-css/</link>
		<comments>http://www.javascriptworkshop.com/2008/12/10/the-art-science-of-css/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 01:05:37 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=240</guid>
		<description><![CDATA[Last month, Sitepoint.com was giving away its great CSS book: The Art &#038; Science of CSS in PDF format. It covers topics such as headings, images, backgrounds, navigation, forms, rounded corners, and tables. Here is a copy (.pdf) if you didn&#8217;t get yours.]]></description>
			<content:encoded><![CDATA[<p>Last month, Sitepoint.com was giving away its great CSS book: The Art &#038; Science of CSS in PDF format. It covers topics such as headings, images, backgrounds, navigation, forms, rounded corners, and tables. </p>
<p>Here is a <a class="externalLink" href="http://www.javascriptworkshop.com/wp-content/uploads/pdf/Art_Science_Of_CSS.pdf">copy</a> (.pdf) if you didn&#8217;t get yours.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2008/12/10/the-art-science-of-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmark your Webpage?</title>
		<link>http://www.javascriptworkshop.com/2008/10/06/bookmark-your-webpage/</link>
		<comments>http://www.javascriptworkshop.com/2008/10/06/bookmark-your-webpage/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 07:51:13 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript topics]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[bookmark page]]></category>
		<category><![CDATA[web browsers]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=179</guid>
		<description><![CDATA[I&#8217;m not a fan of creating a script that only works in one browser or differently in other browser(s). I had to create a link on a website for work that made a URL their home page. This annoying task proved difficult as there wasn&#8217;t much good information online and it seems only IE allows [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not a fan of creating a script that only works in one browser or differently in other browser(s). I had to create a link on a website for work that made a URL their home page.  This annoying task proved difficult as there wasn&#8217;t much good information online and it seems only IE allows this.  The Firefox browser will only allow you to make a web page a &#8216;favorite&#8217;.</p>
<p>So I found the code to make it work on both IE and Firefox (will not work on any other browser), as well as improving its &#8216;unobtrusiveness&#8217;.  As you can see from the code, I only display the link if the browser is either Internet Explorer or Firefox otherwise the link text is blank. </p>
<p>The &#8216;Browser.Detect&#8217; object is from a script from the JavaScript guru himself, <a class="externalLink" href="http://www.quirksmode.org/">PPK</a> which detects what browser the visitor is using. Browser detection isn&#8217;t used as much today as it once was but it is still needed on some occasions.</p>
<p><span id="more-179"></span></p>
<p><img src="http://www.javascriptworkshop.com/PHPWebHost/Make_homepage/screenshot_IE.gif" /></p>
<p>Internet Explorer <br/><br />
<img src="http://www.javascriptworkshop.com/PHPWebHost/Make_homepage/screenshot_FF.gif" /></p>
<p>Firefox</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> browserBoomkark<span style="color: #009900;">&#40;</span>id<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> link <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>id<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">switch</span> <span style="color: #009900;">&#40;</span>BrowserDetect.<span style="color: #660066;">browser</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
     <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'Explorer'</span><span style="color: #339933;">:</span>
&nbsp;
          link.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'Set to Home Page'</span><span style="color: #339933;">;</span>	
          link.<span style="color: #660066;">style</span>.<span style="color: #660066;">cursor</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'pointer'</span><span style="color: #339933;">;</span>
          link.<span style="color: #660066;">onclick</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
               <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">behavior</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'url(#default#homepage)'</span><span style="color: #339933;">;</span>
               <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">setHomePage</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'URL'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
          <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">'Firefox'</span><span style="color: #339933;">:</span> <span style="color: #006600; font-style: italic;">// only supports making page a favorite</span>
&nbsp;
           link.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'Set to Favorite'</span><span style="color: #339933;">;</span>
           link.<span style="color: #660066;">style</span>.<span style="color: #660066;">cursor</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'pointer'</span><span style="color: #339933;">;</span>
           link.<span style="color: #660066;">onclick</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
                window.<span style="color: #660066;">sidebar</span>.<span style="color: #660066;">addPanel</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'label'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'URL'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
           <span style="color: #009900;">&#125;</span>
&nbsp;
           <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #003366; font-weight: bold;">default</span><span style="color: #339933;">:</span>
&nbsp;
           <span style="color: #006600; font-style: italic;">// nothing is displayed for other browsers</span>
      <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Test the <a class="externalLink" href="http://www.javascriptworkshop.com/PHPWebHost/Make_homepage/bookmark.html"> page</a> yourself to test it out and download the <a href="http://www.javascriptworkshop.com/PHPWebHost/Make_homepage/Bookmark_page.zip">code</a> (.zip).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2008/10/06/bookmark-your-webpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate CSS Reference Book</title>
		<link>http://www.javascriptworkshop.com/2008/03/23/the-ultimate-css-reference-book/</link>
		<comments>http://www.javascriptworkshop.com/2008/03/23/the-ultimate-css-reference-book/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 01:38:16 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=237</guid>
		<description><![CDATA[A great reference book (.pdf) on everything you would ever need to know about CSS. Note: For short reference checkout out the Core CSS RefCardz: Part 1 and Part 2 (.pdf) by Molly Holzschalg.]]></description>
			<content:encoded><![CDATA[<p>A great <a class="externalLink" href = "http://www.javascriptworkshop.com/wp-content/uploads/pdf/TheUltimateCSSReference.pdf">reference book</a> (.pdf) on everything you would ever need to know about CSS. </p>
<p><b>Note:</b> For short reference checkout out the Core CSS RefCardz: <br /> <a class="externalLink" href = "http://www.javascriptworkshop.com/wp-content/uploads/pdf/refcardz_corecss1.pdf">Part 1</a> and <a class="externalLink" href = "http://www.javascriptworkshop.com/wp-content/uploads/pdf/refcardz_corecss2.pdf">Part 2</a> (.pdf) by Molly Holzschalg.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2008/03/23/the-ultimate-css-reference-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Print Style Sheets &#8211; Video Tutorials</title>
		<link>http://www.javascriptworkshop.com/2007/09/24/print-style-sheets-video-tutorials/</link>
		<comments>http://www.javascriptworkshop.com/2007/09/24/print-style-sheets-video-tutorials/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 22:46:18 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Video tutorials]]></category>
		<category><![CDATA[Print Style Sheets]]></category>
		<category><![CDATA[video tutorials]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=96</guid>
		<description><![CDATA[All modern browsers support the most common media attributes, which are supplied within the link element to target specific style sheets in a specific situation. For example, to ensure only visitors viewing the web site on a monitor, you add media = &#8220;screen&#8221; to the link element to call your default style sheet. Underneath that [...]]]></description>
			<content:encoded><![CDATA[<p>All modern browsers support the most common media attributes, which are supplied within the link element to target specific style sheets in a specific situation.  For example, to ensure only visitors viewing the web site on a monitor, you add media = &#8220;screen&#8221; to the link element to call your default style sheet.  Underneath that a second link element can be used with media = &#8220;print&#8221; added to call a print style sheet with only basic styling, such as black text on a plain white background, and all graphics removed.</p>
<p><span id="more-96"></span></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;rel <span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> media<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;print&quot;</span> type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #00AA00;">&gt;</span></pre></div></div>

<p>If a style sheet has a media type of &#8220;screen&#8221;, it will not be used when the page is printed.  If no media type is specified, the style sheet would influence the printed results.  </p>
<p><strong>note:</strong> Any style sheet intended only for printing purposes must be given the print media type to prevent it be from implemented on screen.  Nobody wants to print an article written in white text on a solid black or extravagant rainbow background.</p>
<p>Here are some videos (.zip) narrated by CSS guru Eric Meyer on setting up a print style sheet:</p>
<p><a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Print_Styles_Video1.zip">Print style overview</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Print_Styles_Video2.zip">Creating a basic style</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Print_Styles_Video3.zip">Hiding graphic content</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Print_Styles_Video4.zip">Improving the look</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Print_Styles_Video5.zip">Modifying sub content</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Print_Styles_Video6.zip">Adding a footer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2007/09/24/print-style-sheets-video-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: Form Layout</title>
		<link>http://www.javascriptworkshop.com/2007/06/08/using-css-for-form-layout/</link>
		<comments>http://www.javascriptworkshop.com/2007/06/08/using-css-for-form-layout/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 18:21:01 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Form Layout]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=98</guid>
		<description><![CDATA[I admit it. I use tables when I need to layout a form. It is just so quick and easy to do. Though as we all know (or should know), tables were only intended to be used for layout of tabular data. So with all the buzz about semantic markup and accessiblity, I thought I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>I admit it.  I use tables when I need to layout a form. It is just so quick and easy to do. Though as we all know (or should know), tables were only intended to be used for layout of tabular data. So with all the buzz about semantic markup and accessiblity, I thought I&#8217;d look into learning how to layout a simple form the right way.  After a few hours of head scratching, I finally came up with a form that uses CSS that looks practically the same as one using tables.</p>
<p><span id="more-98"></span></p>
<p>Here is a <a class="externalLink" href= "http://www.javascriptworkshop.com/PHPWebHost/css_forms/table_layout.html">form</a> using a table for its layout and here is the same <a class = "externalLink" href="http://www.javascriptworkshop.com/PHPWebHost/css_forms/css_layout.html">form</a> using CSS for the layout.  If you don&#8217;t view the source for either page, could you tell which one used tables or CSS? </p>
<p>Designing without tables definitely takes more time when you think about the layout of each input element and its semantic meaning. Though once you do, your forms will be easier to maintain, more cross-browser compatiable and accessible and will even download a little faster. </p>
<p>View the source of both examples to see the differences and hopefully it will help you make the transition too. <img src='http://www.javascriptworkshop.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Two additional resources would be this <a class="externalLink" href = "http://www.javascriptworkshop.com/wp-content/uploads/pdf/ArtandScienceCSS-FormDesign.pdf">excerpt</a> (.pdf) from the wonderful book <a class = "externalLink" href = "http://www.amazon.com/gp/product/0975841971?ie=UTF8&#038;tag=javascriptwor-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0975841971">The Art &#038; Science of CSS</a> that talks about how to properly design a form with semantic markup and CSS and this useful <a class = "externalLink" href="http://www.accessify.com/tools-and-wizards/accessibility-tools/form-builder/default.php?type=css">online tool</a> from Accessify.com that gives you a head start in creating a CSS based form layout (minus the styles). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2007/06/08/using-css-for-form-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: Block Hover Effect</title>
		<link>http://www.javascriptworkshop.com/2007/03/02/actionscript-20-oop-basics/</link>
		<comments>http://www.javascriptworkshop.com/2007/03/02/actionscript-20-oop-basics/#comments</comments>
		<pubDate>Fri, 02 Mar 2007 02:40:49 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hover Effect]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=133</guid>
		<description><![CDATA[Have you ever seen a web site that has clickable blocks of text? Ever wondered how they were done? Well, I found out how from Christian Watson. Here is a simple example and the code (.zip).]]></description>
			<content:encoded><![CDATA[<p>Have you ever seen a web site that has clickable blocks of text?</p>
<p>Ever wondered how they were done? </p>
<p>Well, I found out how from <a class = "externalLink" href = "http://www.smileycat.com/index.php">Christian Watson</a>.</p>
<p>Here is a simple <a class="externalLink" href = "http://www.javascriptworkshop.com/PHPWebHost/CSS_Hover_Boxes/index.html">example</a> and the <a href = "http://www.javascriptworkshop.com/PHPWebHost/CSS_Hover_Boxes/ClickableBoxes.zip">code</a> (.zip).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2007/03/02/actionscript-20-oop-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Float &#8211; Video Tutorials</title>
		<link>http://www.javascriptworkshop.com/2007/02/13/css-floats-video-review/</link>
		<comments>http://www.javascriptworkshop.com/2007/02/13/css-floats-video-review/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 05:33:55 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Video tutorials]]></category>
		<category><![CDATA[Floats]]></category>
		<category><![CDATA[video tutorials]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=95</guid>
		<description><![CDATA[I know the basics of CSS (Cascading Style Sheets), but beyond that I sometimes need to bumble and fumble around looking for answers in books or online. One aspect of CSS that gives me some occasional problems (and I&#8217;m sure others as well) are floats. When you float an element, it becomes a block-level element [...]]]></description>
			<content:encoded><![CDATA[<p>I know the basics of CSS (Cascading Style Sheets), but beyond that I sometimes need to bumble and fumble around looking for answers in books or online. One aspect of CSS that gives me some occasional problems (and I&#8217;m sure others as well) are floats. </p>
<p>When you float an element, it becomes a block-level element that can then be shifted to the left or right on the current line.  A floated box is laid out according to the normal flow of elements, but it&#8217;s then taken out of the flow and shifted to the left or right as far as the containing element will allow.  Floats are a must for placing images in context, creating columns and other neat design ideas. </p>
<p><span id="more-95"></span></p>
<p>Here are some videos (.zip) narrated by Andy Clarke and Molly Holzchlag that will teach you the basics of floats.</p>
<p><a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Floating_Columns_Video.zip">Floating columns</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Floating_Elements_Video.zip">Floating elements</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Clearing_Floats_Video.zip">Clearing floats</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/Floated_Layout_Video.zip">Floated web layout</a></p>
<p>Here are some really good articles (.pdf) on different aspects of floats as well:</p>
<p><a class = "externalLink" href="http://www.javascriptworkshop.com/wp-content/uploads/pdf/Float_The_Theory.pdf">Floating Theory</a>&nbsp;&nbsp;&nbsp;<a class = "externalLink" href="http://www.javascriptworkshop.com/wp-content/uploads/pdf/Float_Images_Within_Text.pdf">Floating Images within Text</a> &nbsp;&nbsp;<a class = "externalLink" href="http://www.javascriptworkshop.com/wp-content/uploads/pdf/Clearing_Floats.pdf">Clearing Floats</a> &nbsp; &nbsp;<a class = "externalLink" href="http://www.javascriptworkshop.com/wp-content/uploads/pdf/Float_Tricks.pdf">Float Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2007/02/13/css-floats-video-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: Multi-class Attributes</title>
		<link>http://www.javascriptworkshop.com/2007/01/25/multi-class-attributes/</link>
		<comments>http://www.javascriptworkshop.com/2007/01/25/multi-class-attributes/#comments</comments>
		<pubDate>Thu, 25 Jan 2007 00:26:21 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=224</guid>
		<description><![CDATA[HTML attributes tend to just have a single class assigned, but this doesn&#8217;t mean that that&#8217;s all you&#8217;re allowed. You can combine as many classes as you wish, meaning a CSS palette containing just a few basic ingredients can leand to a much wider range of styles if combined intelligently. Classes should be separated with [...]]]></description>
			<content:encoded><![CDATA[<p>HTML attributes tend to just have a single class assigned, but this doesn&#8217;t mean that that&#8217;s all you&#8217;re allowed.  You can combine as many classes as you wish, meaning a CSS palette containing just a few basic ingredients can leand to a much wider range of styles if combined intelligently.</p>
<p>Classes should be separated with a space, not a comma.  If any style rules overlap between the classes, a class further down the CSS document will always override those above.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;h6 class<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;boxout highlighted&quot;</span><span style="color: #00AA00;">&gt;</span>...&lt;/h6<span style="color: #00AA00;">&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2007/01/25/multi-class-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Basics 101 &#8211; Video Tutorials</title>
		<link>http://www.javascriptworkshop.com/2007/01/04/css-basics-video-tutorials/</link>
		<comments>http://www.javascriptworkshop.com/2007/01/04/css-basics-video-tutorials/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 02:55:43 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Video tutorials]]></category>
		<category><![CDATA[video tutorials]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/2007/01/04/css-basics-video-tutorials/</guid>
		<description><![CDATA[If you want to build modern web sites, you need to know about Cascading Style Sheets (CSS). CSS gives you the power to style and lay out web sites so they are usable, compact, good looking, well structured, and easy to maintain. The basic purpose of CSS is to allow the designer to define style [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to build modern web sites, you need to know about Cascading Style Sheets (CSS). CSS gives you the power to style and lay out web sites so they are usable, compact, good looking, well structured, and easy to maintain.  </p>
<p>The basic purpose of CSS is to allow the designer to define <strong>style declarations</strong>, and to apply those styles to selected portions of HTML pages using <strong>selectors</strong> which are references to an element or grop of elements to which the style is applied.</p>
<p><span id="more-199"></span></p>
<p>Style sheets allow style information to be specified in many ways. Styles can be specified inside a single HTML element, inside the <head> element of an HTML page, or in an external CSS file. Even multiple external style sheets can be referenced inside a single HTML document.</p>
<p>The CSS syntax is made up of three parts: a selector, a property and a value:</p>
<p>selector {property: value}</p>
<p>The selector is normally the HTML element/tag you wish to define, the property is the attribute you wish to change, and each property can take a value. The property and value are separated by a colon, and surrounded by curly braces.</p>
<p>To get a jump start on learning the basics of CSS check out these video tutorials (.zip):</p>
<p><a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/CSS_Selectors.zip">Selectors</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/CSS_Advanced_Selectors.zip">Advanced Selectors</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/CSS_Text_Properties_1.zip">Text Properties pt.1</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/CSS_Text_Properties_2.zip">Text Properties pt.2</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/CSS_Inheritance.zip">Inheritance</a><br />
<a href="http://www.javascriptworkshop.com/wp-content/uploads/zip/CSS_Cascade.zip">The Cascade</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2007/01/04/css-basics-video-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: Conditional Commenting</title>
		<link>http://www.javascriptworkshop.com/2006/12/01/conditional-comments/</link>
		<comments>http://www.javascriptworkshop.com/2006/12/01/conditional-comments/#comments</comments>
		<pubDate>Fri, 01 Dec 2006 00:18:59 +0000</pubDate>
		<dc:creator>Frank Stepanski</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[conditional commenting]]></category>
		<category><![CDATA[CSS hacks]]></category>

		<guid isPermaLink="false">http://www.javascriptworkshop.com/?p=223</guid>
		<description><![CDATA[A common selling point when explaining the benefits of CSS to a client, is that their site will look identical across all platforms Anyone using Internet Explorer 6 however, will soon realize that this is a slight fib. Fortunately, IE contains a feature called &#8216;conditional commenting&#8217;. Simply make yourself a new IE6 friendly stylesheet, include [...]]]></description>
			<content:encoded><![CDATA[<p>A common selling point when explaining the benefits of CSS to a client, is that their site will look identical across all platforms  Anyone using Internet Explorer 6 however, will soon realize that this is a slight fib.</p>
<p>Fortunately, IE contains a feature called &#8216;conditional commenting&#8217;.  Simply make yourself a new IE6 friendly stylesheet, include it in your page as usual and wrap it in a conditional comment to hide it from everything except the guilty browser.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;!--<span style="color: #00AA00;">&#91;</span>if IE <span style="color: #cc66cc;">6</span><span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">&gt;</span>
&lt;link rel<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylehseet&quot;</span> type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;ie6styles.css&quot;</span> /<span style="color: #00AA00;">&gt;</span>
&lt;!<span style="color: #00AA00;">&#91;</span>endif<span style="color: #00AA00;">&#93;</span>--<span style="color: #00AA00;">&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.javascriptworkshop.com/2006/12/01/conditional-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

