fadeTo of image makes text jump to next line [solved]
Hello all,
I have a fadeTo in an image (icon) located in front of some text. The
fade is triggered when i hover over the image. The problem is that,
during the fade, the text next to the icon jumps under the icon, to
jump back to its original position when the fade is over.
Here is the fade code:
-
$(".wijzigen,.verwijderen").hover(function(){
$(this).fadeTo("slow", 1.0);
},function(){
$(this).fadeTo("slow", 0.1);
});
And here the image + text:
-
<div><img class="verwijderen" id="verwijderen_'.$i.'"
src="remove.png"><input type="checkbox">'.$qry['titel'].'</div>'
How can i avoid this?
Many thanks!
Matt