The following styles apply to the cfselect tag when the size attribute is greater than 1; that is, if the control is a list box that displays two or more options at a time:

Style

Inh

Description

alternatingRowColors

Y

Type: comma-delimited list of colors for rows in an alternating pattern. Value can be a list of two or more colors.

marginBottom

N

Format: length; number of pixels between the bottom of the row and the bottom of the text in the row. The default value is 0.

marginTop

N

Format: length; number of pixels between the top of the row and the top of the text in the row. The default value is 0.

rollOverColor

Y

Format: color; color of the background when the user moves the mouse pointer over the link. The default value is ##0EFFD6.

selectionColor

Y

Format: color; color of the background when the user selects the link. The default value is ##0DFFC1.

selectionDuration

N

The duration of the selection animation, in milliseconds. The default value is 250. Set to 0 to disable animation.

textRollOverColor

Y

Format: color; text color when the user moves the mouse pointer over the selection. The default value is ##02B33C.

textSelectedColor

Y

Format: color; text color when selected. The default value is ##005F33.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy