Adding a Style

Add a style to specify a component or component class to which to automatically apply attribute values.

To add a style, follow these steps:

1. Open a stylesheet image\img00030.gif file in the Nexaweb Stylesheet Editor.

2. Click Add Style beneath the Defined Styles selection box.
A
Style Name dialog appears.

3. Enter a component or class name to which to apply this style in the text field and click OK.
The style you specified appears in the
Defined Styles selection box with the normal state added similar to
Figure 17.

image\img00031.gif

Figure 17: Defined Styles Selection box.

4. Add attributes to the selected state or select another state.

To delete a style, select the style to delete in the Styles tree and click Delete. Studio removes the styles, states and all attribute values from the styles tree.