|
|
WordToWeb 2.5 allows you to use Cascading Style Sheet (CSS) definitions in your publications if you wish. Style sheets are supported to varying extents by the latest versions of Microsoft Internet Explorer and Netscape Navigator.
Some of the advantages of style sheets include:
- The ability to control formatting of page elements such as headings on a global basis, rather than by using explicit <FONT> formatting.
- More precise control over how elements are positioned.
- Advanced effects, such as links which change color or become bold when the mouse passes over them.
Style sheets are a complex and evolving subject, and different browsers support different subsets of the CSS specification. WordToWeb does not provide tools for creating style sheet definitions. If you want to use this feature, we recommend that you use a CSS-enabled HTML editor, such as Microsoft Front Page to create the style sheet definitions and then copy them to your WordToWeb project.
To use Style Sheets with WordToWeb
Define/Create the Style Sheet code you want to use using an HTML editor or other tool.
In WordToWeb Wizard Panel 3, click the Edit Document Properties button. The HTML Document Properties dialog box will appear.
Click the Edit button in the <HEAD> Code area at the right-center of the dialog box. Then paste any style sheet code which goes in the <HEAD> section into the dialog box. Style sheet definitions should be surrounded by <STYLE> ... </STYLE> tags. Note that you can either insert style formatting directly into each page, or you can reference a style sheet file (.css file).
In the same dialog box, you can specify a STYLE= parameter (as well as ONLOAD=, and other options) for the <BODY> tag if you wish.
Click Ok to put away the HTML Document Properties dialog box.
If you are using Style Sheets to control your headings, click the Set Heading Formatting button in Panel 4 and make sure that Set Character Formatting is turned off for all headings. Otherwise, WordToWeb will insert explicit <FONT> tags around your headings.
In Panel 6, click the More Options dialog box and check the box to Remove all MS Word applied <FONT> formatting. This will prevent Word from inserting explicit <FONT> tags that will override your style sheet definitions. You may also wish to remove bold and italic formatting.
Notes
- The WordToWeb online help provides some example style sheet code which you can use in your publications. To access this, click the CSS Examples button in the <HEAD> Code dialog box.
- If you are using a master page, your style sheet definitions should be placed in the master page HTML file, rather than in the <HEAD> section setting in the HTML Document Properties dialog box
|