SAS/IntrNet 1.2: MDDB Report Viewer |
Customizing the MDDB Report Viewer with Cascading Style SheetsThe MDDB Report Viewer uses Cascading Style Sheet properties to enable you to customize the viewer output. You can use Cascading Style Sheets to modify background colors, fonts, the size and location of the HTML elements, and to indicate whether the HTML elements are displayed or not. For more information on Style Sheet capabilities, consult your favorite HTML reference guide. HTML elements use the CLASS parameter to surface Style Sheet properties. Table 1 lists the CLASS definitions used by the MDDB Report Viewer. An example Style Sheet is shipped with the viewer software, and you can create your own to use as well. To apply a Style Sheet to the viewer output, specify the CSS parameter as a hidden field on your initial HTML page. For example, <INPUT TYPE="hidden" NAME="CSS" VALUE="http://myserver/mystyle.css"> or add the CSS parameter to the URL of bookmarked reports, as in the following.
An additional CSST parameter is provided so that you optionally can apply a separate Style Sheet to the toolbar frame. If you do not specify the CSST parameter, the toolbar frame uses the value specified by the CSS parameter. Table 1. MDDB Report Viewer 1.2 CSS Class Tags
|
SAS/IntrNet 1.2: MDDB Report Viewer |