Comprehensive css reset

139 Views Asked by At

I have a javascript code that generates an html content on the user's page. The problem is that the styles used by the user affect my html code. I want to completely reset all css under my container class/id, how can i do that ?

For example the normal css reset styles don't reset table borders, background colors etc.

1

There are 1 best solutions below

0
On

You can use an iframe for your code to not be affected by css on the current user page .

<iframe src="YourURL" ></iframe>