Changing the color schemes for a form requires editing the files that make up a gateway form. The procedure for changing colors depends on the gateway file type.
Files Controlling Colors on Gateway Forms
Table 7.2 describes the gateway files that control the appearance of gateway forms. These files may need to be updated when changing the appearance of the banner image, button images, or background and body colors.
Changing Colors Using BODY Tag
Table 7.3 lists the five standard color attributes that can be changed.
To adjust background colors in the banner files and other standard HTML files, edit the HTML to change the color associated with the BGCOLOR and TEXT attributes to a different RGB color value (for example, to change background to aquamarine and text to white, use <BODY BGCOLOR="#70DB93" TEXT="#9932CD">)
Changing Colors Using Directives
To change background colors in script files, add a COLORS directive immediately before the BODY tag. The syntax in Example 7.1 shows the use of the COLORS directive to change text color to blue, background color to aqua, and the link color to red.
Example 7.1 Changing color settings using COLOR directives
<!-- COLORS "attribute=color [attribute=color [...]]" -->
<!-- COLORS "TEXT=#0000FF BGCOLOR=#00FFFF LINK=#FF0000" >
DS_NEWENTRY_TYPE_BODY -->
In Example 7.1, attribute is a standard HTML %color attribute and color is an RGB color value in the form #rrggbb (or a standard color name, for example, aquamarine).