Alternate Stylesheets Example

The following paragraph will change appearance when you set the style using the View->Page Style submenu (on Windows 7 and Vista, press the Alt key to toggle the menu bar on if it's not visible).

Watch this style change!

Information about the style sheets

The preferred style sheet is: undefined

The currently selected style sheet is: undefined

The last selected style sheet is: Sheet not yet changed

The available style sheets:

Click one of these to change style sheets.

Check the box below to use the enableStyleSheetsForSet() method to change the current style sheet instead of setting the selectedStyleSheetSet attribute directly. Notice the difference in behavior of the lastStyleSheetSet attribute between the two.