Dreamweaver CS4 Resources
|
Change attributes with the Tag inspector
Use
the Tag inspector to edit or add attributes and attributes’ values.
The Tag inspector lets you edit tags and objects by using a property
sheet similar to the ones found in other integrated development
environments (IDEs).
- Do one of the following in the Document window:
In Code view (or the Code inspector), click
anywhere in a tag’s name or in its contents.
In Design view, select an object, or select a tag
in the Tag Selector.
- Open the Tag inspector (Window > Tag Inspector),
and select the Attributes tab.
The selection’s attributes and their current values appear
in the Tag inspector.
- Do any of the following in the Tag inspector:
To view the attributes organized by category,
click the Show Category View button .
To view the attributes in an alphabetical list,
click the Show List View button .
To change the attribute’s value, select the value
and edit it.
To add a value for an attribute with no value, click
in the attribute-value column to the right of the attribute and
add a value.
If the attribute takes pre-defined values, select
a value from the pop‑up menu (or the color picker) to the right
of the attribute-value column.
If the attribute takes a URL value, click the Browse
button or use the Point-To-File icon to select a file, or type the
URL in the box.
If the attribute takes a value from a source of
dynamic content (such as a database), click the Dynamic Data button
to the right of the attribute-value column. Then select a source.
To delete the attribute’s value, select the value
and press Backspace (Windows) or Delete (Macintosh).
To change the name of an attribute, select the attribute
name and edit it.
Note: If you change the name of a standard
attribute and then add a value for that attribute, the attribute
and its new value move to the appropriate category.
To add a new attribute not already listed, click
in the empty space below the last listed attribute name and type
a new attribute name.
- Press Enter (Windows) or Return (Macintosh), or click
elsewhere in the Tag inspector, to update the tag in your document.
|