jquery won't fade text if positioned: absolute;

Posted by DA on Stack Overflow See other posts from Stack Overflow or by DA
Published on 2010-03-23T20:33:36Z Indexed on 2010/03/23 20:43 UTC
Read the original article Hit count: 370

I have LI that I want to fade out and back in. Within the list item I have some text. This text is positioned absolutely within the LI.

The catch is that in IE8 (IE6 and 7 seem fine) I can get everything to fade except the text:

http://jsbin.com/esamu/13

If I remove the absolute positioning on the text element (in this case, a P), IE8 then can fade the text properly:

http://jsbin.com/esamu/14

Anyone know why this is? Anyone know of a fix?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about fadeout