Some CSS styles need to be applied to an element on hover, and CSS styles have to be applied using javascript/jquery directly and not through stylesheets or $(this).ad
$(this).ad
Try this:
$('#some-content').hover(function(){ $(this).css({ marginTop: '60px', display: 'inline-block' }); }, function(){ $(this).css({ //other stuff }); });
or using classes
$('#some-content').hover(function(){ $(this).toggleClass('newClass'); });
More info here .hover() and .toggleClass()