Disable css in specific portion of code?

Hi,
css are in css files, and affect all pages.

Are there anyway to disable all css effects on specific portions of code within a page ?

Hi,
A solution can be to create a javascript code that rewrite the css properties for elements in the portion you want.
Or, to add inline “style” to those elements, that rewrite the properties added in css file.

I dont know if its what you want, but why not create a class with a “reset” css and use it on the portion you want to?

Over complicating things. And using .js to disable part of you CSS is counter intuitive… Imean what if .js is off and the CSS is vital to the layout?

Simplest way is have separate links. You could also create siv files for each type of HTML page and use @import.

It would help to know why you are trying to do this. Even if you disable all of your own styles, the browser will apply its own styles. So you are better off deciding how you want certain elements to appear and style them accordingly—even if that means to style them as if they aren’t styled … so to speak.

@Koros

Are there anyway to disable all css effects on specific portions of code within a page ?

Try this:



<div style='display:none;visibilty:hdden'>

   <!-- script you want disabling -->

</div>