fadeTo and firefox problem
Hello there,
I have some serious issue with fadeTo and firefox. It doesn't work together
My code is:
-
<style type="text/css">
* {
padding: 0;
margin: 0 auto;
}
body {
background: #481800 url(bg.jpg);
}
#content {
position: relative;
top: 20px;
width: 940px;
padding: 10px;
display: block;
background: #fff;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){$("div #content").fadeTo("slow","0.2")});
</script>
and:
-
<div id="content">
fff
</div>
This simply dont work in Firefox. I checked this page in Opera 9, Opera 10, IE7 and it worked fine, but Firefox 2/Firefox 3 (newest version) dont understand my code and effect doesnt apply.
What do i do wrong?
TIA,
scrm