<?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 Tutorial &#187; admin</title>
	<atom:link href="http://www.csstutorial.net/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csstutorial.net</link>
	<description>CSS Tutorial</description>
	<lastBuildDate>Mon, 30 Jan 2012 06:00:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Making Web Pages Printable with CSS</title>
		<link>http://www.csstutorial.net/2010/02/making-web-pages-printable-with-css/</link>
		<comments>http://www.csstutorial.net/2010/02/making-web-pages-printable-with-css/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 18:54:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Misc]]></category>
		<category><![CDATA[Killer CSS Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=173</guid>
		<description><![CDATA[<img src="http://www.csstutorial.net/wp-content/uploads/2010/02/printer.png" alt="" title="printer" width="128" height="128" class="alignright size-full wp-image-200" style="float: right;margin: 10px;"/>

In 2003 I wrote an article on how to use CSS to make web pages printable. I figure that it made sense to include it here ... the article:

One of the classic problems with how web pages are designed, is that they are horrible to print. Horrible in the sense that page elements (text, images, etc.) don't line up and unwanted images and navigation links get printed.

I am as guilty as anyone of creating pages like that, but I am aiming to fix it for your websites and mine. While most other web designers will create separate 'printable' pages (big waste of time), we will only be making some simple additions to our pages to make them 'print friendly'. 
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.csstutorial.net/wp-content/uploads/2010/02/printer.png" alt="" title="printer" width="128" height="128" class="alignright size-full wp-image-200" style="float: right;margin: 10px;"/></p>
<p>Introduction:</p>
<p>In 2003 I wrote an article on how to use CSS to make web pages printable. I figure that it made sense to include it here &#8230; the article:</p>
<p>One of the classic problems with how web pages are designed, is that they are horrible to print. Horrible in the sense that page elements (text, images, etc.) don&#8217;t line up and unwanted images and navigation links get printed.</p>
<p>I am as guilty as anyone of creating pages like that, but I am aiming to fix it for your websites and mine. While most other web designers will create separate &#8216;printable&#8217; pages (big waste of time), we will only be making some simple additions to our pages to make them &#8216;print friendly&#8217;. </p>
<p>Basic ideas:</p>
<p>    * People will print your pages typically to be able to read the content, not to see pictures. You need to hide all images from the printer and this is done in the print style sheet. I will explain what the print style sheet is in a moment.<br />
    * Navigational elements are not needed in the printed document as well, so all navigational elements should be removed from the printed page.<br />
    * Let&#8217;s say you designed your pages with a black background with white text. You don&#8217;t want peoples printers printing all that black, they won&#8217;t be too happy with the price of ink these days! To solve this problem, in our print style sheet we will set the page color to &#8216;white&#8217; and the text color to &#8216;black&#8217;.</p>
<p>The &#8216;print style sheet&#8217;:</p>
<p>I&#8217;ve mentioned the &#8216;print style sheet&#8217; a few times with no explanation; let&#8217;s take care of that now: </p>
<p><strong>CSS today allows you to link to more than one style sheet in your web page.</strong></p>
<p>The simple reason you would want to do this is so that you could have the HTML page &#8216;change&#8217; its appearance automatically when someone visits your page with a particular type of device. These types of devices can include a typical desktop computer, a PDA (Windows CE device, Palm Pilot, etc.) and a printer among other devices!</p>
<p>It works like this; when you link a style sheet to your HTML page, there is an attribute that you can specify in the CSS link tag that tells the device reading your page if it should use the style sheet specified in the link.</p>
<p>So the wise men and women that came up with the CSS specification, came up with a few ideas for device types that could be specified in the CSS link. For the sake of this short article we are concerned with only two of them:</p>
<p>1: &#8216;print&#8217;</p>
<p>2. &#8216;screen&#8217;</p>
<p>Here&#8217;s a sample pair of CSS links that point to different style sheets, one for the printer to use and the other for a normal PC monitor to use &#8230;</p>
<p>You can check out the rest of the tutorial on <a href="http://www.killersites.com/articles/newsletterArchive/Newsletter_Nov3_2003.htm">making web page printable with CSS</a> on Killersites.com.</p>
<p>Thanks for reading,</p>
<p>Stefan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/02/making-web-pages-printable-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Font Sizes</title>
		<link>http://www.csstutorial.net/2010/02/css-font-sizes/</link>
		<comments>http://www.csstutorial.net/2010/02/css-font-sizes/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 22:13:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[CSS Fonts]]></category>
		<category><![CDATA[Killer CSS Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=253</guid>
		<description><![CDATA[In this tip, you will learn how to specify a font's size with CSS.

Being a practical nerd, I will not waste time talking about all the various methods for declaring font sizes with CSS ... instead I will concentrate on the two widely used ways and then briefly explain the differences.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.csstutorial.net/wp-content/uploads/2010/02/008.png" alt="" title="css-and-fonts" width="128" height="128" class="alignright size-full wp-image-244" style="float: right; margin: 10px;" /></p>
<p>In this tip, you will learn how to specify a font&#8217;s size with CSS.</p>
<p>Being a practical nerd, I will not waste time talking about all the various methods for declaring font sizes with CSS &#8230; instead I will concentrate on the two widely used ways and then briefly explain the differences. First, the two main methods:</p>
<ol>
<li>By pixel</li>
<li>By em</li>
</ol>
<p><strong>What is the difference between and EM and a pixel?</strong></p>
<p>Pixels are an absolute measure of a font&#8217;s size and an EM is a relative measure &#8211; that means the actual pixel size of the font (as they appear on screen) set with EM&#8217;s, can fluctuate. This makes using EM&#8217;s trickier. So the nerd answer is NOT to use EMs! </p>
<p>Let&#8217;s look at a quick EM example anyway:</p>

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

<p>So the above would cause the fonts to be about 20% larger than the baseline font size &#8211; thus 1.2em. I am not going to go into all the nerd details about EM&#8217;s because I think pixels are the way to go. </p>
<p>Let&#8217;s look at a quick pixel example:</p>

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

<p>Thanks,</p>
<p>Stefan Mischook</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/02/css-font-sizes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS Font Color</title>
		<link>http://www.csstutorial.net/2010/02/css-font-color/</link>
		<comments>http://www.csstutorial.net/2010/02/css-font-color/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:50:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Fonts]]></category>
		<category><![CDATA[Killer CSS Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=234</guid>
		<description><![CDATA[In this ultra simple nerd-free CSS tip, I will show you how to change the color of your fonts with CSS. Check out the samples: h2 &#123; color: green; &#125; &#160; h4 &#123; color: #9000A1; &#125; &#160; p &#123; color: rgb&#40;0, 210, 87&#41;; &#125; Comments: You are able to specify the color in either: by [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.csstutorial.net/wp-content/uploads/2010/02/008.png" alt="" title="css-and-fonts" width="128" height="128" class="alignright size-full wp-image-244" style="float: right; margin: 10px;" /></p>
<p>In this ultra simple nerd-free CSS tip, I will show you how to change the color of your fonts with CSS.</p>
<p><span id="more-234"></span></p>
<p>Check out the samples:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">h2 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">green</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
h4 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#9000A1</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span> 
&nbsp;
p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">rgb</span><span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">210</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">87</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Comments:</p>
<p>You are able to specify the color in either:</p>
<ul>
<li>by Named color</li>
<li>by Hexadecimal</li>
<li>by RGB</li>
</ul>
<p>Thanks,</p>
<p>Stefan Mischook</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/02/css-font-color/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Killer CSS Tips and Tricks &#8211; Introduction</title>
		<link>http://www.csstutorial.net/2010/02/killer-css-tips-and-tricks-introduction/</link>
		<comments>http://www.csstutorial.net/2010/02/killer-css-tips-and-tricks-introduction/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:38:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Killer CSS Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=220</guid>
		<description><![CDATA[<img src="http://www.csstutorial.net/wp-content/uploads/2010/02/095.png" alt="" title="css tips and tricks" width="128" height="128" class="alignright size-full wp-image-223" style="float: right; margin:10px;" />

Hi,

I wanted to introduce this new series of articles, videos and the occasional podcast that will cover all sorts of cool CSS techniques. You will find things as simple as styling links, to complete page layout strategies.

This growing collection of CSS tips, tricks and techniques can used to learn CSS and then later, you can use them as a cookbook of recipes you can refer to. ]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.csstutorial.net/wp-content/uploads/2010/02/095.png" alt="" title="css tips and tricks" width="128" height="128" class="alignright size-full wp-image-223" style="float: right; margin:10px;" /></p>
<p>Hi,</p>
<p>I wanted to introduce this new series of articles, videos and the occasional podcast that will cover all sorts of cool CSS techniques. You will find things as simple as styling links, to complete page layout strategies.</p>
<p>This growing collection of CSS tips, tricks and techniques can used to learn CSS and then later, you can use them as a cookbook of recipes you can refer to. </p>
<p>Thanks for reading,</p>
<p>Stefan Mischook</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/02/killer-css-tips-and-tricks-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 ways to add CSS code to your web pages</title>
		<link>http://www.csstutorial.net/2010/02/css-in-webpages/</link>
		<comments>http://www.csstutorial.net/2010/02/css-in-webpages/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 17:04:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Basics]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=186</guid>
		<description><![CDATA[For some of you, this may sound like a real lame article. But you ought to give it a chance because I don&#8217;t write about stuff you&#8217;ll never use! I avoid marginal, nerd centric ivory tower blather like a cat avoids water. I&#8217;ve read hundreds (sadly, this is true) of those 2-inch thick nerd books [...]]]></description>
			<content:encoded><![CDATA[<p>For some of you, this may sound like a real lame article. But you  ought to give it a chance because I don&#8217;t write about stuff you&#8217;ll never use! I avoid marginal, nerd centric ivory tower blather like a cat avoids water.</p>
<p>I&#8217;ve read hundreds (sadly, this is true) of those 2-inch thick nerd  books (I don&#8217;t get out much) and I can&#8217;t stand it when people waste  paper on that kind of generally useless stuff. So read on, eager  student, and you will be well on your way to building your own killer  web sites! <img src='http://www.csstutorial.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The wise people who created CSS came up with 3 basic ways for you to  use CSS in your web pages:</p>
<h3>1. With an external file that you link to in your web page:</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;myCSSfile.css&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span>&gt;</span></pre></div></div>

<p>or using the import method:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all&quot;</span>&gt;</span>
   @import &quot;myCSSfile.css&quot;;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span></pre></div></div>

<p>Why use the import method versus the link method when using external  style sheets? Use the import method if you want to support really old  browsers like Netscape 4.0.</p>
<p>Read the rest of the <a href="http://www.csstutorial.net/css_misc_inserting.php">3 ways to add CSS code to your web pages</a>.</p>
<p>Thanks,</p>
<p>Stefan Mischook</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/02/css-in-webpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inserting Images with CSS</title>
		<link>http://www.csstutorial.net/2010/02/inserting-images-with-css/</link>
		<comments>http://www.csstutorial.net/2010/02/inserting-images-with-css/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 16:29:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Basics]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=178</guid>
		<description><![CDATA[This article assumes that you know at least basic HTML; you know what a tag is and how to use simple tags like the &#60;img&#62; or the &#60;p&#62; tag. If this is confusing you, you need to read my tutorial for total beginners on web design &#8211; it&#8217;s really easy and people seem to like [...]]]></description>
			<content:encoded><![CDATA[<p>This article assumes that you know at least basic HTML; you know what  a tag is and how to use simple tags like the &lt;img&gt; or the &lt;p&gt; tag. If this is confusing you, you need to read my tutorial  for total beginners on <a href="http://www.how-to-build-websites.com/">web design</a> &#8211; it&#8217;s really easy and people seem to  like it, so give it go!</p>
<p>You can read the rest of <a href="http://www.csstutorial.net/css_misc_images.php">inserting images with css</a>.</p>
<p>Thanks,</p>
<p>Stefan Mischook</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/02/inserting-images-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

