DreamweaverAdobe Dreamweaver is a popular HTML editor that allows more precise control over webpage development than other HTML editing software. Faculty Multimedia Development LabHours: Monday-Friday, 9:00am-4:00pm Outline
IntroductionSeveral versions of Dreamweaver were available until Adobe upgraded its suite with the CS4 layout. It offers the same features offered in previous versions, with the addition of more-so advanced editing and previewing tools. Dreamweaver assumes that you know at least a little about what goes into making a basic web page, even if you don’t know or write any source code by hand. For purposes of this guide, let’s explain two key concepts: HTMLHTML (Hypertext Markup Language) is the most basic building block of a web page. Dreamweaver writes this source code for you, behind the scenes, as you build pages using it’s graphical interface. HTML describes your basic content, the “what”, in the simplest of terms that all browsers and devices can make sense of: headings, paragraphs, lists, images, tables, etc. CSSCSS (Cascading Style Sheets) specifies how that content should look. Dreamweaver writes this for you as well, embedded, or inline, with the HTML code. Colors, fonts, decorative touches such as borders, and the positioning of all of your HTML elements are controlled with CSS. Why two different languages? Why not just one? Separating content from design allows the greatest accessibility for the end user. A blind user, for instance, can use software to audibly “read” a page (logically structured HTML content) while ignoring the graphic layout (colors, fonts, fancy positioning), which might otherwise make deciphering content difficult for such a user. Understanding this much will help make sense of options presented to you within Dreamweaver. [top] Open an Existing File or Create a New FileOpen Dreamweaver by double-clicking on the desktop icon OR going to Start > All Programs > Adobe CS4 > Dreamweaver. Once you open Dreamweaver, you will see a window that displays three major options: Open a Recent Item, Create New, and Top Features (videos). Open a Recent ItemDreamweaver maintains a history of previously edited pages. Select an HTML file from this list, or choose 'Open' and browse for the file that you would like to begin editing. Create NewFor the purposes of this guide, choose 'HTML' to open a new HTML document. As you become more advanced you may use other file types in this list. Top Features (videos)Adobe provides free tutorial videos for your use! This is a great way to learn more about new features and advanced techniques. [top] Dreamweaver Workspace OverviewDepending on your version of Dreamweaver, what you see may differ from Dreamweaver CS4, but most basic features and tasks are available in version CS3 as well. Document ToolbarFor HTML pages, toolbar options include various preview options, page title specification, and file management commands for using Dreamweaver itself to publish files. The Document Toolbar also enables you to choose between several open files, via tabs, if more than one file is open.
Document WindowThe Document Window contains the current document as you create and edit it. Properties InspectorThe Properties Inspector is one of Dreamweaver’s most commonly used tools. Docked at the bottom of the workspace, the Inspector provides shortcuts for formatting text, links, images, and tables. This tool changes appearance, depending on which object is currently selected. If no object is selected, the Property Inspector will display text attributes. To modify an object, select the object, then make desired edits in the Properties Inspector. New in version CS4, is the separation of HTML (content) editing from inline CSS (design). Clicking on either button will give you those specific options.
Insert Panel/Bar
Other Panels
Files PanelThe Files Panel enables you to manage your files and folders. Find out more about the Files Panel by going to Help > Dreamweaver Help > search for "Files Panel." [top] Page Properties (page title, background, text/link colors, and margins)Page Properties enable you to specify formatting properties for each page in your website. Choose Modify > Page Properties to bring up the Page Properties dialog box or click the Page Properties button found on the Properties Inspector.
Appearance (CSS/HTML)You can set common properties for your entire web page under either Appearance category. For greatest end-user accessibility, it’s ideal that you use the Appearance (CSS) panel. BACKGROUND IMAGEClick the "Browse" button and navigate to the location of the background image for the page. If the image is small, the browser will automatically tile the image to fill the entire browser window. Be careful—your users need to easily read the information that will appear over it! BACKGROUND, TEXT, AND LINK COLORSTo select a color, do one of the following:
Links (CSS)You’d specify text link colors here—again, presuming the choice of CSS over HTML for decoration. Title/EncodingEvery web page that you create should have a Page Title. The Page Title not only shows up in the title bar of the user's browser window, but it's also used for bookmarks and in some search engines. If you do not specify a title, Dreamweaver's default title is "Untitled Document." Imagine having 20 bookmarks that say "Untitled Document"! Tracing ImagesDreamweaver enables you to trace an image as a layout guide for your page. For more information about Tracing Images, see Dreamweaver's help topic on "Tracing Images." [top] Typography (formatting text size, colors, fonts, etc.)To customize text in Dreamweaver, first highlight the text you would like to format, then apply any of the following elements or attributes: FormatFormat is an option on the Properties Inspector that allows you to designate any text you select as a specific HTML element (the basic building block of a web page). This should be your first method of text formatting, as it encodes your content behind the scenes to make your pages accessible to users of varying browser abilities. Headings (H1, H2, H3, etc.) are very important in web page design. There are different size headings (1-6), which will help organize your web page. Heading 1 is very large and Heading 6 is very small. If you choose a heading format, a line space will automatically be added before and after the text. Same with normal paragraph text. (Tip: to break a line without starting a new paragraph, hold down the Shift key while pressing Enter or Return.) Once that's done... FontThe font list, in the CSS area of the Properties Inspector, provides commonly available fonts (or font families). This is important because fonts are not embedded into the HTML document. This means that if an end user's computer does not have the specified font, the HTML browser will display it’s default font instead; usually Times New Roman. It's best practice to use common fonts such as Arial, Times New Roman, Courier, Georgia, Verdana, or Tahoma. SizeChange the font size by clicking on the down arrow and selecting the desired size. Do not use the "Size" option to create headings (without selecting H1, H2, H3, etc. from the "Format" drop-down first). While your text may look fine on screen, sight-impaired users with audio web-browsers won't recognize the text as a designated heading. Bold and ItalicizeDreamweaver enables you to bold and/or italicize. This guide recommends doing this on the CSS part of the Properties Inspector. AlignmentAlign your text left, center, or right by selecting an alignment button. Creating a ListThere are two ways to create a bulleted or numbered list in HTML:
[top] HyperlinksYou can set text or images to link to other websites (absolute links), other pages in your own site (relative links), or to specific sections of a particular page (anchor links). For all links, select the text or image that you would like to link and enter the URL in the Property Inspector Link text box. Absolute LinksAbsolute links are links to external websites. Therefore, you absolutely must specify the entire URL (i.e., "http://www.unc.edu"). Usually, it's easier for users when external links open up in new browser window (this way, your site will still be available even if they browse around an external site). To set an external link to open in a new browser window, set the Target to "_blank". Relative LinksRelative links are links to other pages within your own site. In this case, you do not need to specify the entire address. If the page you want to link to is within the same folder as your document, just enter the name of the file (e.g., "faculty.htm") you are linking to in the Link text box. If the page is in a different folder on your website, then the link should include the folder name, a slash, and the name of the page you want to open (e.g., "images/faculty.htm"). Even so, the safest thing to do is to click on the folder icon, browse to your file, and press "OK." Dreamweaver will then write the correct path for you. AnchorsAnchors allow you to link to specific sections of a particular page. Instead of having to scroll down the page to find information, you can give your users a link that will jump down to the section of interest.
If you would like to link to a specific section in another page, set the anchor in the appropriate spot and link to that anchor by entering the name of the page plus the anchor link (i.e., "page.htm#anchor name"). Email LinksSet an email link in an HTML document by choosing Insert > Email Link. Enter the text that you would like to link and the email address, then press "OK." [top] Inserting and Editing ImagesInsert photographs or graphics into a web page by inserting the cursor where you would like to insert the image, and choose Insert > Image. Choose the appropriate file and press "OK". Dreamweaver will enable you to alter some aspects of the image, but it's ideal to edit the photo in a photo editor like Photoshop or Fireworks first before bringing it into your web page. [top] Inserting and Editing TablesWhile designed primarily for organizing data, you can also use HTML tables to visually lay out basic web pages. Just a reminder: for greatest end-user accessibility, it’s ideal that CSS be used for graphical layout. That requires hand-coding CSS, though, which is beyond the scope of this guide. Insert TablesClick on Insert > Table. Format your table from the beginning by specifying table properties in the window that appears. Don't worry if you are not sure about the settings in the beginning, the Property Inspector will enable you to change the properties after the table has been inserted. Edit TablesTable Size
[top] Saving and Previewing Your WorkSave Your FileChoose File > Save. Use the following guidelines when saving HTML files:
Preview Your WorkAlthough you have not yet published your web page to a server, Dreamweaver enables you to realistically preview your page. Live ViewClick “Live View” on the document toolbar to toggle a fairly accurate preview on or off. Preview in BrowserTo preview in the actual web browser of your choice, choose File > Preview in Browser. Such a browser must be installed on your computer. If any browser preferences for Dreamweaver are set, they will appear to the right of "Preview in Browser."
[top] Other FunctionsSpell CheckingChoose Commands > Check Spelling Clean Up HTMLIf hand-writing or pasting in HTML code, you can use the Clean Up HTML command to remove empty tags, combine nested FONT tags, and otherwise improve messy or unreadable HTML code. Choose Commands > Clean Up HTML Clean Up Word HTMLUse the Clean Up Word HTML command to remove Microsoft tags that may interfere with the tags created by Dreamweaver. Choose Commands > Clean Up Word HTML Find and ReplaceThis is very useful if you want to search for (and possibly replace) text, code, and attributes within your website. Let's say you mistakenly misspelled your director's name (i.e., McKenly instead of McKenley) throughout your entire website. Instead of looking through each page of your site for the error, you can use the Find and Replace tool to find all "McKenly" text and replace it with "McKenley" in one step. Choose Edit > Find and Replace
[top] HTML Resources on the WebWeb Page Report GeneratorKeep track of who and how many have visited your web site. You must have a SOM id to use this. http://www.med.unc.edu/cgi-bin/prbin/websum.pl Other Recommended Linkshttp://help.med.unc.edu/training/external-links
[top]
|



The Insert Panel (or Bar), located at either the top or right of the Dreamweaver workspace, displays buttons that allow you to quickly insert various objects into an HTML page, versus using the same commands through the drop-down menus. By default, the Insert panel in Dreamweaver displays shortcuts to common elements (images, links, etc). Press on the down-facing arrow beside "Common" to view other object categories.
The Panels (docked to the right of your Document Window by default) can be expanded, collapsed, and rearranged to suit your needs.
