Edit a cascading style sheet
Edit
an external CSS
To modify a style that is contained in an
external
cascading style sheet (CSS), do the following:
- On the View menu, click
Folders.
- In the Folders list,
double-click the CSS you want to open.
External style sheets have a .css extension.
- On the Format menu,
click Style.
- In the List box, click the
type of
style you want to modify.
- To modify a style you've created, click
User-defined
styles.
- To modify a standard HTML tag, click
All HTML tags.
- In the Styles box,
double-click the style you want to modify.
- Under Style type,
choose Paragraph or
Character.
Note Some styles may not have this choice.
- Click Format, and then
specify the attributes you want to format:
- To set font properties — such as the font family or
color, or character spacing — click
Font.
- To set alignment, indentation, or spacing, click
Paragraph.
- To set borders and shading, click
Border.
- To set the style of bullets and numbering, click
Numbering.
- To set positioning properties — such as wrapping
style, location, or z-order — click
Position.
- Close all dialog boxes to return to the CSS.
Notes
- If you're familiar with CSS syntax, you can edit the
text of the CSS directly on the style sheet in
Page view.
- This procedure works for both a style sheet you create
and for a CSS generated for a
theme.
Edit
an embedded CSS
In Page view, do one or both
of the following:
Modify
a style
- From the Normal pane,
click the Format menu, and
then click Style.
- In the List box, click the
type of
style you want to modify.
- To modify a style you created, click
User-defined
styles.
- To modify a standard HTML tag, click
All HTML tags.
- In the Styles list,
double-click the style you want to modify.
- Under Style type,
choose Paragraph or
Character.
- Click Format, and then
specify the attributes you want to format:
- To set font properties — such as the font family or
color, or character spacing — click
Font.
- To set alignment, indentation, or spacing, click
Paragraph.
- To set borders and shading, click
Border.
- To set the style of bullets and numbering, click
Numbering.
- To set positioning properties — such as wrapping
style, location, or z-order — click
Position.
- Close all dialog boxes to return to the page.
Create
a user-defined style
- From the Normal pane,
click the Format menu, and
then click Style.
- Click New, and then in the
Name (selector) box,
type a name for the user-defined style.
- Under Style type,
choose Paragraph or
Character.
- Click Format, and then
specify the attributes you want to format:
- To set font properties — such as the font family or
color, or character spacing — click
Font.
- To set alignment, indentation, or spacing, click
Paragraph.
- To set borders and shading, click
Border.
- To set the style of bullets and numbering, click
Numbering.
- To set positioning properties — such as wrapping
style, location, or z-order — click
Position.
- Close all dialog boxes to return to the page.