DS2CONT and DS2TREE
enable the following arguments for style sheet specifications in the
HTML output file. See also the BDCLASS=, SEPCLASS=, and SPCLASS= arguments
in Arguments for Page Formatting.
Style
sheet arguments reference style information in one of two ways. Most
of the arguments specify parameters in the HTML LINK tag:
<LINK HREF="1qtr98.css" TYPE="text/css" REL="stylesheet">
Use these arguments when you do not want to enter your style information
directly into your HTML file when you create that file.
Other arguments embed
the style information into the header of the HTML file. Use these
arguments when you want to collect style information from multiple
style sheets. The end result must create a complete STYLE tag in your
HTML file.
You can combine LINK
tag arguments with arguments that embed style information, but you
cannot use the same ordinal number in two arguments. For example,
you can specify the arguments SSHREF1= and SSFILE2=, but you cannot
specify SSHREF1= and SSFILE1=.
The following arguments
link to two different style sheets and include text comments for each
style sheet.
ssfile1=comments1.txt, /* embeds text */
sshref2=/style/style1.css, /* links to stylesheet */
sstype2=text/css, /* parameters for style sheets */
ssrel2=stylesheet,
ssfile3=comments2.txt, /* embeds text */
sshref4=/style/style2.css, /* link to stylesheets */
sstype4=text/css,
ssrel4=stylesheet,
- SSFILE1–SSFILE5=file-specification
-
embeds in the HTML
file the entire contents of the specified file.
Used by:DS2TREE, DS2CONST
- SSFREF1–SSFREF5=fileref
-
embeds in the HTML
file the entire contents of the file that is referenced by the SAS
fileref.
Used by:DS2TREE, DS2CONST
- SSHREF1–SSHREF5=style-sheet-URL
-
specifies the URL of
the style sheet in the HREF= attribute of the LINK tag. If you specify
a relative URL, it must be relative to the location of the HTML output
file.
Used by:DS2TREE, DS2CONST
- SSMEDIA1–5=media
-
specifies the media
for which the style sheet was designed. The value is applied to the
MEDIA= attribute of the LINK tag. The default value is SCREEN. Examples
of other valid MEDIA values include BRAILLE for tactile feedback devices,
and HANDHELD for small-screen devices.
Used by:DS2TREE, DS2CONST
- SSREL1–5=relationship
-
specifies the REL=
attribute of the LINK tag, which describes the relationship from the
linked file to the HTML file. The value of this tag is generally STYLESHEET.
The arguments SSREL1–5= can also be used with the arguments
SSREV1–5 to link HTML pages in a series. For example, the SSREL1=
argument can specify the next document in the series, and the SSREV2=
argument can specify the reverse relationship, which would be the
previous document in the series. Both arguments, SSRELn= and SSREVn=,
can appear in the same LINK tag.
Used by:DS2TREE, DS2CONST
- SSREV1–5=relationship
-
specifies the REV=
attribute of the LINK tag, which describes the relationship from the
HTML file to the linked file. See the SSREL1–5= argument for
details.
Used by:DS2TREE, DS2CONST
- SSTITLE1–5=title-of-linked-page
-
specifies the TITLE=
attribute of the LINK tag. The TITLE= attribute provides a title for
the referenced page. Use this argument when you are using the SSRELn=
and SSREVn= arguments to specify next and previous links in a series
of Web pages.
Used by:DS2TREE, DS2CONST
- SSTYPE1–5=stylesheet-type
-
specifies the TYPE=
attribute of the LINK tag. For cascading style sheets, this value
usually is TEXT/CSS. For JavaScript style sheets, this value is generally
TEXT/JAVASCRIPT.
Used by:DS2TREE, DS2CONST