protected void MasterCust_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowState == DataControlRowState.Alternate)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#eefef0';");
}
}
how would I get this into css instead?
grid.highlight
{
background-color:Blue;
}
Something like this?
You can use the
hoverselector.IE 6, 7 and 8 sometimes have problems with the
hoverselector so, for those, you can use Whatever:hover.