<?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>dwcourse.com &#187; tips</title>
	<atom:link href="http://www.dwcourse.com/dreamweaver/tag/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dwcourse.com</link>
	<description>Adobe Dreamweaver Tips, Tricks and Tutorials</description>
	<lastBuildDate>Fri, 23 Jul 2010 09:26:57 +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>Linking to a specific item on a page</title>
		<link>http://www.dwcourse.com/dreamweaver/link-to-specific-point-on-page.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/link-to-specific-point-on-page.php#comments</comments>
		<pubDate>Tue, 26 Jan 2010 03:03:00 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=798</guid>
		<description><![CDATA[When you&#8217;ve been creating web pages as long as I have, it&#8217;s easy to start thinking you&#8217;re hot stuff. Then along comes some perfectly obvious little html shortcut that you&#8217;ve been overlooking for a decade. It tends to humble you pretty quickly! And judging by the response at the DreamweaverClub.com forum, I wasn&#8217;t the only [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When you&#8217;ve been creating web pages as long as I have, it&#8217;s easy to start thinking you&#8217;re hot stuff. Then along comes some perfectly obvious little html shortcut that you&#8217;ve been overlooking for a decade. It tends to humble you pretty quickly!</p>
<p>And judging by the response at the <a href="http://www.dreamweaverclub.com/forum/">DreamweaverClub.com forum</a>, I wasn&#8217;t the only one surprised by this one. So I thought I&#8217;d share it with you.</p>
<p>As you know, when you link to a page using a normal link (such as &lt;<strong>a href=&#8221;http://www.dwcourse.com&#8221;&gt;DWcourse&lt;/a&gt;</strong>) the link takes you to the top of the page. And, as many of you no-doubt also know, you can also insert an empty, non-link Anchor Tag (such as <strong>&lt;a name=&#8221;item&#8221; id=&#8221;item&#8221;&gt;&lt;/a&gt;</strong>) into your page and then link directly to the location of the Named Anchor within the page like this &lt;<strong>a href=&#8221;http://www.dwcourse.com#item&#8221;&gt;Link directly to item on DWcourse page&lt;/a&gt;</strong>. T<em>o insert a named anchor in Dreamweaver select <strong>menu: Insert&gt;Named Anchor</strong>.</em></p>
<p>Now here&#8217;s the obvious html fact that that I&#8217;d been overlooking. You don&#8217;t have to insert a named anchor into your page to link to a specific point within the page. <strong>You can link directly to any named object within your page. </strong>For instance, if you want to link to particular sub-sections of your page, each of which begins with an level 2 heading &lt;h2&gt; you can give each h2 a unique ID and link directly to it. <em>In Dreamweaver you can assign an ID to an html object by selecting the object and typing the ID into the ID field in the Properties Inspector.</em></p>
<p>So, if your page looks like this:</p>
<blockquote><p>&lt;h1&gt;Main Headline&lt;/h1&gt;<br />
&lt;h2 id=&#8221;section1&#8243;&gt;section 1 &lt;/h2&gt;<br />
content for section 1<br />
&lt;h2 id=&#8221;section2&#8243;&gt;section 2 &lt;/h2&gt;<br />
content for section 2<br />
&lt;h2 id=&#8221;section3&#8243;&gt;section 3 &lt;/h2&gt;<br />
content for section 3</p></blockquote>
<p>You can link directly to section 2 from within the current page like this: <strong>&lt;a href=&#8221;#section2&#8243;&gt;Section 2&lt;/a&gt;</strong> or from another website like this: <strong>&lt;a href=&#8221;http://www.dwcourse.com#section2&#8243;&gt;DWcourse Section 2&lt;/a&gt;</strong>. No need to clutter up your code with an empty Named Anchor!</p>
<p>And, to point out the (now) obvious, the # (number sign) within a link refers to a named html object within the page, just as a # within a CSS selector refers to a named object.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/link-to-specific-point-on-page.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using the font tag in Dreamweaver CS4</title>
		<link>http://www.dwcourse.com/dreamweaver/font-tag-dreamweaver-cs4.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/font-tag-dreamweaver-cs4.php#comments</comments>
		<pubDate>Mon, 03 Aug 2009 23:26:48 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[CS4]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=390</guid>
		<description><![CDATA[A lot of folks are whining and moaning because Dreamweaver CS4 now enforces the use of CSS styles rather than HTML attributes for formatting. One of the things this means is no more font tag (and its related attributes). That&#8217;s a good thing in my book. No more code like this: &#60;p&#62;&#60;font color=&#8221;#003399&#8243; size=&#8221;5&#8243; face=&#8221;Tahoma, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A lot of folks are whining and moaning because Dreamweaver CS4 now enforces the use of CSS styles rather than HTML attributes for formatting. One of the things this means is no more font tag (and its related attributes).</p>
<p>That&#8217;s a good thing in my book. No more code like this:</p>
<p>&lt;p&gt;&lt;font color=&#8221;#003399&#8243; size=&#8221;5&#8243; face=&#8221;Tahoma, Geneva, sans-serif&#8221;&gt;paragraph 1…&lt;/font&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;font color=&#8221;#003399&#8243; size=&#8221;5&#8243; face=&#8221;Tahoma, Geneva, sans-serif&#8221;&gt;paragraph 2…&lt;/font&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;font color=&#8221;#003399&#8243; size=&#8221;5&#8243; face=&#8221;Tahoma, Geneva, sans-serif&#8221;&gt;paragraph 3…&lt;/font&gt;&lt;/p&gt;</p>
<p>Well you get the idea!</p>
<p>But CS4 has a dirty little secret and , against my better judgement, I&#8217;m going to reveal it:</p>
<p><strong> IT&#8217;S STILL POSSIBLE TO USE THE DREADED FONT TAG!<span id="more-390"></span></strong></p>
<p>The secret is CS4&#8242;s Wrap Tag… and Edit Tag… commands, both of which are accessed from a pop-up menu that appears when you right+click on a selection in the Design window. Here&#8217;s how it works:</p>
<ol>
<li>In the Design window select some text.</li>
<li>Right+click on your selection and select Wrap Tag… from the pop-up menu.</li>
<li>In the Tag Editor dialog type in &lt;font&gt; (or choose it from the tag list) and press the Enter key twice (once to &#8220;set&#8221; th tag and once to dismiss the dialog). The text will remain  selected.</li>
<li> Right+click once again on your selection and select Edit Tag &lt;font&gt;… from the pop-up menu</li>
<li>In the Tag Editor &#8211; font dialog, make your selections for Face, Size and Color and click OK.</li>
</ol>
<p>If you look at your code you&#8217;ll see something like this (shudder):</p>
<p>&lt;font color=&#8221;#FF0000&#8243; size=&#8221;+2&#8243; face=&#8221;Tahoma, Geneva, sans-serif&#8221;&gt;content&lt;/font&gt;</p>
<p>That&#8217;s all there is to it.</p>
<p>To edit an existing font (or some other HTML) tag:</p>
<ol>
<li>Select the entire tag by clicking within the tag in the Design window AND then selecting the tag from the tag listing in the status bar at the bottom of the Document window..</li>
<li>Right+click on your selection and select Edit Tag &lt;selected tag&gt;… from the pop-up menu.</li>
<li>Edit the tag attributes in the Tag Editor dialog and click OK.</li>
</ol>
<p>Just don&#8217;t tell anyone I told you how to do it.</p>
<p><em>As always, feel free to comment here or <a href="mailto:%20jcook@DWcourse.com">email me</a> with your questions, comments and suggestions. And please follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>) for additional Dreamweaver news and tips.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/font-tag-dreamweaver-cs4.php/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Open Browser Window and Bring to Front</title>
		<link>http://www.dwcourse.com/dreamweaver/open-browser-window-in-front.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/open-browser-window-in-front.php#comments</comments>
		<pubDate>Thu, 23 Jul 2009 18:33:29 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[behaviors]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[open browser window]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=346</guid>
		<description><![CDATA[One Dreamweaver feature that been around for a while is the Open Browser Window (OBW for short) behavior. Described simply, the behavior is a JavaScript that opens a page in a new window while at the same time specifying the size, attributes (scrollbars, resize handles. etc.) and name of the window. Once a window is [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>One Dreamweaver feature that been around for a while is the Open Browser Window (OBW for short) behavior. Described simply, the behavior is a JavaScript that  opens a page in a new window while at the same time specifying the size, attributes (scrollbars, resize handles. etc.) and name of the  window. Once a window is created and named in this manner it can be targeted by additional instances of the OBW behavior or even regular links.</p>
<p>The problem is that &#8211; <strong>in Explorer and Firefox</strong> &#8211; when you target a preexisting window with the OBW behavior, the new page opens  but the targeted window does not come to the front (technically, the targeted window does not gain focus). That means that your new page opens but the user doesn&#8217;t see it because it&#8217;s hidden. Probably not the solution you were looking for.<span id="more-346"></span></p>
<p><script type="text/javascript">// <![CDATA[
 function DWC_openBrWindow(theURL,winName,features) { 
newwindow=window.open(theURL,winName,features); 
if (window.focus) {newwindow.focus()} 
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
// ]]&gt;</script></p>
<p>Here&#8217;s an example created using DW&#8217;s built-in OBW behavior. If you&#8217;re using Explorer of Firefox (Safari users don&#8217;t have this problem), click on the first link below and a new window &#8211; which I&#8217;m naming &#8220;popup&#8221; &#8211; will open. Make sure that &#8220;popup is positioned over this window, leave it open, return to this page and click on the second link.</p>
<p align="center"><a onclick="MM_openBrWindow('/test-pages/page1.html','popup','width=200,height=200');return false;" href="#">Open Page 1</a> then come back and <a onclick="MM_openBrWindow('/test-pages/page2.html','popup','width=200,height=200');return false;" href="#">Open Page 2</a><a href="#"></a></p>
<p>The second link opens a new page in the existing &#8220;popup&#8217; window but you won&#8217;t see it because it&#8217;s hidden behind this window. To verify that the new page opened, minimize (<strong>But don&#8217;t close!</strong>) this window. I&#8217;d hate to lose you just when things are getting interesting! Once you&#8217;re curiosity is satisfied, leave the pop-up window open and maximize this window.</p>
<p>What you&#8217;d really like to happen is what happens when you click on the link below.</p>
<p align="center"><a onclick="DWC_openBrWindow('/test-pages/page3.html','popup','width=200,height=200');return false;" href="#">Open Page 3</a></p>
<p>Notice that the new page opens in the existing &#8220;popup&#8221; window AND the window comes to the front. Fortunately, all it takes to work this magic is the substitution of a few lines of code in the JavaScript function  <strong>MM_openBrWindow</strong> that Dreamweaver creates to handle the OBW behavior. Here&#8217;s all you need to do:</p>
<ol>
<li>In Dreamweaver, using the Behaviors palette,  attach the OPB behavior to an object in your page.</li>
<li>Switch to either the Code or Split view.</li>
<li>Near the top of the code of your page, somewhere between the opening head and closing head tags (&lt;head&gt; and &lt;/head&gt; respectively) locate the following three lines of code which define the <strong>MM_openBrWindow</strong> function:<br />
<code>function MM_openBrWindow(theURL,winName,features) { //v2.0<br />
window.open(theURL,winName,features);<br />
}</code></li>
<li>Copy the code below  and use it to replace the code you located in step 3 above.<br />
<code>function MM_openBrWindow(theURL,winName,features) {<br />
newwindow=window.open(theURL,winName,features);<br />
if (window.focus) {newwindow.focus()}<br />
}</code></li>
<li>That&#8217;s it! Now whenever you use the Open Browser Window Behavior in your page you can rest assured the window will pop to the front and be visible. Just remember, since DW inserts the JavaScript in the page (and that&#8217;s where we customized it), you&#8217;ll need to make this change on every page where you use the OBW behavior.</li>
</ol>
<p><em><strong>Note:</strong> When using the <strong>links relative to site root</strong> option, this customized script will fail  using DW&#8217;s Preview in Browser feature. However it will function properly when uploaded to your web server. Using <strong>links relative to document</strong> avoids the problem all together.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/open-browser-window-in-front.php/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Centering a Page Layout</title>
		<link>http://www.dwcourse.com/dreamweaver/centering-page-layout.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/centering-page-layout.php#comments</comments>
		<pubDate>Thu, 18 Jun 2009 19:15:35 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Page Design]]></category>
		<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS postitioning]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=315</guid>
		<description><![CDATA[Update: The directions here have been updated to accomodate absolutely positioned divs. Thanks to Dianne Lewandowski for pointing out the issue. I thought I&#8217;d expand a bit on my answer to a question from Brandon85 on Twitter. He asked: Why is this so hard!! How do you Center a website in the browser using Dreamweaver? Actually, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>Update:</strong> The directions here have been updated to accomodate absolutely positioned divs. Thanks to Dianne Lewandowski for pointing out the issue.</p>
<p>I thought I&#8217;d expand a bit on my answer to a question from <a title="Brandon" href="http://twitter.com/Brandon85" target="_blank">Brandon85</a> on Twitter. He asked:</p>
<blockquote><p><span><span id="msgtxt2222785130">Why is this so hard!! How do you Center a website in the browser using Dreamweaver?</span></span></p></blockquote>
<p><span><span>Actually, it&#8217;s relatively easy (if you know how).<span id="more-315"></span></span></span></p>
<ol>
<li>Begin by selecting your entire page in Design View.</li>
<li>Select menu: Insert&gt;Layout Objects&gt;Div Tag (or click on Insert Div Tag in the Common tab of the Insert Palette).</li>
<li>In the Insert Div Tag dialog:
<ol>
<li>Select Wrap Around Selection (your entire design) from the Insert menu.</li>
<li>Leave the Class field empty</li>
<li>Type &#8220;wrapper&#8221; (without the quotes) into the ID field (this is assuming you don&#8217;t already have an item with the ID &#8220;wrapper.&#8221;</li>
<li>Click the New CSS Rule button.</li>
</ol>
</li>
<li>In the New CSS rule dialog
<ol>
<li>ID should already be selected in the Selector Type menu.</li>
<li>#wrapper should have been automatically inserted into the Selector Name field.</li>
<li>Decide whether the new style should be in the current document or a new or existing style sheet and make your selection in the Rule Definition menu .</li>
<li>Click the OK button.</li>
</ol>
</li>
<li>In the CSS Rule Definition dialog:
<ol>
<li>Select the Box category.
<ol>
<li>Type in a Width. By default the horizontal width of a div is 100% so you need to set a width for the wrapper div to properly center it. Logically this should be the width (most likely in pixels) of your page design.</li>
<li>Uncheck the Same for All option under Margin.</li>
<li>Set the Right margin to auto by selecting auto in the pop-up menu to the right of the Right field.</li>
<li>Set the Left margin to auto using the same method.</li>
</ol>
</li>
<li>Select the Block category
<ol>
<li>Select left from the Text-Align menu (I&#8217;ll tell you why in a moment).</li>
</ol>
</li>
<li>Select the Positioning category
<ol>
<li>Select relative from the Position menu. This forces any absolutely positioned divs in your page to align relative to the &#8220;wrapper&#8221; div rather than the browser window. See <a href="http://dwcourse.com/css-div-positioning">CSS positioning</a> for more information on positioning.</li>
</ol>
</li>
<li>Click OK</li>
</ol>
</li>
</ol>
<p>Your design should now be centered but we still have one step to go.</p>
<p><strong><em>Correction: </em></strong><em>The following work-around was originally mislabeled. It is intended for IE5 compatibility (and can probably be ignored by most folks)</em></p>
<p><strong>Work-Around for Internet Explorer 5</strong>: If desired, we&#8217;ll need an additional fix to make this IE5 friendly.</p>
<ol>
<li>Set the text-align property of the body style to center (This will center your page layout in IE5)
<ol>
<li>If you already have a body style, double click on it in the Styles Palette to open the CSS Style Definition dialog.</li>
<li>If you don&#8217;t have a body style, create a new one:
<ol>
<li> Choose menu: Format&gt;CSS Styles&gt;New… (or select New… from the pop-up menu in the upper-right corner of the Styles Palette) <strong>OR</strong></li>
<li>In the New CSS Rule dialog:
<ol>
<li>Choose Tag from the Selector Type menu.</li>
<li>Type &#8220;body&#8221; into the Selector Name field.</li>
<li>Decide whether the new style should be in the current document or a new or existing style sheet and make your selection in the Rule Definition menu .</li>
<li>Click the OK button to open the CSS Style Definition dialog.</li>
</ol>
</li>
</ol>
</li>
<li>In the CSS Style Definition dialog:
<ol>
<li>Select the Box category.</li>
<li>Select center from the Text-Align menu.</li>
<li>Click OK</li>
</ol>
</li>
</ol>
</li>
</ol>
<p><strong>That explanation I promised</strong>: Setting the text-align property in the body style to center centers your page design but, since styles are inherited in CSS, it also centers all the text on your page. By setting text-align for #wrapper to left, we effectively overrule the centering for all page elements inside of #wrapper (which should be all of the page elements).</p>
<p>Funny how much a 140 character answer on Twitter can grow once it&#8217;s a blog post!</p>
<p><em>As always, feel free to </em><a style="color: #2361a1; text-decoration: underline; padding: 0px; margin: 0px;" href="mailto:%20jcook@DWcourse.com"><em>email me</em></a><em> with your questions, comments and suggestions. And please follow me on Twitter (</em><a style="color: #2361a1; text-decoration: underline; padding: 0px; margin: 0px;" href="http://twitter.com/dwcourse"><em>DWcourse</em></a><em>) for additional Dreamweaver news and tips.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/centering-page-layout.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Site Won&#8217;t Update</title>
		<link>http://www.dwcourse.com/dreamweaver/site-wont-update.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/site-wont-update.php#comments</comments>
		<pubDate>Thu, 18 Jun 2009 16:00:06 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[define site]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=307</guid>
		<description><![CDATA[Another problem often experienced by Dreamweaver noobies is: I&#8217;ve updated my site in Dreamweaver and it looks fine when I preview it but after I upload it the changes don&#8217;t show up on the site. Let&#8217;s eliminate the easiest solution first. Did you refresh your browser window? When you view a page on the web, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Another problem often experienced by Dreamweaver noobies is:</p>
<blockquote><p>I&#8217;ve updated my site in Dreamweaver and it looks fine when I preview it but after I upload it the changes don&#8217;t show up on the site.</p></blockquote>
<ol>
<li>Let&#8217;s eliminate the easiest solution first. Did you refresh your browser window? When you view a page on the web, your browser stores a copy of that page (and it&#8217;s dependent files) in it&#8217;s cache. Then, if you return to the page, your browser shows you the cached version rather than the &#8220;live&#8221; version. This speeds up  browsing but also might prevent you from viewing the latest version of your page. Refreshing the browser window by clicking the Refresh button in your browser should guarantee  you&#8217;re looking at the current version of the page.</li>
<li>Another possibility &#8211; if you are viewing the home page of your site through a URL such as www.yourdomain.com &#8211; is that you have multiple index files. As you should be aware, servers are set up to display a default page for a directory if no file name is specified in the URL. The default file is usually index.htm, index.html, index.php or something similar. The server can even be configured (and often is) so that any of those file names can be used for the default file. A problem arises when more than one of the possible default files is present.Say, for instance, a file index.htm pre-exists on your server and, when you create your new site, you use index.html (note the &#8220;l&#8221;) as your default file name. When you upload your site the existing index.htm file will not be overwritten. So when you visit www.yourdomain.com you may continue to see the old index.htm and not your new home page, index.html.The solution is relatively simple, delete the index.htm file on the server OR change your default file to index.htm (remove the &#8220;l&#8221;) so that when it uploads it will replace the exiting home page.</li>
<li>Another possibility is that you have defined your Host Directory incorrectly in your Remote Site definition. If this is the case, when you upload your files they are placed in the wrong directory on the server. So you won&#8217;t see the new pages when you visit the site with your browser. More information on defining your site is available in my tutorial, <a href="http://www.dreamweaverclub.com/define-your-site.php" target="_blank">Define Your Site</a> at the <a href="http://www.dreamweaverclub.com/forum/" target="_blank">Dreamweaver Club forum</a> or in my <a href="../dreamweaver-mini-course">Let&#8217;s Get Started with Dreamweaver</a> mini-course.</li>
</ol>
<p><em>As always, feel free to <a href="mailto:%20jcook@DWcourse.com">email me</a> with your questions, comments and suggestions. And please follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>) for additional Dreamweaver news and tips.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/site-wont-update.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Images/Style Sheets/Javascript Are Broken</title>
		<link>http://www.dwcourse.com/dreamweaver/images-css-broken.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/images-css-broken.php#comments</comments>
		<pubDate>Wed, 17 Jun 2009 18:25:28 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=305</guid>
		<description><![CDATA[I frequently get questions like this: My site works fine on my computer but when I upload it the [fill in the blank] are broken. My first response is one I use to address of lot of issues: Make sure your site is properly defined. It&#8217;s critical enough that I wrote a tutorial, Define Your [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I frequently get questions like this:</p>
<blockquote><p>My site works fine on my computer but when I upload it the [fill in the blank] are broken.</p></blockquote>
<p>My first response is one I use to address of lot of issues: Make sure your site is properly defined. It&#8217;s critical enough that I wrote a tutorial, <a href="http://www.dreamweaverclub.com/define-your-site.php" target="_blank">Define Your Site</a>, for the <a href="http://www.dreamweaverclub.com/forum/" target="_blank">Dreamweaver Club forum</a> and also included the information in my <a href="http://dwcourse.com/dreamweaver-mini-course">Let&#8217;s Get Started with Dreamweaver</a> mini-course.</p>
<p>Once that&#8217;s out of the way the next thing to do is take a look at the source code of your page and see if any of the links are hard-coded to point to a file on your local computer. If they are, they will point to URLs that look something like this: file:///C/site/test.html. There are a few ways this might happen:</p>
<ul>
<li>Your site is defined incorrectly (but we&#8217;ve already addressed that)</li>
<li>You try to link to a file outside your root folder (and don&#8217;t let Dreamweaver move it for you when it asks)</li>
<li>You copy code from a file that hasn&#8217;t yet been saved (Dreamweaver uses file:/// links until you save a page for the first time) into another page</li>
<li>Dreamweaver screws up (it happens but not as often as some folks like to think)</li>
</ul>
<p>The fix is relatively simple. Once you&#8217;re sure you have everything set up correctly, recreate the links. You can find the ones that need fixing by searching the source code for &#8220;file:///&#8221;</p>
<p><em>As always, feel free to <a href="mailto:%20jcook@DWcourse.com">email me</a> with your questions, comments and suggestions. And please follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>) for additional Dreamweaver news and tips.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/images-css-broken.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver Workspaces</title>
		<link>http://www.dwcourse.com/dreamweaver/workspaces.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/workspaces.php#comments</comments>
		<pubDate>Mon, 18 May 2009 22:45:47 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Dreamweaver User Interface]]></category>
		<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[CS4]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[panels]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[workspace]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=296</guid>
		<description><![CDATA[As Dreamweaver has matured it&#8217;s become more than a tool for designers looking for a WSIWYG web tool. It&#8217;s become a serious web development tool and is even getting the attention of (gasp!) hard core coders. In recognition of this trend, Adobe has added several new preset workspaces to Dreamweaver. The workspaces, which are accessed [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>As Dreamweaver has matured it&#8217;s become more than a tool for designers looking for a WSIWYG web tool. It&#8217;s become a serious web development tool and is even getting the attention of (gasp!) hard core coders.</p>
<p>In recognition of this trend, Adobe has added several new preset workspaces to Dreamweaver. The workspaces, which are accessed from the Window&gt;Workspace Layout menu item, include:</p>
<ul>
<li>App Developer</li>
<li>App Developer Plus</li>
<li>Classic</li>
<li>Coder</li>
<li>Coder Plus</li>
<li>Designer</li>
<li>Designer Compact</li>
<li>Dual Screen</li>
</ul>
<p>As the names imply, the workspaces are  designed to accommodate the needs of different users in different computing environments. So, if you&#8217;re not happy with the default setup, try one of these options.</p>
<p>If you still aren&#8217;t happy, you can always open and close windows and move and resize palettes until you are. When you quit Dreamweaver it will remember your workspace. In other words, if you start with the Designer workspace, change it and then quit, your changes will be integrated into the default Designer workspace which you can access at anytime by selecting Window&gt;Workspace&gt;Designer.</p>
<p>To remove your changes and return the Designer workspace to its original settings choose Window&gt;Workspace&gt;Reset &#8220;Designer.&#8221;</p>
<p>You can also arrange the workspace as you like it and save it as a custom workspace by choosing Window&gt;Workspace&gt;New Workspace… That way you&#8217;ll have access to the new workspace as well as all the built-in defaults.</p>
<p>Finally you can delete or rename the custom workspaces you create by choosing Window&gt;Workspace&gt;Manage Workspaces…</p>
<p><em>As always, feel free to comment here or <a href="mailto: jcook@DWcourse.com">email me</a> with your questions, comments and suggestions. And please follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>) for additional Dreamweaver news and tips.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/workspaces.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find and Replace</title>
		<link>http://www.dwcourse.com/dreamweaver/find-and-replace.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/find-and-replace.php#comments</comments>
		<pubDate>Fri, 15 May 2009 02:43:34 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[find and replace]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=288</guid>
		<description><![CDATA[Recently on Twitter @fesworks asked about Dreamweaver&#8217;s find and replace functionality (menu Edit&#62;Find and Replace… or Control+F/Command+F). It&#8217;s really quite extensive and, if you&#8217;re serious about building websites, I recommend you explore it. Here&#8217;s a quick rundown of  the functionality: F&#38;R can work on unopened documents, so you don&#8217;t even have to have a document [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Recently on Twitter @<a href="http://twitter.com/fesworks">fesworks</a> asked about Dreamweaver&#8217;s find and replace functionality (menu Edit&gt;Find and Replace… or Control+F/Command+F). It&#8217;s really quite extensive and, if you&#8217;re serious about building websites, I recommend you explore it.</p>
<p>Here&#8217;s a quick rundown of  the functionality:</p>
<ol>
<li>F&amp;R can work on unopened documents, so you don&#8217;t even have to have a document open to access it. <em>Just remember, there is no undo for unopened documents. So, before you get too fancy with your site-wide f&amp;r you might want to consider making a backup copy of your site.</em></li>
<li>It can search the following:
<ol>
<li>The selected text in an open document.</li>
<li>The entire document currently being edited.</li>
<li>All open documents.</li>
<li>All documents in a folder that you select.</li>
<li>Files selected in the site window.</li>
<li>The entire current site</li>
</ol>
</li>
<li>You can also choose what parts of a document to search:
<ol>
<li>The source code.</li>
<li>Only the text of the document (basically what you see in design view).</li>
<li>Text inside (or outside) of a specific html tag or tags.</li>
<li>A specific html tag with specific attributes.</li>
</ol>
</li>
</ol>
<p>In addition you have the usual options to match case or whole words as well as to ignore white space.</p>
<p>One option newcomers may be unfamiliar with is using regular expressions in searches. Regular expressions let you construct formulas to search not just for a specific text string but for patterns of characters and text strings as well. It&#8217;s a powerful tool that deserves a tutorial all it&#8217;s own. So for now I&#8217;ll simply point you to <a href="http://en.wikipedia.org/wiki/Regular_expression">Wikipedia</a> to get you started.</p>
<p>And, as always, feel free to <a href="mailto: jcook@DWcourse.com">email me</a> with questions, comment here and follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/find-and-replace.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovering a Dreamweaver Template</title>
		<link>http://www.dwcourse.com/dreamweaver/recovering-template.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/recovering-template.php#comments</comments>
		<pubDate>Thu, 14 May 2009 02:40:44 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[CS4]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=277</guid>
		<description><![CDATA[Now that I&#8217;ve gotten Let&#8217;s Get Started with Dreamweaver out the door, I thought it would be a good time to catch up on a few Tips of the Day (which you may have noticed haven&#8217;t been happening lately). I have still been answering questions on Twitter as DWcourse so I&#8217;ll get back in the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Now that I&#8217;ve gotten <a href="http://dwcourse.com/dreamweaver-mini-course"><em>Let&#8217;s Get Started with Dreamweaver</em></a> out the door, I thought it would be a good time to catch up on a few Tips of the Day (which you may have noticed haven&#8217;t been happening lately). I have still been answering questions on Twitter as <a href="http://twitter.com/DWcourse">DWcourse</a> so I&#8217;ll get back in the groove by covering some topics I&#8217;ve addressed there recently.</p>
<p>@<a href="http://twitter.com/michaellunsford">michaellunsford</a> asked if there was a way to reconstruct a lost Dreamweaver template from a page created with the template. The answer is yes but it&#8217;s a bit of work.</p>
<p>BTW, the steps here are based upon a <a href="http://www.ucl.ac.uk/is/training/resources/dw-template/">Dreamweaver template recovery article</a> from the University College London Website. I&#8217;ve tested my revised instructions in Mac Dreamweaver CS4 but they should work for earlier versions as well.</p>
<ol>
<li>Open an &#8220;orphan&#8221; page created from the missing template.</li>
<li>Select menu <strong>File&gt;Save as Template…</strong> <em>If you get a warning dialog that the original template can&#8217;t be found, click OK to dismiss it.</em></li>
<li>
<div id="attachment_284" class="wp-caption alignright" style="width: 168px">
	<img class="size-full wp-image-284" title="Template Name" src="http://dwcourse.com/wp-content/uploads/2009/05/picture-6.png" alt="The name of the template used to create a page is displayed in the upper right corner of thedesign View." width="168" height="52" />
	<p class="wp-caption-text">The name of the template used to create a page is displayed in the upper right corner of thedesign View.</p>
</div>
<p>Give the file the same name as the original template (you can find the original template name in a yellow rectangle in the upper right corner of Dreamweaver&#8217;s Design View).</li>
<li>Click Save and, when prompted, allow Dreamweaver to update links in the file. <em>The file will be saved in the a new or existing Templates folder in the root of your site.</em></li>
<li>Close the file in Dreamweaver.</li>
<li>Open the file in a text editor such as BBedit, TextEdit or NotePad.</li>
<li>Near the beginning of your file, delete the entire comment:
<pre>&lt;!-- InstanceBegin template="/Templates/yourtemplate.dwt" codeOutsideHTMLIsLocked="false" --&gt;.</pre>
</li>
<li>Immediately before the closing html tag &lt;/html&gt; at the end of your document delete the entire comment:
<pre>&lt;!-- InstanceEnd --&gt;.</pre>
</li>
<li>Dreamweaver (at least in CS4) inserts a <em>TemplateBeginEditable name=&#8221;head&#8221;</em> area when saving a page as a template. You&#8217;ll need to delete that. So look for code it the head of the document that looks like this:
<pre>&lt;!-- InstanceBeginEditable name="head" --&gt;&lt;meta name="keywords" content="test" /&gt;
&lt;!-- TemplateBeginEditable name="head" --&gt;
&lt;!-- TemplateEndEditable --&gt;
&lt;!-- InstanceEndEditable --&gt;</pre>
<p>Delete the extra code:</p>
<pre>&lt;!-- TemplateBeginEditable name="head" --&gt;
&lt;!-- TemplateEndEditable --&gt;</pre>
</li>
<li>Now you need to convert all of the InstanceBeginEditable comments into TemplateBeginEditable comments. So search and replace all instances of the following <em>being very careful to match the case of the words exactly</em>:<br />
<blockquote><p>Search for: InstanceBegin<br />
Replace with: TemplateBegin</p></blockquote>
</li>
<li>Now convert the closing comments as well.<br />
<blockquote><p>Search for: InstanceEnd<br />
Replace with: TemplateEnd</p></blockquote>
</li>
<li>Save and close the file.</li>
</ol>
<p>You should now be able to open and edit the file in Dreamweaver. When you save the file, all your changes should be applied to any document that used the original template.</p>
<p><em>As always, if you have questions feel free to comment here or tweet me at <a href="http://twitter.com/DWcourse">DWcourse</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/recovering-template.php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Recover FTP password</title>
		<link>http://www.dwcourse.com/dreamweaver/recover-ftp-password.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/recover-ftp-password.php#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:00:52 +0000</pubDate>
		<dc:creator>jcook</dc:creator>
				<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=127</guid>
		<description><![CDATA[I always warn my Dreamweaver students not to save their FTP password with their site information if they are working a public computer. If they do, anyone with access to the computer will have access to their website. In addition, the password encryption that Dreamweaver uses isn&#8217;t very secure. So a stranger could not only [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I always warn my Dreamweaver students not to save their FTP password with their site information if they are working a public computer. If they do, anyone with access to the computer will have access to their website. In addition, the password encryption that Dreamweaver uses isn&#8217;t very secure. So a stranger could not only access your site but also &#8220;borrow&#8221; your password and access your site later from a different computer.</p>
<p>While that seems like an oversight on the part of Adobe, it can also be a convenience if &#8211; like me &#8211; you ever need to recover a password and the only place you&#8217;ve saved it is in Dreamweaver. To make the recovery process easy, <a href="http://apptools.com/" target="_blank">Apptools</a> provides an easy to use recovery tool on their site. Here&#8217;s how to use it:</p>
<ol>
<li><strong>Export your site settings</strong>
<ol>
<li>Select the Site&gt;Manage Sites… menu option</li>
<li>In the Manage Sites dialog, click the Export… button</li>
<li>Make sure the &#8220;Backup my settings&#8221; option is selected and click OK</li>
<li>Save your definitions as a .ste fie</li>
</ol>
</li>
<li><strong>In a text editor</strong>
<ol>
<li>Open the site definitions (xxxx.ste) file</li>
<li>Locate the text string: pw=&#8221;encrypted password here&#8221;</li>
<li>Copy the letters and numbers between the quotes</li>
</ol>
</li>
<li><strong>Go to <a href="http://apptools.com/password.php" target="_blank">http://apptools.com/password.php</a></strong>
<ol>
<li>Paste the code into the Encrypted Password field at the bottom of the page</li>
<li>Click the Get Password button</li>
</ol>
</li>
</ol>
<p>That&#8217;s it, you should be looking at your recovered password.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/recover-ftp-password.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
