I'm trying to change an image element's height and width using jquery's animate() function. The image's height and width attributes are followed by "!important" in the CSS.
CSS:
#my_image {
height: 50px !important;
width: 50px !important;
}
The following jquery code will have no effect because of the "!important" rules:
$('#my_image').animate({ height: "100px;", width: "100px"}, 1000 );
Is there a way to animate the image using jquery (as would happen if the "!important" rule were not there)? Thanks.