The Document window

show more The Document window provides you with in-depth training on Web. Taught by Garrick Chow as part of the Dreamweaver CS3 Essential Training show less
please wait ...

The Document window

As I mentioned in the previous movie, the Document window is where most of the action in your web page creating is going to occur. This is where you'll be inserting images, typing text, creating tables, building forms, and so many other things. So, let's take a look at a couple of features of this Document window. We examined the Document toolbar in the previous movie. If you look directly above it, you'll see the actual name of the file itself. In this case it's just called Untitled-2. I just created a new page, and that's what {italic} Dreamweaver{plain} called it. Now, don't confuse the name of the file with the title of the page. Again, the page title is the text that the person browsing your page will see in the title bar of his or her browser. The file name is the actual name of the document, the one that needs to end in .html. We'll discuss the distinction between these two items a little bit more in the upcoming chapters. Now, this little asterisk you see here, next to the file name, is a visual indicator to let you know that changes have been made to this page that have not been saved.

If I save the page that asterisk will disappear. Additionally, if you're working on the Mac version of {italic}Dreamweaver,{plain} the red close button, that appears in the upper left-hand corner here, will have a dark dot within it. Notice there's a little dot in there. This is Mac OS X's way of letting you know that you haven't saved the changes to your page. Both that little dot and the asterisk will disappear when you save your page. Okay, now let's make our way across the bottom of the page. Let's look at what's available down here. First of all, we have this tag down here that says <body>. If we have more on our page right now we'd see more tags.

This whole bottom left-hand side is known as the Tag Selector area. As you select different elements on your web page, their corresponding HTML tags will appear down here. You can also click the tags themselves to select things on your page. This becomes especially useful when you need to select items that are sometimes hard to click, like when you're working on a table and you're having trouble clicking in a small table cell. Clicking the table cell tag down here in the Tag Selector area is much easier. I'll be showing you how to use the Tag Selector to select table cells when we get to the chapter on tables. Speaking of difficult to select items, we next have these tiny little buttons down here. First item here is the arrow, and it's selected by default. It lets you select items on your page, and you'll want to have it selected most of the time. In fact, most of the time it'll be selected and you might never use these buttons here. But, just so you know what they do, let's take a look at them.

The next item here is the Hand tool. It lets you drag your page around the screen instead of using the scroll arrows. I can't really demonstrate that right now because I have very little on my page. Let me just come in here, type "some text on the page", and now select this little magnifying glass button, which is called the Zoom tool. Yes, you can actually zoom in on your page to get a closer look at your page elements. Until the previous version of {italic}Dreamweaver,{plain} this sort of functionality was unheard of in a web design program. But, it makes it so much easier to see and select small items, like tiny table cells. So, I just click a couple times, and I can really zoom in. Zoomed in like this, I can now select the Hand tool, and you can also press H.

If you have the magnifying glass selected, you can press H to switch to the Hand tool automatically. Now I can click and grab my text, or grab my page, and just drag it around on screen. Like so. I should also mention that while the Zoom tool is selected, pressing the space-bar gives you the Hand tool momentarily so you don't have to click between the two buttons. So, if I'm zoomed in and I just want to move my page, I'll just press space, click, and drag, and when I release space I've got my Zoom tool selected again. I should also mention that when you have the Zoom tool selected, pressing the Option button on the Mac, or Alt on Windows, gives you the Zoom Out button, notice the little minus sign in the magnifying glass when I do that.

When I click, I zoom out from the page. That works pretty much like it does in many other programs that use zoom tools. You can also use this pop out menu here to select from some preset magnifications. You also have the options of Fit Selection, Fit All, and Fit Width. Fit Selection becomes available if you have something selected on your page. If I get my Arrow tool and just select that word "text", and choose Fit Selection, it's going to blow up that word as large as it can to keep it proportional on the page. We also have Fit All, which fits your entire page onto your screen. So, if you have a very large page this can result in a very tiny magnification level. We also have Fit Width, which sets the magnification so that the entire width of the page fits the window so you don't have to scroll left and right Now, it's very important to mention here that the magnification settings that you see have no effect whatsoever on how people are going to see your web page.

