Export (0) Print
Expand All

Create a cascading style sheet

You can create external and internal cascading style sheets (CSS) and inline styles to format a web page and its content. For information about each type of style sheet, see Controlling appearances with styles.

After creating either type of CSS, you use the Manage Styles, Apply Styles, and CSS Properties panels to create and manage your styles. For more information, see Create a style and Modify a style.

Do one of the following:

  • On the File menu, point to New and then click CSS.

  • On the File menu, click New. In the New dialog box, on the Page tab, in the list on the left click General, in the list on the right click CSS, and then click OK.

  • Click the arrow on New DocumentCc295582.w3_new_doc_button(en-us,Expression.30).png in the Common or Standard toolbars and then click CSS Cc295582.w3_icon-css-manage_styles(en-us,Expression.30).png.

  • To create a new external CSS and create a new style for the style sheet, in the Apply Styles or Manage Styles panel or the Style toolbar, click New StyleCc295582.286f6ccb-09db-4cdc-90ec-b7cb537b4121(en-us,Expression.30).png, and then in the New Style dialog box, set the Define in option to New style sheet.

  1. Open the web page you want to contain the CSS.

  2. In the Apply Styles or Manage Styles panels, on the Style toolbar, or on the Format menu, click New Style.

  3. In the New Style dialog box, in the Define in drop-down menu, select Current page.

    For information about creating a new style, see Create a style.

  1. On the File menu, click New.

  2. In the New dialog box, on the Page tab, select Style Sheets.

  3. Select a style sheet and click OK.

Community Additions

ADD
Show:
© 2014 Microsoft