|
||||||||||||||||||||
Dreamweaver MX BasicsThe instructions in this document assume the reader has already created web pages using some other web page creation software (e.g., Netscape Composer or Microsoft FrontPage). Some knowledge of HTML coding is also recommended.
|
||||||||||||||||||||
Before You BeginBefore you begin creating the web pages within a website, it's a good idea to plan your design and organization first. Following are references you may want to read for help in that regard.
Site accessibility — providing the ability for anyone to read every web page — is a priority for campus web pages. Refer to campus policy for additional information. See also Some Accessibility Suggestions (an ITR technology training guide). Getting Started With DreamweaverDefining a New WebsiteDreamweaver includes a site maintenance and file transfer capability. To use this feature to organize your site, create a local folder (e.g., on your desktop computer) to hold the site's files and then define your site as described in the applicable document:
Make sure all files for a site are saved to the Local Root Folder or a subfolder thereof. That way you can easily create relative links in your documents and, when you're ready, publish the entire site to the equivalent location on the remote server. The Dreamweaver Work AreaThe Dreamweaver work area contains the document window and (if displayed) a number of panel groups. You can choose which panel groups to display from the Window menu. The panels shown and described below will be displayed the first time you open Dreamweaver. FIGURE 1. Dreamweaver
Work Area 1 - Document WindowThe document window is the place where you'll enter the text, place the pictures, and include the links that make up your web page. The status bar at the bottom of the window contains the following helpful elements.
2 - Document ToolbarIncluded on the Document Toolbar are the following.
3 - Insert ToolbarButtons and tabs on the Insert toolbar (or panel group) provide quick access to many Dreamweaver features. Items on the Common, Characters, and Head tabs are discussed in this document. 4 - Properties PanelThe context-sensitive Properties Panel (or Property Inspector) is used to inspect and modify the properties of text and objects. If the insertion point is positioned in text, you see the properties for that text. If an object is selected (such as a table or image), you see the properties for that object. 5 - Panel GroupsA number of panel groups provide quick access to information about the current document, the current site, and the Dreamweaver program. Visible when you first use the program are the Site panel of the Files panel group and the Answers panel. Click a panel header bar to expand (or collapse) a panel group. Panels can be hidden (or shown) by making the appropriate selection from the Window menu. Creating a Basic Web Page
Page PropertiesTo set properties that affect the entire page, choose Page Properties from the Modify menu. The dialog box is shown in Figure 2 (below) and descriptions of various options follow. FIGURE 2. Page Properties
Dialog Box
TextYou can type text or cut and paste text from another source. Formatting Text. You can use the Properties panel to format the text (see Figure 3, below). Text options are also available from the Text menu. FIGURE 3. Text Properties
Panel
Inserting Special Characters. To insert special characters, such as the copyright symbol ©, an em-dash —, or the Spanish language character ñ, select Special Characters from the Insert menu and make a choice from the cascading menu that appears. If you choose "Other" a grid will be displayed from which you can make your choice. The Characters tab on the Insert panel provides quick access to the same special characters that are listed at the bottom of the Special Characters cascading menu. You can also insert characters using keyboard shortcuts as shown in the ASCII Conversion Chart at http://www.csun.edu/itr/guides/ascii-chart.html LinksAbsolute and Relative Links. Highlight the text or object that you want to make into a link. Then use Properties panel to enter the appropriate link information. To include a relative link (i.e., a link to another file in your website), do one of the following:
For an absolute link (i.e., a link to a location outside your website), type the full web address (URL) in the Link text box. To include a link to the campus's main web page, for example, type http://www.csun.edu Internal Links (or "Jump Links"). To insert an internal link do the following:
Email Links. You can insert an email link by choosing Email Link from the Insert menu or by clicking the Email Link icon on the Common panel (tab) of the Insert panel group (see next section, "Inserting Common Objects"). Inserting Common ObjectsFrom the Common panel of the Insert panel group, you can easily insert a number of commonly used objects — a horizontal rule, an image, an email link, or the date, for example. These can also be selected from the Insert menu. Horizontal Rule. Click the Horizontal Rule buttonto insert a horizontal line at insertion point. With the line selected, you can change its properties (e.g., width, height, and alignment) using the context-appropriate Properties panel (as shown in Figure 5, below). FIGURE 5. Horizontal
Rule Properties Image. Clicking the Image buttondisplays the "Select Image Source" dialog box (as shown in Figure 6, below). Locate and select an image within your site (File name:) or type the URL for a non local image (URL:). FIGURE 6. "Select
Image Source" Dialog Box To insert the University word mark you might use the file located at http://www.csun.edu/images/CSUNwordmark200t.gif. For image files and information about appropriate usage of the University word mark and CSUN mark, see http://www.csun.edu/images.
Note: For local image files, you can also drag and drop
an image from the Site window into your document. FIGURE 7. Image Properties Email Link. Clicking the Email Link buttondisplays the "Email Link" dialog box (as shown in Figure 8, below). Enter the link text and email address in the text boxes provided. FIGURE 8. "Email
Link" Dialog Box Note: When you've entered an email address, that address will appear in the dialog box the next time you insert an email link. Current Date. Using the Date buttonyou can insert the current date in a format you specify by selecting options in the dialog box that appears (see Figure 9, below). If you select (click) "Update Automatically on Save", the date will be updated every time you modify and re-save the page. FIGURE 9. "Insert
Date" Dialog Box Inserting Head ObjectsYou can insert header information using buttons on the Head panel of the Insert panel group. The tags can also be selected from the Insert | Head Tags cascading menu. Keywords. Include keywordsto help search engines find the page. Bear in mind that some engines will search on a limited number of keywords, so keep the number of keywords to a minimum. Description. Use this tagto provide a description of the web page. If present, this summary will be used in search results. Refresh. Use this featurewhen you want to inform a visitor that a page has been moved and automatically switch to the new page within a specified number of seconds. Preparation for PublishingPreviewing a PageThough Dreamweaver is a WISIWIG program, you don't always see exactly what you'll get when a page is published on the web. It's a good idea to preview your pages in both Netscape and Internet Explorer, as there may be display differences. Click the Preview/Debug in Browser button on the Document toolbar and select a browser. To add a browser to the list, you can use Edit Browser List option on the dropdown menu. Good Site Organization PracticesGet organized before you publish for the first time! If you publish first and reorganize later, you may be changing URLs that visitors to your site have bookmarked. Rather than save every file in your website in the same folder, it's a good idea to structure the site by organizing files in separate folders according to category. This will make it easier to locate and add files as you develop the site. For example, the site for an academic department might include separate folders for information about faculty, degree programs, and special programs. Maintaining separate folders for images (and other assets) is another good practice. The site maintenance feature in Dreamweaver allows you to reorganize your files without breaking any links. When you move a file within your site, Dreamweaver checks to see if the move will cause any links to be broken and, if so, asks if you want to update the links. Code CleanupDreamweaver does a pretty good job of writing clean code; however, it's a good idea to use the "cleanup" feature just to make sure there aren't any extraneous codes in a document. From the Commands menu choose Clean Up HTML. If you use Dreamweaver to modify a web document that was created in Word, it's especially important to use the cleanup feature because Microsoft includes an abundance of unnecessary codes. From the Commands menu choose Clean Up Word HTML. Check PageThe Check Page feature — accessible from the File menu — provides ability to Check Accessibility (i.e., ADA/508 compliance), Check Links, and Check Target Browsers (including older browsers). Publishing PagesYou can publish a single page, the contents of one folder, or an entire site using the Site panel in the Files panel group. Simply click the item(s) you want to publish and then click the Put File(s) arrow at the top of the site panel. For details, refer to the "Transferring Files" section of the appropriate Dreamweaver publishing instructions:
How to Learn MoreDreamweaver HelpAmong the items on Dreamweaver's Help menu are:
Books
|
||||||||||||||||||||
|
||||||||||||||||||||
September 23, 2003 |
Prepared by Gail Said Johnson, User Support Services |
|||||||||||||||||||
ITR's technology training guides are the property of California State University, Northridge. They are intended for non-profit educational use only. Please do not use this material without citing the source. |
||||||||||||||||||||