using !important in css jquery method code example Example: jquery css add important $('#elem').attr('style', 'width: 100px !important');