
68
EXTENDING DREAMWEAVER CS4
Customizing Code view
Dreamweaver stores browser profiles in the Browser Profile folder inside the Dreamweaver Configuration folder. Each
browser profile is defined as a text file that is named for the browser. For example, the browser profile for Internet
Explorer version 6.0 is Internet_Explorer_6.0.txt. To support target browser checking for CSS, Dreamweaver stores
CSS profile information for a browser in an XML file whose name corresponds to the browser profile but with a suffix
of _CSS.xml. For example, the CSS profile for Internet Explorer 6.0 is Internet_Explorer_6.0_CSS.xml. You might
want to make changes to a CSS profile file if you find that Dreamweaver is reporting an error that you do not want.
The CSS profile file consists of three XML tags: css-support, property, and value. The following sections describe
these tags.
<css-support>
Description
This tag is the root node for a set of property and value tags that are supported by a particular browser.
Attributes
None.
Contents
The property and value tags.
Container
None.
Example
<css-support>
. . .
</css-support>
<property>
Description
Defines a supported CSS property for the browser profile.
Attributes
name, names, supportlevel, message
• name="property_name"The name of the property for which you are specifying support.
• names="property_name, property_name,..." A comma-separated list of property names for which you are
specifying support.
The names attribute is a kind of shorthand. For example, the following names attribute is a shorthand method of
defining the
name attribute that follows it:
Komentáře k této Příručce