Dreamweaver Basics

Dreamweaver 4 is the latest version of a "wysiwyg" ("what-you-see-is-what-you-get) web-authoring program that allows you to construct even pretty advanced web pages without having to know or write the underlying HTML code. Dreamweaver does the code for you and lets you see the changes immediately, just as if you were working with Word. Dreamweaver is also available in a 30-day trial version from Macromedia. You should decide whether you’d prefer the trial now or when you’re working on your final project. Go to:http://www.macromedia.com/software/dreamweaver/trial/

1. Opening Dreamweaver

2. Saving Your Site

It’s very important to save your document immediately, before you begin adding page elements. This is so that images will be assigned "relative links" - links that are relative to the site. Create a folder where you’ll put all of the elements of your page(s) - including graphics. Name your main page in this folder index.html, as web browsers always look for this "index page" in any directory. You are now ready to start building your site! Use only lowercase letters in the name; don’t use spaces or punctuation.

3. Setting Page Properties

To begin, you will want to set up the basic look of the page. Don’t worry, anything you choose can be easily changed at a later time by returning to "Page Properties."

  • From the Modify menu, select Page Properties. On a PC, you may also select this by right-clicking anywhere on the page.
  • 4. Layers vs. Tables

    Unless your page is very simply arranged, the most reliable way to position text or images on your webpage is to put them in tables. Yet tables limit where you can position your page’s elements - right-justified, left justified, or centered. Dreamweaver allows you to design your page by putting things into layers which can be dragged anywhere you want on the page, and then it allows you to convert those layers into the more web-stable tables for display online. There will always be some differences between what you design and what you see on the web, but using layers and converting them to tables this way can help you minimize those differences. Let’s start by making a table and learning how to format it.

    5. Creating Tables

    Tables Properties Panel

     

    6. Creating and Formatting Text

    Now let’s type some text, either in a table (recommended), or directly on the page. Simply place the cursor where you want it and begin typing. As with Word, use the familiar controls on the properties panel (below) to make your text appear how you want it. Highlight it and select your font, color, and size, then align it to the center, right or left using the right-most three buttons on the top row.

    Text Properties Panel

    7. Making Layers

    As you see, the positioning of tables is a little inflexible, so let’s make some layers for the rest of your images and text. Unlike tables, these are easy to drag to wherever you want them.

    When your layer is selected, you’ll notice that the Properties Panel changes into the Layers Property Panel (below) to display those elements that you can change about your layer, such as size, background color or image, and its name. We will be using this layer as a text box, so, as with table cells, choose a background color by clicking on Bg Color.

    Layers Properties Panel

     

    8. Links and Email Addresses

    To link any text, highlight it and type or paste the web address you wish it to link to in the box in the Properties Panel labeled "Link." When you are done, click anywhere in your document to deselect it, and the text will appear as a link.

    9. Inserting Images

    Place images inside layers (or tables, or directly on the page) by selecting Image from the Insert menu.

    Pictures Properties Panel

    10. Converting Layers to Tables

    11. Creating and Linking to Other Pages in Your Site.

    12. Previewing Your Page in a Browser Window.

    13. "Uploading" Your Site

    To upload your site to a web server - a computer that is always on and connected to the Internet, you will need to use an FTP program such as WS_FTP, or Fetch. On CWRL computers, however, you can also put a copy of your website in the HTTP volume, a folder you will find on your desktop used for temporary storage. Anyone with access to CWRL computers can use the HTTP volume to view their sites while in they are working on them, checking for design problems, and broken links or images.

    NOTE: You should never keep the only version of your web site there, however, because the HTTP volume is insecure - anyone could access and delete your work. Always save a copy to your disc.

    To "upload" a webpage or website to this server, all you need to do is create a folder there—again, without any spaces in the name of it - and drag all the completed pages to this folder. The contents will then be viewable from any computer once you figure out the address, which will be

    http://www2.cwrl.utexas.edu/~ + the name of the folder in which you put your files + forward slash + a dot and the name of the homepage itself - which should be properly be labeled index.html.

    For example, if I created a folder in the HTTP volume called "miriam," and dragged my site files there, the web address for my site would be http://www2.cwrl.utexas.edu/~miriam/index.html

    If I want to put a folder inside that folder, i.e. creating a folder in "miriam" called "deloria," and dragged my site files into a folder I created inside that folder called student, the web address for my site would be http://www2.cwrl.utexas.edu/~miriam/deloria/index.html

    14. Other Questions?

    Dreamweaver has a great tutorial in the help menu ("Using Dreamweaver") where you can learn about its basic and more advanced features. There are other sources online too for help and tutorial, such as the GSLIS page:

    http://www.gslis.utexas.edu/technology/tutorials/webpub/dreamweaver/basic/index.html

    updated 28. March 2002