Click to return to the DHTML, HTML     
ro--light-background Attr...     ro--selected-color Attrib...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

ro--selected-background Attribute | roSelectedBackground Property


Sets or retrieves the background color for the selected table row when using the rowover behavior.

Syntax

HTML{ ro--selected-background: sColor }
Scripting[ sColor = ] oTable.style.roSelectedBackground

Possible Values

sColorAny of the range of values specified in the Color Table.

The property is read/write with a default value of navy; the cascading style sheets (CSS) attribute is inherited.

Remarks

The roSelectedBackground property specifies the color of the table row when it is selected. Using the rowover behavior, clicking on table rows selects the contents for all the cells. To use this property, the selectable property must be enabled by setting the possible value 1.

The ro--selected-background attribute is available only to objects participating in the rowover behavior.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
rowover


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.