<?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>2 Create a Website Blog &#187; creating tables</title>
	<atom:link href="http://blog.2createawebsite.com/tag/creating-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.2createawebsite.com</link>
	<description>Your guide to building, promoting and monetizing blogs and websites.</description>
	<lastBuildDate>Thu, 09 Sep 2010 21:30:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Creating HTML Tables The Easy Way</title>
		<link>http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/</link>
		<comments>http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 19:19:38 +0000</pubDate>
		<dc:creator>lisa</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[creating tables]]></category>
		<category><![CDATA[CSS tables]]></category>
		<category><![CDATA[div class tables]]></category>
		<category><![CDATA[style sheets]]></category>

		<guid isPermaLink="false">http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/</guid>
		<description><![CDATA[I often talk about how I&#8217;m not very technically inclined and not anywhere close to being a programmer. I keep my designs simple because I enjoy writing much more than figuring out the techy stuff. While I use CSS on 2CreateAWebSite.com for my links, headings, colors, etc. I&#8217;ve never taken full advantage of its capabilities. [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I often talk about how I&#8217;m not very technically inclined and not anywhere close to being a programmer.   I keep my designs simple because I enjoy writing much more than figuring out the techy stuff.</p>
<p>While I use CSS on 2CreateAWebSite.com for my links, headings, colors, etc.  I&#8217;ve never taken full advantage of its capabilities.</p>
<p>And while I&#8217;ve read how much easier CSS makes managing tables, I usually ignored it and kept building my tables in HTML &#8211; a.k.a. the old fashioned way.</p>
<p><strong>[sidebar]</strong></p>
<p>CSS stands for Cascading Style Sheets and it&#8217;s a page that sits on your server that tells the browser how to apply different style attributes on your site.</p>
<p>From hyperlink colors, font size,  margin widths, line spacing, you name it.  You can do everything with CSS and it&#8217;s very convenient  because when you edit an attribute on your style sheet, it automatically updates that style on your entire site.</p>
<p><strong>[/end sidebar] </strong></p>
<p>Well, my site&#8217;s most recent template came with a style sheet and had a few table styles already declared.  In English, that simply means if I use the appropriate tag from the style sheet, I could generate a table on my site.</p>
<p>I won&#8217;t go into creating an entire style sheet in this blog post.  There are several sites out there that can give you the basics and even a free template to start with.  <a href="http://www.w3schools.com/css/default.asp" target="_blank">W3Schools has some great tutorials</a>.  I just want to show you how easy it is to create a table and define its style so it makes updating your site a breeze.</p>
<p>In my style sheet, here&#8217;s the following code that defines how my tables look.</p>
<p><strong>.table {</strong></p>
<p><strong>background:#EED9A8;</strong></p>
<p><strong>color: #000000;</strong></p>
<p><strong>border:1px solid #D29C1A;</strong></p>
<p><strong>width: 430px;</strong></p>
<p><strong>}</strong></p>
<p>The above code is what goes inside my style sheet to tell the browser how to display the table on my site.  Notice it defines the background color, text color, border size, border color and table width.</p>
<p>Of course there are other attributes you can add to the table if you wish (padding, etc.), but it&#8217;s up to you how many or few attributes you&#8217;d like to use.</p>
<p>Now, in order to display the table on my site, I simply add the following code inside my HTML page&#8230;</p>
<p>&lt;div class=&#8221;table&#8221;&gt;  Insert text inside table  &lt;/div&gt;</p>
<p>That small bit of code will render a table with the attributes I declared in my style sheet.  Notice the div class is named &#8220;table&#8221; because that&#8217;s what I called it in my stylesheet.  Had I named it table5, then I would have used <nobr>&lt;div class=&#8221;table5&#8243;&gt;.</nobr></p>
<p>As I mentioned before, the beauty of using CSS for tables is when you&#8217;re ready to update your table designs, you simply change the attributes in your style sheet, and <em>Voila!</em> &#8211; you&#8217;ve implemented a global table change throughout your site.</p>
<p>So if you aren&#8217;t using style sheets yet, I hope I&#8217;ve given you enough of a preview to whet your appetite.  Using CSS allows you to make global template changes in a heartbeat and it helps your pages load faster too.</p>
<p>Head on over to <a href="http://www.w3schools.com/css/default.asp" target="_blank">W3Schools&#8217; site</a> to learn more.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Check+out+@2createawebsite+Creating+HTML+Tables+The+Easy+Way+http://bit.ly/dirW1" title="Post This Article to Twitter"><img class="nothumb" src="http://blog.2createawebsite.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://digg.com/submit?url=http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/&amp;title=Creating+HTML+Tables+The+Easy+Way" title="Post to Digg"><img class="nothumb" src="http://blog.2createawebsite.com/wp-content/plugins/tweet-this/icons/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/&amp;t=Creating+HTML+Tables+The+Easy+Way" title="Post to Facebook"><img class="nothumb" src="http://blog.2createawebsite.com/wp-content/plugins/tweet-this/icons/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/&amp;t=Creating+HTML+Tables+The+Easy+Way&amp;c=%3Cp%3EPowered+by+%3Ca+href%3D%22http%3A%2F%2Frichardxthripp.thripp.com%2Ftweet-this%22%3ETweet+This%3C%2Fa%3E%3C%2Fp%3E" title="Post to MySpace"><img class="nothumb" src="http://blog.2createawebsite.com/wp-content/plugins/tweet-this/icons/tt-myspace-micro3.png" alt="Post to MySpace" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/&amp;title=Creating+HTML+Tables+The+Easy+Way" title="Post to StumbleUpon"><img class="nothumb" src="http://blog.2createawebsite.com/wp-content/plugins/tweet-this/icons/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.2createawebsite.com/2008/01/09/creating-html-tables-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
