Starting out on a new site projectThe most critical thing to remember when beginning a new site project, even if it is just an exercise for learning purposes, is to correctly set up the site's Root Folder. This is where all of your website files will be saved to. When saved into this folder, your pages and other files can refer to each other directly in your code structure. So when we link from 'index.htm' to 'page1.htm', for example, we need only write the most direct path to the file name. This makes it possible to upload your website to a hosting service and maintain the relations between files in your site. In other words, even though your local root folder (on your computer's hard drive) is named something like 'project folder', when copying to the remote folder on your hosting service the relationship between your files remains intact. Therefore, when we set up a new site project, the very first thing we do is define the Root Folder. Here's how we do it in Dreamweaver.... 1. Launch the Dreamweaver application program. *This prevents linking and embedding from failing on sites that have been copied to a host. If the 'Relative to Site' option is checked, the site will only function locally. |