Wellesley Computing Logo

Dreamweaver
MX
Macintosh and Windows

Dreamweaver MX Basics

For Beginners What's New in Dreamweaver MX Basic Features Menus and Media
Managing a Site Creating Forms Cascading Style Sheets Web Resources


Link - Beyond the BasicsLink - Site Management Features

Table of Contents


Where to find this software at Wellesley

Dreamweaver is available on all of the computers in the public labs and can be installed on personal and office computers connected to the Wellesley College network. If Dreamweaver is not already installed on your computer, you can install it from the following pages:

Macintosh
Windows


Where is my Properties Inspector? (applies to all Dreamweaver windows)

All windows in Dreamweaver, including the Properties Inspector and the Insert Palette can be opened from the Window menu.

To open a missing window:

From the Window menu, select the window you would like to open.

If the window you want still won't open:

  1. From the Window menu, select Arrange Panels.

Cleaning up Word HTML

Many users like creating HTML documents in Microsoft Word. Unfortunately, the HTML that Microsoft Word writes is not very accurate. Dreamweaver provides a function for cleaning up the Word HTML so that you can continue creating your pages in Word.

To clean up Word HTML:

  1. From the File menu choose Open and then select the Word HTML document that you would like to work on.
  2. From the Commands menu, choose Clean up Word HTML
  3. A dialog box will appear with many choices, all of which are checked off by default.
  4. You can leave the default choices unless you see a choice that you would like to uncheck.
  5. Click OK
  6. You will receive a log letting you know what was cleaned up.
  7. From the File menu, choose Save to save the document.

Editing Text

