<?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>ThatGuyCharlie &#124; Charlie Mathews Blog &#38; Portfolio &#187; HTML</title>
	<atom:link href="http://www.thatguycharlie.com/category/how-to/html-how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thatguycharlie.com</link>
	<description>Charlie Mathews Blog &#38; Portfolio</description>
	<lastBuildDate>Fri, 28 Oct 2011 05:05:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to Create a CSS Stylesheet</title>
		<link>http://www.thatguycharlie.com/2009/how-to-create-a-css-stylesheet/</link>
		<comments>http://www.thatguycharlie.com/2009/how-to-create-a-css-stylesheet/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 06:01:47 +0000</pubDate>
		<dc:creator>Charlie</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css stylesheet]]></category>
		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://www.thatguycharlie.com/?p=923</guid>
		<description><![CDATA[Although simple, this is a question I&#8217;ve been asked numerous times by learner developers. This &#8220;tutorial&#8221; assumes you have also never created a html and css webpage before because the two facets are so closely linked. About Firstly, you need to understand what CSS is. CSS stands for Cascading StyleSheet and it is the key [...]]]></description>
			<content:encoded><![CDATA[<p>Although simple, this is a question I&#8217;ve been asked numerous times by learner developers. This &#8220;tutorial&#8221; assumes you have also never created a html and css webpage before because the two facets are so closely linked.</p>
<h2>About</h2>
<p>Firstly, you need to understand what CSS is. CSS stands for Cascading StyleSheet and it is the key element of web development. CSS is used to tell a webpage how you want it to look. It can be used to define id&#8217;s, classes, and other html elements.</p>
<p>You can load a stylesheet in html using this code:</p>
<p style="padding-left: 30px;"><span style="font-size: x-small;"><em>&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;yourstyle.css&#8221;/&gt; </em></span></p>
<h2>Example</h2>
<p>Now, an example. Create a new file in notepad or a similar text editor and save it as <span style="text-decoration: underline;">style.css</span> to a folder on your computer. Repeat this and create another file called <span style="text-decoration: underline;">index.html</span> and save it to the same folder as your style.css file. <span id="more-923"></span>Open your index.html in a text editor and add this code:</p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;html&gt;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;head&gt;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;title&gt;My First Webpage&lt;/title&gt;</span></em></p>
<p style="padding-left: 30px;"><span style="font-size: x-small;"><em>&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;style.css&#8221;/&gt; </em></span></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;/head&gt;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;body&gt;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;"><strong>&lt;div class=&#8221;mybox&#8221;&gt;Sample Text&lt;/div&gt;</strong><br />
 </span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;/body&gt;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">&lt;/html&gt;</span></em></p>
<p>As you can see, we have added a &lt;div&gt; element with a class of &#8220;mybox&#8221;. Now, open your style.css and add the div class by typing this code.</p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">.mybox {</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">width: 100px ;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">height: 100px;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">background-color: #000000 ;<br />
 </span></em></p>
<p style="padding-left: 30px;"><em><span style="font-size: x-small;">}</span></em></p>
<p>Save your style.css and index.html.</p>
<h2>Explanation</h2>
<p>What you have just done is told the &#8220;mybox&#8221; class to be 100 pixels high by 100 pixels wide with a background color of black (which is the same as #000000). Double click index.html and it will open in your default web browser. See your black box? Pretty cool, hu?</p>
<p>There are hundreds of ways and commands you can use in CSS so I&#8217;d recommend reading more about CSS at <a href="http://www.w3schools.com/Css/default.asp">W3Schools</a>. Have fun!</p>
<img src="http://www.thatguycharlie.com/?ak_action=api_record_view&id=923&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.thatguycharlie.com/2009/how-to-create-a-css-stylesheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace Form Buttons with Images</title>
		<link>http://www.thatguycharlie.com/2009/replace-form-buttons-with-images/</link>
		<comments>http://www.thatguycharlie.com/2009/replace-form-buttons-with-images/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 21:54:20 +0000</pubDate>
		<dc:creator>Charlie</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[form button]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://www.vividperfection.com/?p=517</guid>
		<description><![CDATA[&#8220;Replace the Form submit button with an image&#8221; When designing a form with a submit button, how do you utilize an image for the button instead of using a plain ol&#8217; grey box? No problem, just use this code: &#60;input name=&#8221;optional&#8221; src=&#8221;picture.gif&#8221; type=&#8221;image&#8221; /&#62;]]></description>
			<content:encoded><![CDATA[<p>&#8220;Replace the Form submit button with an image&#8221;</p>
<p><strong>When designing a form with a submit button, how do you utilize an  	image for the button instead of using a plain ol&#8217; grey box?</strong></p>
<p>No problem, just use this code:</p>
<blockquote><p>&lt;input name=&#8221;optional&#8221; src=&#8221;picture.gif&#8221; type=&#8221;image&#8221; /&gt;</p>
</blockquote>
<img src="http://www.thatguycharlie.com/?ak_action=api_record_view&id=517&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.thatguycharlie.com/2009/replace-form-buttons-with-images/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

