I’m currently using JQuery to assign colors to containers.
In Chrome and IE, when I get innerHTML the background color stays “background-color:#333333“. But in Firefox, it’s replaced with “background: none repeat scroll 0% 0% rgb(X, X, X)“.
The problem is that I’m using the html in a form submit and I want to keep background-color notation because in email like Hotmail, background gets removed from the content.
For now, I think the best solution may be to use “bgcolor” instead of css background-color.
Can someone help me ? Thx.
You could try setting the style directly on the DOM element and see if that gives the correct result in Firefox: