On 9/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have this in my css and it works in Firefox:
> tr.vc_row_even:hover td {
>  background-color: #fff6bf;
>  }
> tr.vc_row_odd:hover td {
>  background-color: #fff6bf;
>  }
>
> How do I get this to work in IE? I mean I want to highlight the table
> rows when a users hovers over the row... it works great in firefox...
> anyway to do this in CSS for IE? In IE the table row is not
> highlighted...


the css answer to this is that you can't.

the javascript answer to this is pretty simple if you don't mind using
it.  make a class (in this case "iefix") along with your good-browser
css and you should be good.


example html:
<tr><td onmouseover="this.className='iefix'"
onmouseout="this.className=''">stuff</td></tr>


example css:
tr.vc_row_even td.iefix,
tr.vc_row_even:hover td {
 background-color: #fff6bf;
 }
tr.vc_row_odd td.iefix,
tr.vc_row_odd:hover td {
 background-color: #fff6bf;
 }
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to