<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Web Design Tutorials &#187; Content in Dreamweaver CS4</title>
	<atom:link href="http://bestwebdesignz.com/tips/tag/content-in-dreamweaver-cs4/feed/" rel="self" type="application/rss+xml" />
	<link>http://bestwebdesignz.com/tips</link>
	<description></description>
	<lastBuildDate>Mon, 23 Apr 2012 11:48:00 +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>Content in Dreamweaver CS4</title>
		<link>http://bestwebdesignz.com/tips/dreamweaver/content-in-dreamweaver-cs4/</link>
		<comments>http://bestwebdesignz.com/tips/dreamweaver/content-in-dreamweaver-cs4/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 12:35:09 +0000</pubDate>
		<dc:creator>clement</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Content in Dreamweaver CS4]]></category>
		<category><![CDATA[Dreamweaver CS4 Tutorials]]></category>

		<guid isPermaLink="false">http://bestwebdesignz.com/tips/?p=546</guid>
		<description><![CDATA[Now let us create the content area and a space for the submenu area on the left. We will create a div for these 2 areas combined called &#8216;middle&#8217; and then individual divs for the submenu area called &#8216;submenu&#8217; and the content area called &#8216;content&#8217; within the larger &#8216;middle&#8217; div. The &#8216;middle&#8217; div: Place the [...]]]></description>
			<content:encoded><![CDATA[<p>Now let us create the content area and a space for the submenu area on the left.</p>
<p>We will create a div for these 2 areas combined called &#8216;middle&#8217; and then individual divs for the submenu area called &#8216;submenu&#8217; and the content area called &#8216;content&#8217; within the larger &#8216;middle&#8217; div.</p>
<p>The &#8216;middle&#8217; div:</p>
<ul>
<li>Place the cursor after the &#8216;menu&#8217; div</li>
<li>Insert &gt; Layout objects &gt; Div Tag &gt; ID: middle</li>
<li>Click the &#8216;New CSS Rule&#8217; button &gt; Click OK</li>
<li>CSS Rule Definition for # middle:
<ul>
<li>Box &gt; Width: 100%</li>
<li>Click OK</li>
</ul>
</li>
<li>Insert Div Tag screen &gt; Click OK</li>
</ul>
<p>The &#8216;submenu&#8217; div:</p>
<ul>
<li> Delete the default text in the &#8216;middle&#8217; div &#8220;Content for id &#8220;middle&#8221; Goes Here&#8221;</li>
<li>Make sure your cursor is still within the &#8216;middle&#8217; div tag.</li>
<li>Insert a div called &#8216;submenu&#8217;</li>
<li>In the Rule definition for #submenu specify the following:
<ul>
<li>Box &gt; Width: 25%</li>
<li>Box &gt; Float: left</li>
</ul>
</li>
</ul>
<p>The &#8216;content&#8217; div</p>
<ul>
<li>Position the cursor after the &#8216;submenu&#8217; div.</li>
<li>Make sure your cursor is still within the &#8216;middle&#8217; div tag.</li>
<li>Insert a div called &#8216;content&#8217;</li>
<li>In the Rule definition for #content specify the following:
<ul>
<li>Box &gt; Width: 75%</li>
<li>Box &gt; Float: left</li>
</ul>
</li>
</ul>
<p>The &#8216;submenu&#8217; and &#8216;content&#8217; divs will appear side by side.<br />
<img class="alignnone size-full wp-image-547" title="submenu-content-divs" src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/04/submenu-content-divs.jpg" alt="Content in Dreamweaver CS4" width="461" height="292" /></p>
<p>We will work on the submenu area later. The content in the content area will differ from page to page so we will make this a Dreamweaver Editable Region in the next step.</p>
<p>You will notice that the default font used is Times New Roman which does not look very nice on the web.</p>
<p>We can change this default font by editing the redefined &#8216;body&#8217; tag within our styles.css stylesheet.</p>
<ul>
<li>Open the CSS Panel [Window &gt; CSS Styles]</li>
<li>Select the &#8216;body&#8217; style and right click &gt; Select &#8216;Edit&#8217;<br />
<img class="alignnone size-full wp-image-548" title="edit-body-tag-css" src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/04/edit-body-tag-css.jpg" alt="Content in Dreamweaver CS4" width="365" height="292" /></li>
<li>In the &#8216;CSS Rule Definition for body&#8217; screen select &#8216;Type&#8217; and specify the font-family &#8216;Arial, Helvetica, sans serif&#8217; and the font-size 14 px. Click OK.<br />
<img class="alignnone size-full wp-image-550" title="body-tag-font-css" src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/04/body-tag-font-css.gif" alt="Content in Dreamweaver CS4" width="365" height="292" /></li>
</ul>
<p>You will see that the fonts change for all the text on th page.</p>
<p><img class="alignnone size-full wp-image-551" title="fonts-change" src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/04/fonts-change.gif" alt="Content in Dreamweaver CS4" width="468" height="300" /></p>
<p>The &#8216;footer&#8217; div</p>
<p>Now let us complete the basic layout by creating the footer area as well.</p>
<ul>
<li>Make sure your cursor is right after the &#8216;middle&#8217; div</li>
<li>Create a new div called footer</li>
<li>Give the #footer style rule the following properties:
<ul>
<li>Box &gt; Width: 100%</li>
<li>Box &gt; Height: 33 px</li>
<li>Box &gt; Clear: both</li>
<li>Block &gt; Text align: Right</li>
<li>Background&gt; Background-image: footer-bg.jpg</li>
<li>Type &gt; Color: #FFF</li>
<li>Click OK</li>
</ul>
</li>
<li>In the document window you will see the &#8216;footer&#8217; area with the background image and other properties specified in the stylesheet.</li>
<li>Replace the default footer div text &#8216;Content for id &#8220;footer&#8221; Goes Here&#8217; with &#8216;© 2009 Company Name. All Rights Reserved.&#8217;</li>
</ul>
<p>Your basic layout template is ready.</p>
<p><img class="alignnone size-full wp-image-552" title="basic-layout" src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/04/basic-layout.jpg" alt="Content in Dreamweaver CS4" width="628" height="338" /></p>
<p>Save your template and styles.css stylesheet. [File &gt; Save All]</p>
<script type="text/javascript"><!--
                    google_ad_client = "pub-7099335855422733";
                    google_ad_slot = "4729128935";
                    google_ad_width = 336;
                    google_ad_height = 280;
                    //-->
                    </script>
                    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
                    ]]></content:encoded>
			<wfw:commentRss>http://bestwebdesignz.com/tips/dreamweaver/content-in-dreamweaver-cs4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Dreamweaver CS4 Tutorials]]></series:name>
	</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.593 seconds -->

