title: Alternatives to iframe srcdoc?
body: <p>Generally I am against the use of iframes, but it solved a particular problem of mine.</p>
  
  <p>The thing is that I have a tinyMCE-editor at a webpage. After the user have made the content using this editor the content is sent as HTML to a web application. This content is then displayed in a div. Thing is that tinyMCE often add <strong>styles with position absolute</strong> and things that break with the rest of the web applicaiton. </p>
  
  <p>When testing I found out that the new HTML 5 <code>iframe srcdoc="&lt;p&gt;Some HTML&lt;/p&gt;"</code> and <code>seamless="true"</code> was perfect for my situation. It looked seamless and the contents style and my style was intact. Sadly I now see that the HTML5 srcdoc attribute is not yet supported by Android (<a href="http://w3schools.com/html5/tryit.asp?filename=tryhtml5_iframe_srcdoc" rel="noreferrer">http://w3schools.com/html5/tryit.asp?filename=tryhtml5_iframe_srcdoc</a> yields different result in chrome and android browser). </p>
  
  <p>So the question is: Is there any alternative to the iframe srcdoc which will preserve all style of the received content and contain it in a div? </p>