Image

Is there a Javascript solution for disabling inline CSS?

I am trying to re-use the code for unordered navigation lists for a outline view of the navigation.

Problem - I have some inline styles that are messing with the default margins and paddings of the lists.

Is there a Javascript solution to resetting the styles?

Something like document.getElementById('this-area').style = none;


*
Instead of targeting an ID or name could I target UL or LI?