Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

22 Setting up CSS for HTML > 22.4 Specifying CSS file and link options > 22.4.5 Understanding effects of the older Stylesheet setting


22.4.5 Understanding effects of the older Stylesheet setting

Prior versions of Mif2Go used a single setting to manage CSS file options:

[HtmlOptions]

; Stylesheet = None (default if no setting),

;  Init (default set by Setup, write .css if not existing),

;  Generate (overwrite .css),

;  Class (no link, no write), or

;  Use (link, no write).

;Stylesheet=None

Stylesheet is deprecated

The Stylesheet setting is deprecated, and is replaced by the [CSS] options described in §22.4.2 Specifying CSS options in a Mif2Go configuration file. However, Stylesheet is still supported for backward compatibility.

If a Stylesheet setting is present in your configuration file and the newer [CSS] file options are not present, defaults for the newer options are set according to the value of Stylesheet, as shown in Table 22-1. If both are present, the [CSS] options prevail.

Table 22-1 Default CSS file options when [HtmlOptions]Stylesheet is used

[CSS] option

[HtmlOptions] Stylesheet setting

None

Init

Generate

Class

Use

UseCSS

No

Yes

Yes

Yes

Yes

WriteClassAttributes

No

Yes

Yes

Yes

Yes

WriteCssStylesheet

Never

Once

Always

Never

Never

WriteCssLink

No

Yes

Yes

No

Yes



22 Setting up CSS for HTML > 22.4 Specifying CSS file and link options > 22.4.5 Understanding effects of the older Stylesheet setting