Hi guys. I had recently asked for help regarding a script that animated some text. Nothing serious. It works great in all versions of FF, but does not work in IE 7. Any suggestions will be greatly appreciated.
My DOCTYPE: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> The JQuery: $(document).ready(function(){ // Using multiple unit types within one animation. $(".sidebar a").mouseover(function(){ $(this).animate({ marginLeft: "10px", }, 400 ); }); $(".sidebar a").mouseout(function(){ $(this).animate({ marginLeft: "0px", }, 400 ); }); });