Is there a command via css/javascript/jquery that shuts off external css(css included through <link type="text/css" rel="stylesheet" href="css/style.css"/>) for a certain element or starting at a certain line in a file? I am running into a problem with css from a template that my company bought interfering with css, html and jquery elements that I built out separately. The template is pretty robust and I would rather not mess with it. In the end I would like it to be that the template is it’s own entity and the code that I add in be none the wiser of the template.
Is there a command via css/javascript/jquery that shuts off external css(css included through <link
Share
No, there isn’t. You need to arrange your existing CSS to do what you want.
By making your CSS “more specific” you can override the other styles.
See: http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/