I have created a webmail client application developed via AngularJS
The email body that is displayed is in HTML form. My problem is that there are email from customers that import css and overide my application css :
@import url("https://some.web.site/main.css");
href="https://some.web.site/css/stylesheet.css" rel="stylesheet" type="text/css"
I've investigated a little bit and found that iframe isolates the content from the web page however it is considered bad practice.
Other alternatives presented in here are object and embed but they seem very similar
All require providing some src (url link)
My question is: is there a way to wrap a div that its internal content is some html that have its own styling without affecting the main (parent) elements styling (css)?