Using the Tag Inspector


If you prefer to stay in Design view but every so often you just want to tweak something, the Tag Inspector is one of the simplest ways to do so. Along with the Tag Editor and Quick Tag Editor (covered earlier), it's a great way to modify existing tags, and it's a easy way to get used to what attributes exist for what tags.

To use the Tag Inspector:

1.
If the Tag Inspector currently isn't displaying, choose Window > Tag Inspector from the menu.

2.
If you're in Design view, click on an element on the page, or choose a tag from the tag selector. If you're in Code view, click anywhere inside a tag. The tag and its attributes appear in the Tag Inspector ( Figure 15.32 ). Be sure the Attributes tab is selected.

Figure 15.32. The Tag Inspector can be found in the Attributes tab of the Tag panel. Here's the Category view.


3.
There are two ways to view the attributes in the Tag Inspector: by category or as a list.

  • To view by category, click the Show Category view button . Categories can be open or closed; to open a closed category, click the + button (Windows) or the right- facing triangle (Mac). To close an open category, click the - button (Windows) or the downward-facing triangle (Mac). When open, the list of attributes that fall into that category are displayed.

  • To view as a list, click the Show List view button . This choice displays all the tag's attributes in an alphabetical list ( Figure 15.33 ).

    Figure 15.33. Or optionally , there's also the List view, which shows all that tag's attributes in alphabetical order.

4.
You can now modify, add, or delete attributes. There are different ways to edit different types of attributes:

  • If you're adding or modifying an attribute with a value of a URL ( Figure 15.34 ), you'll see the Point-To-File icon and a browse button to the right of the entry field. Alternatively, you can type into the entry box, which is also the case for most attributes.

    Figure 15.34. The standard Point-to-File and browse icons work the same way here as they do everywhere else in Dreamweaver.

  • If your attribute has particular defined values, clicking in the value column displays a pop-up menu containing the valid values ( Figure 15.35 ).

    Figure 15.35. For those attributes that can only have certain values, Dreamweaver lets you know what those possibilities are.

  • If the attribute contains a color , clicking on the small box in the value column brings up the standard color picker ( Figure 15.36 ).

    Figure 15.36. Instead of having to remember odd codes for colors, the color picker lets you choose the color you want.

5.
There's no OK or Accept changes button on the panel; simply clicking away from the attributes or off the panel implements your changes on your page.

Tip

  • As you might remember from Chapter 1, it's also possible to change tag attributes in the Property Inspector. Because the Property Inspector only shows the most commonly used attributes, you'll want to use the Tag Inspector those times when you need to get at the others.





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net