jquery animate not my whole div moves code example Example: jquery change position animate $("#Friends").animate({ top: "-=30px", }, duration );