Dreamweaver includes a feature called Element Quick View that provides a visual representation of your page’s HTML structure.
Element Quick View lets you navigate your page layouts using an interactive hierarchical tree. See the outline of the DOM structure in a list view, and then click, drag, and right-click on items to select, rearrange, delete, copy, paste and duplicate HTML elements.
In this article, you’ll take a tour of the new Element Quick View features. You’ll open an existing sample project to begin editing it.
Special thanks to Dan Carr for developing the sample project provided with this article. For instructions on how to create the page, see How to code HTML5 and CSS faster. Be sure to check out Dan Carr’s video in which he demonstrates using Element Quick View (see Video 1) and then follow the steps in this article to try the features on your own.
To use Element Quick View to structure the elements on your page:
- Launch Dreamweaver CC.
- Choose File > Open and browse to select the dw_example.html file. Enable the Design View and Live View options at the top of the Document window (see Figure 1).
- Click the </> icon in the bottom left corner of the Document window to open Element Quick View (see Figure 2).
Notice that the linked text with the .hero-bright class is selected in the hierarchy list. As you look around the workspace, the same element is displayed in the Element Live Display in Live View, in the Tag Selector, and in CSS Designer. If you switch temporarily to Split View, you’ll see the corresponding element is also selected in Code View.
However you prefer to work, and whichever way you choose an element, all other parts of the interface update to display your selection.
The interactive list makes it easy to select elements while also providing a top-level view of your page. In Figure 13, the expanded h1 element contains three sub-elements.
- Select the span element with the .hero-bright class below the highlighted A element and see the focus update throughout Dreamweaver and Live View.
- Click the h1 element to collapse the section in the hierarchy and hide its contents.
- Expand the #tile7 div element, and then select the nested h2 .action-title item. Right-click and choose Duplicate from the context menu (see Figure 3).
The duplicated element is displayed directly below the original item. The new h2 content is now in focus, ready to be double-clicked and edited (see Figure 4).
You can also copy an item in the list and then select a different page element and paste it inside.
- Update the duplicated text in Live View to: Sign up now!
- In the Element Quick View, click the div #tile7 again to collapse the section of the page structure.
You can also reposition items by dragging them within the Element Quick View to move them into a different part of the page structure.
- Expand the div #tile 1, and then click the A element inside it to drill down to select the logo image in the top left corner of the grid (see Figure 5).
- Click-drag the image element and hover over div #tile8 before releasing the mouse button. The PLAY logo image moves from the top left corner to the bottom right corner of the page, obscuring its existing background image (see Figure 6).
As you move elements within Element Quick View, a bright green line indicates where the element will be placed when you release the mouse (before/after) or hover over an element to nest it inside. Release the mouse while hovering over the area you want to position the element.
And if you return to Dreamweaver and switch to Code View, you’ll see that the code generated by Dreamweaver results in clean HTML and CSS styles that follow the latest web standards.
Explore the new Live View workflow to see how the new tools speed your production process. Try restructuring page elements in the Element Quick View, adding new selectors with Element Live Displays, and defining new properties in CSS Designer.
To learn how this sample project was developed, read Authoring code more efficiently using Code View in Dreamweaver CC.
To learn how this sample project leveraged Live View to develop this page further, read How to edit and preview web pages with new Live View features.
And to discover new ways to work with CSS designer and Live View, see CSS Designer: A visual design tool in Adobe Dreamweaver CC.
Also visit the Dreamweaver Learn Page to find articles, video tutorials, and sample projects to help you get up to speed quickly with the new features in Dreamweaver CC.
That's it! You're done. Please provide feedback in our survey so that we can make sure this tutorial is as useful as possible.
Tommi is a freelance web designer and creative director at tommiland.com. Prior to starting her own business in 2004, she worked at Macromedia for six years as a technical writer, editor, and web producer. Tommi is an Adobe Community Professional.