<?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; includes</title>
	<atom:link href="http://blog.2createawebsite.com/tag/includes/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>My Biggest Design Mistake&#8230; Ever!</title>
		<link>http://blog.2createawebsite.com/2008/02/08/my-biggest-design-mistake/</link>
		<comments>http://blog.2createawebsite.com/2008/02/08/my-biggest-design-mistake/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 20:06:04 +0000</pubDate>
		<dc:creator>lisa</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[ccs]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[includes]]></category>
		<category><![CDATA[ssi]]></category>

		<guid isPermaLink="false">http://blog.2createawebsite.com/2008/02/08/my-biggest-design-mistake/</guid>
		<description><![CDATA[I&#8217;ve created at least 10 different sites over the past 10 years, but none of them have been developed better than my latest Site Build It! site, flat-stomach-exercises.com. Now, I&#8217;m not talking about the the design and look and feel of the site. I&#8217;m talking about the way in which it was coded. The entire [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://blog.2createawebsite.com/wp-content/themes/stitched-10/img/cssAnagram.gif" alt="CSS" hspace="5" vspace="5" width="188" height="232" align="right" />I&#8217;ve created at least 10 different sites over the past 10 years, but none of them have been developed better than my latest <a href="http://website.sitesell.com/workfromhome" target="_blank">Site Build It!</a> site, <a href="http://www.flat-stomach-exercises.com" target="_blank">flat-stomach-exercises.com</a>.</p>
<p>Now, I&#8217;m not talking about the the design and look and feel of the site.  I&#8217;m talking about <strong>the way in which it was coded</strong>.</p>
<p>The entire design is controlled by CSS (cascading style sheets) and SSI (server side includes).</p>
<p>I know, I know&#8230; more intimidating acronyms that could confuse the heck out of you&#8230; <img src='http://blog.2createawebsite.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I&#8217;ll try to keep it simple so bear with me, OK?</p>
<h2>CSS &amp; Includes</h2>
<p>CSS allows you to control large aspects of your site&#8217;s design and layout with one file.  So if you want to change the color of your hyperlinks, you&#8217;d update your CSS file and your entire site will reflect the change.</p>
<p>Include files generally contain content that is repeated throughout the site (left nav, footer, etc.).  So instead of updating every page when you want to change your left nav, you update the file that includes your left nav.  And every page on your site references that one file.</p>
<p>With the combination of CSS and includes, I can update any aspect of my entire site (width of site, hyperlink colors, left navigation text, header image, font face and size, border colors, header styles, bullet styles, footer etc. by updating the corresponding files&#8230; instead of opening each page individually.</p>
<p>I&#8217;ve used CSS before with other sites but only for certain things like hyperlinks, font styles, colors, etc.  But I&#8217;d never used it for an entire layout.  Thanks to Dreamweaver I was able to really unleash the power of CSS completely without becoming inundated with confusing code.</p>
<p>You won&#8217;t believe this, but the entire coding layout of my <a href="http://www.flat-stomach-exercises.com" target="_blank">Flat Stomach site</a> is simply this&#8230;</p>
<p><strong>&lt;html&gt;</strong><br />
<strong> &lt;body&gt;<br />
&lt;div id=&#8221;top&#8221;&gt;  (My header)<br />
&lt;div id=&#8221;leftnav&#8221;&gt;  (My left nav)<br />
&lt;div id=&#8221;sidebar&#8221;&gt;  (My right nav)<br />
&lt;div id=&#8221;content&#8221;&gt;  (My main content)<br />
&lt;div id=&#8221;footer&#8221;&gt; (My footer)<br />
&lt;/body&gt;<br />
&lt;/html&gt;</strong></p>
<p>That&#8217;s the coding shell for my <em><strong>entire</strong></em> site. Then I use a style sheet (CSS) to define how the layout should look in each of those 4 ID sections (The &#8220;content&#8221; section is obviously different on every page so you wouldn&#8217;t include that one).</p>
<p>So any time I want to update any of those sections, I don&#8217;t open the content pages, I open the one CSS file and/or the includes.</p>
<p>Of course, if you view the source of <a href="http://www.flat-stomach-exercises.com" target="_blank">my site</a>, you&#8217;ll still see all the scary-looking code, but the browser combines and displays the code from the CSS and include files.  (So it <em><strong>really</strong></em> looks like I&#8217;m a big time programmer, right?)</p>
<p>However, when I&#8217;m updating a particular section of my site, I <strong>only</strong> open the corresponding file (leftnav, footer, etc.).</p>
<p>So if you give one gift to yourself this year, learn CSS.  Grab a copy of <a href="http://www.2createawebsite.com/dw" target="_blank">Dreamweaver CS3</a> and go to your local bookstore and get a reference book. I bought <em>Dreamweaver CS3 For Dummies</em>.</p>
<p>No <em>really,</em> I did.  People do actually buy those &#8220;dummy&#8221; books. <img src='http://blog.2createawebsite.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You&#8217;ll be amazed at what CSS can do for your site.  And when you realize you can update your entire site&#8217;s design and layout in about 20 minutes, you&#8217;ll understand why it&#8217;s worth it.</p>
<h2>So What&#8217;s My Biggest Design Mistake?</h2>
<p>Clearly it was not using CSS sooner.  The thought of learning more coding overwhelmed me for so long that I kept putting it off.  But it really helps to have a good Web editor to help you muddle through it.</p>
<p>Thanks to Dreamweaver, I didn&#8217;t have to really become more proficient as a programmer, I just had to become more proficient with using the program.</p>
<p>For some of you reading this, CSS is probably old news.  Even though it wasn&#8217;t new to me either, I hadn&#8217;t unlocked its full potential.</p>
<p>But mark my words&#8230; I will <em><strong>never </strong></em>design a site without CSS again.</p>
<p>You shouldn&#8217;t either.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Check+out+@2createawebsite+My+Biggest+Design+Mistake%E2%80%A6+Ever%21+http://bit.ly/io3T8" 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/02/08/my-biggest-design-mistake/&amp;title=My+Biggest+Design+Mistake%E2%80%A6+Ever%21" 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/02/08/my-biggest-design-mistake/&amp;t=My+Biggest+Design+Mistake%E2%80%A6+Ever%21" 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/02/08/my-biggest-design-mistake/&amp;t=My+Biggest+Design+Mistake%E2%80%A6+Ever%21&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/02/08/my-biggest-design-mistake/&amp;title=My+Biggest+Design+Mistake%E2%80%A6+Ever%21" 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/02/08/my-biggest-design-mistake/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
