Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ro--selected-background Attribute | roSelectedBackground Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

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


CSS { ro--selected-background : sColor }
Scripting [ sColor = ] rowover.style.roSelectedBackground

Possible Values

sColor String that specifies or receives any of the range of values specified in the Color Table.
Default. The background color for the selected table row.

The property is read/write. The property has a default value of navy. The Cascading Style Sheets (CSS) attribute is inherited.


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 to 1.

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

Applies To


Community Additions

© 2015 Microsoft