In a new app, I'm building, I want to display an html email in a table in the browser.
The issue is that the html emails are changing the background color of my webpage and at times ends an html table I am using to display multiple emails.
The emails usually contain full html, body, div, and table tags. A normal occurrence is an body bgcolor"ff0000" which turns my entire app's background red.
Is there a way to combat this or do I have to code it to take out the html tags.
Also, I tried showing the email code in a iframes, but to no avail. it actually didn't display the code at all, just a blank iframe box.
<iframe>Body of html email here</iframe>
I'm sure I'm missing something simple - any help would be appreciated.
Btw, the email html is being held in a php string.