The following styles apply cfinput tags with the following type attribute values:

  • button
  • checkbox
  • image
  • radio
  • submit
    In some cases, a style applies only to the subset of these input types, as specified in the description.

Style

Inh

Description

borderThickness

N

Thickness of border "ring". A value of 0 means no border. Any value greater than 2 creates a glowing "ring" around the button. The default value is 3.

cornerRadius

N

Radius of corners. The default value is 5.

horizontalGap

N

Gap between the label and the image in an img input when labelPlacement = "left" or "right". The default value is 2.

repeatDelay

N

Format: time; number of milliseconds to wait after the first buttonDown event before repeating buttonDown events at the repeatInterval. The default value is 500.

repeatInterval

N

Format: time; number of milliseconds between buttonDown events if you press and hold a button. The default value is 35.

symbolBackgroundColor

Y

Format: color; background color of check boxes and radio buttons. The default value is ##FFFFFF (white).

symbolBackgroundDisabledColor

Y

Format: color; background color of check boxes and radio buttons when disabled. The default value is ##EFEEEF (light gray).

symbolBackgroundPressedColor

Y

Format: color; background color of check boxes and radio buttons when pressed. The default value is ##FFFFFF (white).

symbolColor

Y

Format: color; the check mark of a check box or the dot of a radio button. The default value is ##000000 (black).

symbolDisabledColor

Y

Format: color; check mark or radio button dot color if the control is disabled. The default value is ##848384 (dark gray).

texRollOverColor

Y

Format: color; text color of the label as you move the mouse pointer over the control. The default value is ##2B333C.

textSelectColor

Y

Format: color; text color of the label as you select the control. The default value is ##000000.

verticalGap

N

Gap between the label and the image in an img input when labelPlacement = "top" or "bottom". The default value is 2.

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