Creating a Web Site with Dreamweaver MX
Dreamweaver is considered by many to be the industry standard in hypertext markup language (html) editor among web professionals. With Dreamweaver, the user can work either directly with html code or in a graphic editing environment that functions like a word processing program (e.g. MS Word). Although Dreamweaver can accomplish many difficult tasks- such as writing Cascading Style Sheets (CSS)- it is relatively easy to use for creating ordinary web pages. It's not a bad idea
to get your web server access setup before you start. You can
jump to that section now: Creating and Managing
a Site. |
The Workspace
When you first open Dreamweaver, you should see a dialog box that suggests you create a new Dreamweaver document. If none appears, go to File > New on the very top menu bar. This will open a new document diaglog box. To start with, open up a basic html page. |
The Document Window
|
| The Document Window displays your web page in a “What you see is what you get” (WYSIWYG) view- i.e., it shows you basically what your text and images will look like when they are seen in a web browser. The toolbar across the top of your document window lets you choose one of three views: |
| Next to these icons is a text field where you can enter your page's title. You should always enter a verbose title that might tell a search engine what your page is all about. Avoid mysterious acronyms or jargon. |
At the bottom of your document window:
|
The Object Properties Panel
|
Everything you insert into a page - including text, graphics, tables, and horizontal lines - are considered “objects” that have certain “properties.” When you select an object, the Properties bar at the bottom of the screen displays all of the formatting properties associated with that object, including any links. By default, the Properties bar is set to text. Using this bar, you can format most objects, such as: |
|
Modifying properties for the entire page
You can establish background colors, margins, and other basic page/layout
features by selecting Modify > Page Properties in the top menu bar. |
![]() |
At the top of the dialogue box is a field in which you can enter a title for your web page. Just underneath is a field for entering the name of an image to use as the background (you can navigate to an image on your hard drive by selecting Browse). You can also set default colors for your text, background, and links (in all three states) by clicking on the appropriate square and selecting a color. As you move the eye dropper icon around the colors, the hexadecimal values of each color will appear in the gray bar across the top. More options are available under the buttons on the top right. Selecting the color wheel will give you a spectrum from which you can choose millions of different colors. Selecting the arrow allows you to choose from a collection of gray shades. |
Panel Group
|
| The Panel Group is a sidebar that expands, displaying certain helpful functions within the sidebar. These include, among others, file management or Files. This function helps in the creation and management of the site (more on this to follow). |
Inserting Objects To insert text: Choose an insertion point in your Document window and start typing, or cut and paste text from another document into your Document window. You can control the font style, color, size and other characterisitcs through the Properties panel. You can treat Dreamweaver text much as you would a word processor, but note that you must create line breaks or paragraph breaks manually:
To insert a hypertext link:Highlight the text in your document that you'd like to make into a hypertext link, then type the URL of your link into the Link box in the Properties bar. Note that the URL should include "http://", such as:
To insert an image:
To insert a table:
You can explore the "Insert" top menu item or the Objects palette to see other items that DreamWeaver can insert, including Flash, audio and video files, forms, and scripts.
|
Previewing Your Work Since different browsers render html differently, it is a good idea to preview your work in the two major browsers- Netscape and Internet Explorer. Dreamweaver offers a shortcut: under the File menu, select Preview in Browser. Dreamweaver will open the browser on your machine and load your page. You can add up to 20 different browsers by selecting Edit browser list. Your primary browser will automatically be assigned the keyboard shortcut F12, and your secondary browser will automatically be assigned Ctrl-F12. |
Inserting Interactive Images
A rollover- easily one of the most popular visual effects on the internet-
is an image that changes when you roll the mouse over it. The effect
is created when two images swap at just the right time. You can create
mouse rollovers by selecting Insert > Interactive Images > Rollover
Image. You are prompted for a name that will refer to both images (any
unique name will work) and are given two browse button to navigate to
the two image files you want to use. Checking the option Preload
Rollover Image will cause the images to be stored in the client
browser’s
cache so they will appear immediately when they need to. If you want
to make the rollover image a link, you can also insert a Uniform Resource
Locator (URL) in the given field. |
![]() |
|
Go to Site > New
Site to create a new site. This
will open the site definitions. Dreamweaver provides a way for you to
work
on several
pages.
This feature
enables you to create your web structure locally before you upload it.
Following this method, all relative links will continue to work. |
Name your site: The name that you choose will appear in the Site > Open Site submenu so you can reopen the entire website to work on later. This site name is only for your reference and will not appear in a browser, but is useful if you manage multiple DreamWeaver web sites. If you do manage multiple web sites via Dreamweaver, you'll want to be sure to choose meaningful names that relate to the site in some way. |
| Server Technology: use the setting of “no” for now; Willamette currently does not support this software. |
Editing Files: Work with your files by first editing them locally on your machine, then uploading them to the server (the strongly recommended setting - DreamWeaver often fails if you try to set your local and remote sites to the same location). You'll need to select a folder on your local computer on which to store your files. You can name this folder anything; Dreamweaver may try to suggest a folder name that is the same as your site definition name. |
|
As long as you are going to be the only person working on the site, select No. If you will be sharing access to the site, check Yes. By checking Yes, only one person will be able to work on pages within the site at one time (the person will "check out" individual pages on the site when working on it, just as they would "check out" a book from the library). Now you can create and edit your web pages. Remember to use the green download or blue upload arrows to download and upload your web files. |
Last updated:
October 1, 2007
(RAM) |