PDA

View Full Version : Loading HTML email into Ext Panel changes document.body CSS



corypeterman
20 Mar 2012, 5:11 AM
I am using ExtJS 3 to load HTML email messages into a Tabpanel. Some of the email's CSS changes my main document.body CSS (such as the background, etc.). Is there a way to contain that HTML and CSS to only the panel instead of rendering it to the entire page?

Thanks!

mitchellsimoens
20 Mar 2012, 8:28 AM
Give your panel a CSS class using the cls config. Then put the background on the CSS class you specified.

JoyfulBobHome
30 Mar 2013, 5:54 PM
Can I ask how you are "I am using ExtJS 3 to load HTML email messages into a Tabpanel"?

I ask because I've been assigned to reduce Outlook emails that clog it up.

I'm looking at creating a "message" app instead of email.

Sounds like you're loading Outlook emails into Extjs?? If so, we could really utilize something like that.

Thanks in advance.