You can type text directly into the Dreamweaver document window, or you can cut and paste from another application. You should let the lines of text wrap in the Dreamweaver window (don't hit the enter (or return on a Mac) key at the end of every line) so that there will not be any unnatural line breaks when your page is viewed in a browser. (Netscape or Internet Explorer)

Once the text is entered into the document, you can format it using the Properties window. To format it use the following instructions.
Property Inspector


Inserting special characters

To insert a special character into your document:

  1. Click once in the location that you would like to place the character.
  2. From the Insert window, click on the Common drop-down menu, and choose Characters
  3. Click on the special character that you would like to add.
  4. If the character you need does not appear:
    • Click on the square icon for other characters, or go to the Insert menu, then to Special Characters and click on Other...
    • Find the character you need from the window that opens.
    • Click once on the character you wish to insert and click OK

Previewing your file in a browser

To preview your web page in a browser:

    1. Save your page (from the File menu choose Save)
    2. From the File menu, select Preview in Browser (or hit F12 on your keyboard).

    OR

  1. Click on the Earth icon next to the Title: box at the top of your window
  2. Select Preview in the browser you prefer.

Note: If you get an error message letting you know that your browser cannot be found, choose File > Preview in Browser > Edit Browser List. Here you will be able to reselect the appropriate browser on your computer and add a secondary browser to the list.

Remember that people will be using different computers, browsers, and browser versions to view your pages and they often look different depending on the system. Make sure to test your web pages on both a Mac and a PC.


Images

Working with an image:

Images can be drawn, scanned, or taken with a digital camera. All image editing (changing the dimensions, drawing, etc.) should be done in another application BEFORE you insert the image into your web page. You can use Fireworks (Macintosh and Windows), Graphic Converter (Macintosh) for image editing.

Fireworks can be downloaded to your computer and used if it is connected to the campus network.

To insert an image:

  1. Make sure your image file is saved in the same folder as your html file.
  2. In your Dreamweaver document, click in the place where you want the image to appear.
  3. From the Insert menu, choose Image (or click on the Insert Image Button button in your Insert window)
  4. In the dialog box that appears, navigate to the image file.
  5. Highlight the image file and click the Select button.
  6. The image will now appear in your web page.

Adding an alt label to your image:

An Alt label is a text label for you image. If someone views the page using a browser that does not support images or if the browser is set to have image loading turned off, they will see the alt label in its place. Alt labels are especially important for users with disabilities who are browsing the web using a screen reader.

  1. Click on the image in your Dreamweaver document.
  2. In the Properties window find the Alt field PI - Alt tag
  3. Type in a short description of your image in the Alt box

Creating and Editing Links

To link to another page in your own web site:

  1. Make sure the file you want to link to is saved in the same folder as your Dreamweaver document.
  2. In your Dreamweaver document, highlight the text or image that you would like to link.
  3. In the Properties window, find the Link field.PI - Link Box
  4. To the right of the Link field, there is a small folder (blue on the Macintosh or yellow in Windows).
  5. Click once on this small folder.
  6. In the dialog box, navigate to the html file that you want to link to.
  7. Highlight the file you want and then click on the Select button.
  8. The file name will now appear in the Link box.

To link to another page on the WWW:

  1. In your Dreamweaver document, highlight the text or image that you would like to link.
  2. In the Properties window, find the Link field.PI - Link Box
  3. Type in the ENTIRE URL for the link (example: http://www.somewebsite.com) into the Link box.
  4. If you don't want to type the URL into the box, you can copy and paste the URL from your browser (Netscape or Internet Explorer). To do this:
    • Go to the web page in your browser and highlight the ENTIRE URL.
    • From the Edit menu, choose Copy.
    • Close your browser.
    • In your Dreamweaver document, make sure the text that you want to link is highlighted.
    • In the Properties window, right-click (PC) or hold down the control key and click (Mac) in the Link box and choose paste.

Inserting and linking to anchors

An anchor is a "marker" for a section of a web page. Anchors are very useful in long web pages, or web pages that naturally break themselves into sections.

For instance, this documentation has anchors inserted at the beginning of each topic. The table of contents at the top of this page links to these anchors. When you click on the link for Inserting and linking to anchors at the top of this page, it will bring you to the Inserting and linking to anchors section of the page.

To insert an anchor:

  1. Click once in the location that you would like to "mark" with an anchor.
  2. From the Insert menu, choose Named Anchor
  3. Type a name in the Anchor Name dialog box and click OK
  4. A yellow shield with an anchor will appear in your document where the anchor was inserted.

Note: This shield will NOT appear when you view the page in a browser.

To make a link to an anchor:

  1. In your Dreamweaver document, highlight the text or image that you would like to link.
  2. Leaving the text or image highlighted, use the scroll bars on the right-hand side of your document window to scroll until you can see the anchor
  3. In the Properties window, find the Link field.PI - Link Box
  4. To the right of the Link field, there is a small wheel.
  5. Click and drag this small wheel over the anchor.
  6. Let go of the mouse when the wheel is positioned over the anchor.
  7. Your document will "flip" back to the text or image that you had highlighted and it will be underlined and blue, showing that it has been linked.

Creating a table

To insert a table:

    1. In your Dreamweaver document, click in the place where you want the table to appear
    2. From the Insert menu, choose Table (or click on the Insert Table Button button in your Insert window)
    3. In the dialog box that appears, enter the number of rows and columns that you want.
    4. Click OK
    5. The table will appear in your document.

You can type text directly into the table cells, and you can paste, or import text and images. You can format the text in a table in the same ways that you can format it in the rest of your Dreamweaver document. Highlight it and then use the Properties window to change the style, color, etc. (See Editing Text for more help.)

Note: When viewed in a browser (Netscape or Internet Explorer), the table cell size will reduce horizontally to fit the content of the cells. If you don't want this, click on the vertical cell dividers in your Dreamweaver document and drag them to adjust them.


Editing a table

You can edit the properties of the entire table, or you can edit just pieces of the table (rows, columns, or individual cells).

To edit the properties of the entire table:

  1. Click on the table border. (Hover your mouse over the border of the table. You will see a two-way or four-way arrow when you are able to click on the table border.)
  2. You will see the entire table outlined in black when it is selected.
  3. In the Properties window, you will see a picture of a table to let you know that you can edit the table properties.
    PI - Table

To edit the properties of a single row of the table:

  1. Let your mouse hover to the left of the row you want to edit until the cursor turns into a black arrow pointing towards the row.
  2. When this black arrow appears, click with your mouse to highlight the row.
  3. You will see the row outlined in black when it is selected.
  4. In the Properties window, you will see a row highlighted in the table picture.
    PI - Row
    This isn't the actual row you are working on! It is a "generic row" just to let you know that you can edit the row properties!

 

To edit the properties of a single column of the table:

  1. Let your mouse hover over the column you want to edit until the cursor turns into a black arrow pointing down at the column.
  2. When this black arrow appears, click with your mouse to highlight the column.
  3. You will see the column outlined in black when it is selected.
  4. In the Properties window, you will see a column highlighted in the table picture.
    PI - Column
    This isn't the actual column you are working on! This is a "generic column" just to let you know that you can edit the column properties!

 

To edit the properties of a single cell of the table:

  1. Click in the cell that you want to edit.
  2. In the Properties window, you will see a cell highlighted in the table picture.
    PI - Cell
    This isn't the actual cell you are working on! This is a "generic cell" just to let you know that you can edit the column properties!

 

To edit the properties of more than one row, column, or cell at the same time:

Hold down the shift key while you are selecting the different table parts.


Importing data from a spreadsheet to make a table

Dreamweaver will allow you to import a spreadsheet (such as Microsoft Excel) into your document and have it automatically formatted as an HTML table.

To import a spreadsheet:

    1. Open your spreadsheet up in its own application.
    2. From the File menu, choose Save As.
    3. In the Save as dialog box, find the Save as Type: field
    4. From the list of file types, select Text (Tab Delimited)
    5. The file name should end in .txt (example: spreadsheetfile.txt)
    6. Save the file to the same folder as your Dreamweaver document. (In Excel, you may get a message warning you that you will only be able to save the current sheet. That is OK)
    7. Close your spreadsheet application. (In Excel, you may get an error saying that the file is not in MS format. This is OK)
    8. In your Dreamweaver document, click in the space where you want to insert the spreadsheet.
    9. From the Insert menu, choose Tabular Data (or click on the Insert Tabular Data Button button in your Insert window)
    10. Click on the Browse button and navigate to the spreadsheet file that you just saved (the .txt file)
    11. Highlight the file and click Done (or Open).
    12. In the dialog box, from the Delimiter pull-down menu, select Tab.
    13. You can change the table formatting now in the dialog box, or later in the Properties window.
    14. Click OK when you are finished.
    15. The new table will now appear in your document.

You can format the table data, and sort and format the table like any other table in Dreamweaver. (See Editing a table for more help.)


Adding a background color or image

When you create your web page in Dreamweaver, the default color of your web page background is white. You can change your background to a different color, or use an image for the background of your web page.

To change the color of your background:

  1. From the Modify menu, choose Page Properties
  2. Click once on the Background Color Box Page Properties - Background Color to open up a palette of colors.
  3. Move the Eyedropper to the color you would like to select and click once.
  4. If this is the color that you would like to use, click OK

To use an image for your background:

  1. From the Modify menu, choose Page Properties
  2. Click on the Browse button to the right of the Background Image fieldPage Properties - Background Image
  3. Browse to find the image file you would like to use.
  4. Highlight the image file when you find it and click on the Select button.
  5. Click OK

Note: If the image that you have selected is not as large as your web page, it will TILE to fill the entire space! Test your page by Previewing in a Browser to make sure you have your desired results.


Adding a Document Title

Before you save, give your page a Document Title. The Document Title appears in the blue bar at the top of your browser window when you view your web page. If you do NOT give your page a Document Title, the browser window will say Untitled Document.

To enter a Document Title:

  1. Enter a Document Title in the Title: box in the toolbar above the page editing window.

Printing your web page

To print your web page:

    1. From the File menu, choose Preview in Browser (or hit your F12 key on your keyboard)
    2. From the File menu (in your browser), choose Print.

Note: You cannot print your web page directly from Dreamweaver. You can print the html code if you wish: from the File menu, choose Print code....


Search and Replace

Dreamweaver provides an excellent search and replace function. You can choose to search throughout one page, or throughout an entire site folder (The folder must be saved on your own local computer.) You can search for pieces of text, or pieces of HTML.

To search and replace text or HTML:

  1. From the Edit menu, choose Find and Replace
  2. From the Find In: pull-down menu, choose the location you would like to search (document, web site, or folder)
    Find and Replace - Find In
  3. From the Search For: pull-down menu, choose what you would like to search (text, or HTML)

  4. In the next field, type the text or HTML that you would like to find.
  5. Type the replacement text or HTML in the Replace With: field
    Find and Replace - Replace With
  6. Check the Match Case checkbox if it is required.
  7. Click on the Find Next, Find All, Replace, or Replace All button
  8. Click on the Close button when you are finished searching and replacing.

Spell-Check



Computing at Wellesley

Macintosh Documentation

PC Documentation