On my website I can use custom style sheets. But I do not want these styles to affect the whole site, just a separate section / div. Is there a way to do this without having to go through the entire user style sheet and adding my div selector to each css rule? For example, if the user has:
a, span{color:white;}
div{padding:10px;}
Now I have to disassemble it and replace it with
#mySection a, #mySection span{color:white;}
#mySection div{padding:10px;}
source
share