I am having trouble applying a style that is !important. I’ve tried:
!important
$(\"#elem\").css(\"width\", \"100px
Here is what I did after encountering this problem...
var origStyleContent = jQuery('#logo-example').attr('style'); jQuery('#logo-example').attr('style', origStyleContent + ';width:150px !important');