<?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>Build A Successful Web Site &#187; CSS Tutorials</title>
	<atom:link href="http://buildasuccessfulwebsite.com/category/css-tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://buildasuccessfulwebsite.com</link>
	<description>Build a Web Site &#124; Learn how to direct traffic to your web site.</description>
	<lastBuildDate>Mon, 05 Jul 2010 16:39:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS &#8211; Create Custom Headers</title>
		<link>http://buildasuccessfulwebsite.com/css-tutorials/css-create-custom-headers</link>
		<comments>http://buildasuccessfulwebsite.com/css-tutorials/css-create-custom-headers#comments</comments>
		<pubDate>Mon, 05 Apr 2010 20:37:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[custom headers]]></category>

		<guid isPermaLink="false">http://buildasuccessfulwebsite.com/?p=315</guid>
		<description><![CDATA[It is a great idea to use custom headers within your HTML document. It is important to put your web page keywords in a header for better search engine optimization. Changing the way your header looks is easy with CSS (cascading style sheets). Heading one tags are considered to be the most important tags by [...]


Related posts:<ol><li><a href='http://buildasuccessfulwebsite.com/css-tutorials/css-head-section' rel='bookmark' title='Permanent Link: CSS Head Section'>CSS Head Section</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It is a great idea to use custom headers within your HTML document. It is important to put your web page keywords in a header for better search engine optimization. Changing the way your header looks is easy with CSS (cascading style sheets). Heading one tags are considered to be the most important tags by the search engines. Heading 2 tags are less important and Heading 3 tags are usually headings withing a Heading 1 or Heading 2 tag.</p>
<p>Let&#8217;s say your web page is about hotels in Ontario, and you decide to make that your heading.</p>
<p>The HTML for that would be:</p>
<p>&lt;h1&gt; Hotels in Ontario &lt;/h1&gt;</p>
<p>To change the appearance of Heading 1, Heading 2 and Heading 3 tags, create a rule for them in your css page or within your HTML document.</p>
<p>If you do not have an CSS file, you can add this somewhere  between the head tags in your HTML page (top section).</p>
<p>&lt;style&gt;</p>
<p>H1 {<br />
font-size: 20px;<br />
color: #2a2a2a;<br />
margin-top:-10px;  /* this takes away some of the space that browsers will give to a h1 tag */<br />
margin-bottom:-15px;<br />
width: 240px; /* this is the width of the image */<br />
height: 10px; /* this is the height of the image */<br />
background: url( include the url of your image, for example, http://www.mysite.com/images/my_image.gif between these brackets) no-repeat;</p>
<p>}<br />
&lt;/style&gt;</p>
<p>If you have created a CSS file add this rule to the file by copying and pasting the following code:</p>
<p>H1 {<br />
font-size: 20px;<br />
color: #2a2a2a;  /* this is the font colour  */<br />
margin-top:-10px;  /* this takes away some of the space that browsers will give to a h1 tag */<br />
margin-bottom:-15px;<br />
width: 240px; /* this is the width of the image */<br />
height: 10px; /* this is the height of the image */<br />
background: url( include the url of your image, for example, http://www.mysite.com/images/my_image.gif between these brackets) no-repeat;</p>
<p>You can customize your header further by creating a cool background in Photoshop CS4, or another graphics editing program. Add a gradient to the image and make your headings stand out.  Save it as a gif file, upload it to your server, refer to it, and you are finished!</p>


<p>Related posts:<ol><li><a href='http://buildasuccessfulwebsite.com/css-tutorials/css-head-section' rel='bookmark' title='Permanent Link: CSS Head Section'>CSS Head Section</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buildasuccessfulwebsite.com/css-tutorials/css-create-custom-headers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Head Section</title>
		<link>http://buildasuccessfulwebsite.com/css-tutorials/css-head-section</link>
		<comments>http://buildasuccessfulwebsite.com/css-tutorials/css-head-section#comments</comments>
		<pubDate>Sun, 04 Apr 2010 01:08:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[head section]]></category>

		<guid isPermaLink="false">http://buildasuccessfulwebsite.com/?p=307</guid>
		<description><![CDATA[In this CSS tutorial I will teach you some simple cascading style sheet codes that you can use in your HTML documents to spice them up a little. By the end of this tutorial, your web page will no longer be simply black and white. The first thing you need to do is create a [...]


Related posts:<ol><li><a href='http://buildasuccessfulwebsite.com/css-tutorials/what-is-css' rel='bookmark' title='Permanent Link: What is CSS?'>What is CSS?</a></li>
<li><a href='http://buildasuccessfulwebsite.com/html_tutorials/html-tags-reference/html-tags-reference' rel='bookmark' title='Permanent Link: HTML Tags Reference'>HTML Tags Reference</a></li>
<li><a href='http://buildasuccessfulwebsite.com/html_tutorials/html-head-setup' rel='bookmark' title='Permanent Link: HTML Head Setup'>HTML Head Setup</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In this CSS tutorial I will teach you some simple cascading style sheet codes that you can use in your HTML documents to spice them up a little. By the end of this tutorial, your web page will no longer be simply black and white.</p>
<p>The first thing you need to do is create a CSS page and refer to it in your HTML page. This information is found in my <a title="What is CSS?" href="http://buildasuccessfulwebsite.com/css-tutorials/what-is-css" target="_blank"><strong>What is CSS?</strong></a> (link opens in a new window) post.</p>
<p>Open the CSS document/script in your favourite HTML editor.</p>
<p>Then add this code to the page:</p>
<p>body {</p>
<p>margin: 0;</p>
<p>padding: 0;</p>
<p>line-height: 1.5em;</p>
<p>font-family: Arial, Helvetica, sans-serif;</p>
<p>font-size: 12px;</p>
<p>color: #ffffff;</p>
<p>background: #2a2a2a;</p>
<p>}</p>
<p>If you are working in DreamWeaver, save the CSS file onto your server. Or, if you do own DreamWeaver, save your HTML document, open your favourite FTP client and upload your file there. If you do not know what I am talking about look read my <strong>tutorial on FTP clients</strong>.</p>
<p>Now, what you need to do is view the HTML page that refers the CSS file that you saved on your server. For example if the HTML file you saved to your server is called index.html (your homepage) then make sure the page refers to your CSS file. For example,  the code could be &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=<a href="http://www.yoursite.com/your_css_page.css">http://www.yoursite.com/your_css_page.css</a> /&gt;</p>
<p>If it your HTML page links properly to your CSS page, then the body of your page should look different.</p>
<p>Let me explain what you have done.</p>
<p>You have told an internet browser how to display the content between the two body HTML tags (&lt;head&gt; and &lt;/head&gt;) on your web page.  Now it knows that the margins are 0 pixels and that there is no padding.  You can play with this by changing the value to 10 or 20 pixels. See what happens when you save it to your server.</p>
<p>The font for the document is Arial, Helvetica, sans-serif, and the font size is 12 pixels. This is the default font size of your page. The colour of your font is white and your background is charcoal black.</p>
<p>Every colour is a combination of numbers, letters, or numbers and letters.  So if you change the colour #2a2a2a to #2f2f2f the colour will be come closer to black (much darker).</p>
<p>White is #ffffff and black is #000000. Sometimes you will see black written as #000 and white as #fff. I would write them with all six numbers or letters. It only takes slightly longer.</p>
<p>Never forget the number symbol or #. Otherwise, your colour will not appear.  Do not forget these two { } symbols either.</p>
<p>ORGANIZING YOUR CSS PAGE</p>
<p>One way in which to organize your CSS is to write multiple pages. Another way to keep it neat and tidy is to add comments that help you remember what codes you have written for what pages or sections within your HTML pages.  For example the comment /* header section*/ may help you quickly find the code for your header section.</p>
<p>The better you become at writing CSS, the more complicated your page will become. So, keeping your code neat and tidy is important.</p>
<p>I need a break from writing.  Another day I will continue explaining some other CSS codes which you can use and what they will do to your HTML page.  Maybe you would like to use tables to spruce up your page, or maybe you would like to learn how to place a nice coloured border around your image. Or perhaps want to spruce up your header section, or change the colour of your links.</p>


<p>Related posts:<ol><li><a href='http://buildasuccessfulwebsite.com/css-tutorials/what-is-css' rel='bookmark' title='Permanent Link: What is CSS?'>What is CSS?</a></li>
<li><a href='http://buildasuccessfulwebsite.com/html_tutorials/html-tags-reference/html-tags-reference' rel='bookmark' title='Permanent Link: HTML Tags Reference'>HTML Tags Reference</a></li>
<li><a href='http://buildasuccessfulwebsite.com/html_tutorials/html-head-setup' rel='bookmark' title='Permanent Link: HTML Head Setup'>HTML Head Setup</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buildasuccessfulwebsite.com/css-tutorials/css-head-section/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is CSS?</title>
		<link>http://buildasuccessfulwebsite.com/css-tutorials/what-is-css</link>
		<comments>http://buildasuccessfulwebsite.com/css-tutorials/what-is-css#comments</comments>
		<pubDate>Wed, 10 Mar 2010 02:10:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tutorials]]></category>
		<category><![CDATA[css tutorial]]></category>
		<category><![CDATA[what is css]]></category>

		<guid isPermaLink="false">http://buildasuccessfulwebsite.com/?p=302</guid>
		<description><![CDATA[So what is CSS anyways? CSS stands for Cascading Style Sheets. These style sheets are used to control how your web site&#8217;s text, borders, headers, links, background, and other HTML elements look. You can add CSS within the HTML of your page, or save it as a separate css documet. I would keep it out [...]


Related posts:<ol><li><a href='http://buildasuccessfulwebsite.com/html_tutorials/html-tags-reference/html-tags-reference' rel='bookmark' title='Permanent Link: HTML Tags Reference'>HTML Tags Reference</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So what is CSS anyways? CSS stands for Cascading Style Sheets. These style sheets are used to control how your web site&#8217;s text, borders, headers, links, background, and other HTML elements look.</p>
<p>You can add CSS within the HTML of your page, or save it as a separate css documet. I would keep it out of your HTML document, simply because it will make working with your codes that much more confusing.</p>
<p>To refer to a CSS file on your web server is very easy.  Place this code just before your &lt;/head&gt; tag.</p>
<p id="line1"><span style="color: #888888;"><span style="color: #ff6600;">&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;<strong>AND PLACE THE HTML LINK HERE EXAMPLE: http://www.mywebsite.com/stylesheet.css</strong>&#8221; /&gt;</span></span></p>
<p>Remember to save your file onto your server FIRST. Otherwise your HTML document will look very funny.</p>


<p>Related posts:<ol><li><a href='http://buildasuccessfulwebsite.com/html_tutorials/html-tags-reference/html-tags-reference' rel='bookmark' title='Permanent Link: HTML Tags Reference'>HTML Tags Reference</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buildasuccessfulwebsite.com/css-tutorials/what-is-css/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
