I think it does use display: block; If I add the following css to your page it doesn't do that:
img {float: left; margin: 5px;} hr {clear: both;} Not sure how you can work around that though Rolf Kristinn Sigmundsson wrote: > > > Hi there, > > using this code > $("img").hover(function(){ > $(this).fadeTo("fast",.3); > },function(){ > $(this).fadeTo("slow",1); > }); > I'm getting a pretty unexpected behaviour, I think this is because the > fadeTo is setting the css property of whatever it's fading to block, > is this so? > > Anyone know how I can work around this problem? Am I maybe doing > something wrong? > > Another thing I noticed in this very simple test is that this code > queues the animation, so moving the pointer back and forth over it > quickly makes it do several animations. > > This simple test can be viewed at http://www.sigmundsson.se/test.php > > Thankful for any help you could provide > Kristinn. > > -- View this message in context: http://www.nabble.com/Unexpected-behaviour-when-using-fadeTo-tf3501476.html#a9778857 Sent from the JQuery mailing list archive at Nabble.com.