• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Lesson 6. Managing Your Site > Creating a Site Map

Creating a Site Map

A site map gives you a visual representation of your site and all its linked pages. You can save the site map as a graphic to be used in documentation. To create a site map, first define your home page.

In the Local Folder pane of the Site window, select Lesson_06_Sites/home.htm. Choose Site > Set As Home Page (Windows) or Site > Site Map View > Set As Home Page (Macintosh). Alternatively, right-click (Windows) or Control-click (Macintosh) the file and choose Set As Home Page from the context menu.

You will not see the result of this command until you create the site map. Now that you have defined the home page, you can create the site map.

Click the Site Map button on the Site window tool bar or choose Window > Site Map.

The site map is a graphical representation of your entire site, with the home page displayed at the top level (also known as the root level). A connecting line with an arrowhead shows a link from one page to another. Pages containing links are displayed with a plus or minus sign. Clicking the plus sign displays the linked pages. If a link displays in red type, the link is broken. External links, such as e-mail links and URLs, are blue and display a small globe.

By default, Dreamweaver displays the site map horizontally. If the home page has many links, there might not be enough room on the site map to show all the pages. You can change the number of columns and the column width to make the site map fit a single page for printing. You can also switch the layout to a vertical format.

In the Site window, choose View > Layout (Windows) or Site > Site Map View > Layout (Macintosh).

The Site Definition dialog box opens, displaying the Site Map Layout options.

In the Number of Columns text box, type 1 and click OK.

The site map is regenerated to show all the linked pages in a single column.

Choose File > Save Site Map (Windows) or Site > Site Map View > Save Site Map > Save Site Map As JPEG (Macintosh).

The Save Site Map dialog box opens so that you can save the site map as a graphic. On Windows computers, the site-map graphic is saved as a BMP or PNG file. On Macintosh computers, you can choose whether to save the graphic in PICT or JPEG format. At times, you may need to share the site map with people outside Dreamweaver. The option to save the site map as a graphic makes it easier to show to other users.


If Save Site Map is grayed out, go back to the Site window and click the empty white space of the site-map pane to make sure it is active. Then go back and choose the Save Site Map command again.

In the File Name text box, type compass_site.bmp (Windows) or compass_site.jpg (Macintosh). Click Save.

The site map is saved as a graphic that can be printed or viewed in an image editor.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint