Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 22 Setting up CSS for HTML > 22.4 Specifying CSS file and link options > 22.4.3 Designating and locating a CSS file
To specify CSS file name and location in the configuration file:
; CssFileName = name of style sheet to reference in link when
; WriteCssLink=Yes and CssBrowserDetect is absent.
; CssPath = directory in which .css (or .xsl) files are to be placed
CssFileName
designates
the CSS file to be referenced when WriteCssLink=Yes
. Do
not include a path; the value of CssFileName
should be just a file name with extension. The default value is local.css
,
and the default location is the directory designated by CssPath
.
CssPath
designates
the directory to be referenced in CSS links when WriteCssLink=Yes
.
If you use backslashes in the path name, Mif2Go changes them to forward slashes before writing
the path to your HTML output files. The default value of CssPath
is the directory designated by WrapPath
; see
§35.8 Placing CSS or XSL files for assembly.
You can have Mif2Go copy CSS files to the CssPath
directory from another location at run time.
Path to CSS file should be relative
If you specify a value for CssPath
,
the path should be relative to the directory containing your HTML files.
If you specify an absolute path, the CSS file is
likely to be accessible only on your own machine.
Default CSS file name and location
If all of the following are true, Mif2Go creates a CSS file named local.css
and places it in the project directory:
UseCSS=Yes
).
WriteCssStylesheet
is either Once
or Always
.
CssFileName
or CssPath
.
local.css
.