Value – Adobe Extending Dreamweaver CS4 User Manual

Page 75

Advertising
background image

69

EXTENDING DREAMWEAVER CS4

Customizing Code view

<property names="foo,bar">

<value type="named" name="top"/>
<value type="named" name="bottom"/>

</property>
<property name="foo">

<value type="named" name="top"/>
<value type="named" name="bottom"/>

</property>
<property name="bar">

<value type="named" name="top"/>
<value type="named" name="bottom"/>

</property>

supportlevel="error", "warning", "info",

or

"supported"

Specifies the level of support for the property.

If not specified,

"supported"

is assumed. If you specify a support level other than "

supported

" and omit the

message attribute, Dreamweaver uses the default message, “CSS property name property_name is not supported.”

message="message_string"

The

message

attribute defines a message string that Dreamweaver displays when it

finds the property in a document. The message string describes possible limitations or workarounds for the
property value.

Contents

value

Container

css-support

Example

<property name="background-color" supportLevel="supported">

<value>

Description
Defines a list of values supported by the current property.

Attributes

type, name, names, supportlevel, message

type="any", "named", "units", "color", "string",

or

"function"

Specifies the type of value. If you

specify

"named"

,

"units"

, or "

color

", then either the

name

or

names

attribute must specify the value IDs to match

for this item. The

"units"

value matches a numeric value, followed by one of the units values specified in the names

attribute.

name="value_name"

A CSS value identifier. No spaces or punctuation are allowed other than a hyphen (-). The

name of one of the values that are valid for the CSS property is named in the parent property node. This can identify
either a specific value or a units specifier.

names="name1, name2, . . ."

Specifies a comma-separated list of value

IDs

.

supportlevel="error", "warning", "info",

or

"supported"

Specifies the level of support for this value in

the browser. If not specified, the value

"supported"

is assumed.

Advertising
This manual is related to the following products: