• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 4. Working with Web Page Text > Creating a Cascading Style Sheet

Creating a Cascading Style Sheet

Cascading Style Sheets are becoming the predominant method of formatting a Web site. A Cascading Style Sheet (CSS) is style information that can be referenced by individual or multiple Web pages. A CSS contains style definitions, called Selectors, which are the HTML components linked to a specialized list of style properties and values. A selector is followed by those properties and values. For example, H1 { font-size: x-large; color: green} , H2 { font-size: large; color: blue). H1 and H2 are selectors that modify the formatting properties of standard HTML tags. There are three types of Cascading Style Sheets in FrontPage: embedded (for a individual Web pages), external (for multiple pages in the same file), and the rarely-used inline, which you create when you apply a style directly to an item using the Style button on its Properties dialog box. An external CSS file uses a .css file extension.

Create an External Cascading Style Sheet

Click the New button list arrow on the Standard toolbar, and then click Page.

Click the Style Sheets tab.

Click the type of CSS you want to create.

  • Normal Style Sheet. The basic style to which you can add your own styles.

Click OK.

Click the Save button on the Standard toolbar, type a name, select the CSS Files format, and then click Save.

To add styles, use the Style Toolbar.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint