Usage Note 24167: In ODS HTML, can I modify the colors of the scroll bar and the down arrow on the browser?
The colors of the scroll bar and the up and down arrows can be modified by using cascading style sheet properties. Below is a list of style sheet properties and what they modify.
- scrollbar-3d-light-color
- outside color that provides the shading
- scrollbar-arrow-color
- up and down arrow color
- scrollbar-base-color
- base color but is covered by all the other colors
- scrollbar-dark-shadow-color
- shadow to the right of the scrollbar
- scrollbar-face-color
- color of the scrollbar
- scrollbar-highlight-color
- color that goes around the scrollbar
- scrollbar-shadow-color
- shadow in conjunction with the dark shadow
Here is some example code:
ods html file="temp.html"
headtext="<style> BODY{
scrollbar-arrow-color: #CC0066;
scrollbar-base-color: #66CCCC;
scrollbar-highlight-color: #33CC00;
}</style>";
proc print data=sashelp.class;
run;
ods html close;
Note that if you try to include all of these properties, the HEADTEXT= argument will contain too many characters, the value will truncate, and the HTML code will not function correctly in the output.
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Query and Reporting ==> Creating Reports ==> Stylesheets Third Party ==> Output ==> HTML
|
| Date Modified: | 2007-08-28 14:43:48 |
| Date Created: | 2004-09-16 15:57:01 |