
Creating a New Style Using the CSS Properties Window
You can use the CSS Properties window to create a new style for an element that you select in Design view, Source view, or Split view. You can create an inline style or display the New Styles dialog box to create a style on the page or in a CSS style sheet.
The Applied Rules section indicates which style rules are applied to the element. It also indicates whether these rules are inline, in a style sheet, or on the current page. The following procedure explains how to create a new style for an element. If no styles are applied yet, the Applied Styles section shows no rules applied.
To create a new style by using the CSS Properties window
In the designer, select the element that you want to add a style rule to.
In Source view, select the element and include both the opening and closing tags. In Design view, select the element so that the pop-up tag shows the name of the element.
To create an inline style, in the CSS Properties window, right-click anywhere in the Applied Rules section and then click New Inline Style
To add a new style to the page, in the CSS Properties window, right-click anywhere in the Applied Rules section and then click New Style.
In the Applied Rules list, select an element, an element ID, or an element CSS class.
In the CSS Properties section, set the style properties.