Viewing the web page at 200% doesn't mean it's going to show up that way on your website. The magnification settings are just there to help you out in {italic}Dreamweaver.{plain} For the most part though, when you're designing and laying out your pages, you should set the magnification level to 100% so you can see the page exactly as your viewers will. Next to that we have the Windows Size menu. This menu lets you resize your window to these various pre-sized settings. One of the important things to remember about web design is that not everyone is going to be viewing your web page in the same size browser window. Selecting different window sizes from this menu lets you see how your page will potentially look on a monitor that's been set to, say 640 pixels, or 800 x 600 pixels, or 1024 x 768. That's actually too large for the screen that I'm working on right now, so I'm going to click my little resize button there, so that I can resize my window. You can also come in here and if you needed to edit sizes you could create custom sizes too. There's actually probably very little reason to do that there days.

But, just remember that this is more of a guide, because just like the magnification settings over here, the Windows Size settings have no effect. All the Window Size menu does is resize your window to show you how things might look in a browser window that size. This menu doesn't fix your page to work at that size or anything like that. Lastly, here we have the Download Speed display, which is there to give you an idea of the approximate file size of your page, and about how long it might take to download. By default, the download speed is set to assume a 28k connection. You can change this setting by going back to the Size menu and choosing Edit Sizes. This is just a shortcut to the Status Bar category of {italic}Dreamweaver's{plain} Preferences.

Here you can choose the Connection Speed for the download estimate. Mine is actually set to 56k, but you can come in here and choose whatever speed you want. I personally don't know anyone who still has a 28k dial-up modem, but then again, I tend to travel in some snobby tech people circles. But, if you think that a lot of your website's visitors are going to have older computers, you might want to keep an eye on the Download Speed area to give yourself an idea of how long these people might be waiting for your pages to show up in their browsers. Okay, so that's the Document window, and a rundown of the various menus and tools found down here in the Status Bar area. Now, one last thing I want to mention about the Document window is that if you open more than one window at a time, {italic}Dreamweaver{plain} places each new page in the same window, but represented by a tab.

Let me show you what I mean. I'm going to choose File > New, and I'm just going to do a blank HTML page. I'll create that, and you can see that my new page now shows up as Untitled-3 here in its own tab. So, the tabs make it easy to switch back and forth among your pages, just by clicking back and forth like that. So, for each page that I create, a new tab will appear. You can still view pages in their own windows if you need to. For instance, if you need to drag something from one page into another, you can't really do that if you can only look at one page at a time in tabs. But, if you're on a Mac, just right-click, or Ctrl + click up on the tab that you want to move into its own window, and choose Move to New Window. The nice thing about the Mac version of {italic}Dreamweaver{plain} is that if you have three or more tabs open, you can free up just one page in its own window, and keep the other pages tabbed together in one window. Now, if you're using {italic} Dreamweaver{plain} on the Windows side of things, the tabs work a little bit differently. Let's take a look. So, here in the Windows version of {italic}Dreamweaver{plain} you can have multiple tabs, just like you can on the Mac side of things. But, if you want to split them into their own window, right-clicking over here isn't going to give you that move to New Window option. If you want to split these into their own windows you have to come over here and click this button right here, and it splits all of these pages into their own window.

But the problem here is that there's no way to just undock one page and leave the other pages tabbed together. In the Window's version of {italic}Dreamweaver,{plain} either all of your pages are tabbed together, or they're all free floating. So, I can still navigate among them, and when you minimize them, instead of them ending up down here in your Task bar, they get docked down here at the bottom of the {italic} Dreamweaver{plain} Document window area. So, I can either have them minimized, like this, and bring them up as I need them, but I can't just undock one and have the others docked together. If I want to go back to the tabbed set up, I just click this little middle button in any of the open windows to maximize, and then they all end up tabbed together again. But, I suggest keeping your pages tabbed together on both Mac and Windows, unless you really need to have them separated. It just makes for a much cleaner interface and it's much easier to switch back and forth among your open pages.

The Document window
Video duration: 9m 10s 10h 21m Beginner


The Document window provides you with in-depth training on Web. Taught by Garrick Chow as part of the Dreamweaver CS3 Essential Training

please wait ...