My code:
$('.diff a').css('opacity', .5);
Works in IE7, firefox, and chrome, correctly making the anchor elements appear faded, but not in IE8.
I’m using jquery 1.4.4
EDIT: Here is a test page showing problem http://jsfiddle.net/KUJYF/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why are you using opacity at all? Why not just use a lighter color to simulate the effect and not have the overhead the opacity property introduces.