## Creating New Selectors

Add a new selector by clicking the toolbutton shown on the left.

In the New Selector dialog, you can add a single new selector or you can add several at once. By using the different fields in the dialog, you can add selectors of the following types:

- Tag: choose from the Tag list in the dialog
- Class: define a class name (which must begin with a period)
- ID: must begin with a # symbol
- Pseudo-Class: choose from the pseudo-class list
- Pseudo-Element: choose from the pseudo-element list (note that browser support is limited)
- You can also add Grouped selectors (example: P,TD,LI)by typing the appropriate selector name in the Current Selector field and adding it to list on the right

Add all the selectors you wish to the list on the right side of the dialog and order them if you like (the order is only for the readability of the style sheet). Click OK to add the new rules for the selectors.

Related topics: CSS Structure and Rules

Section Contents | Help Contents