I want to block all html in email and news.  I have these rules in my
usercontent.css:

.moz-text-html font, .moz-text-html div, .moz-text-html body,
.moz-text-html b, .moz-text-html strong, .moz-text-html,
.moz-text-html td
{
  font-size         : small !important;
  font-family       : courier new !important;
  font-weight       : 400 !important;
  color             : black !important;
  background        : white !important;
  background-color  : white !important;
  background-image  : none !important;
  text-align        : inherit !important;
  text-indent       : inherit !important;

}

.moz-text-html img
{
  display           : none !important;
}

But with these rules it doesn't kill the background color.  Here's a
small pic of how it displays:

http://www.belletc.net/test/mozmail.png

And here's the source of that mail message:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#008080>
<DIV><FONT color=3D#ffffff size=3D2>Test HTML mail and CSS rules in=20
mozilla...</FONT></DIV></BODY></HTML>


So my question is, what rule do I need to add to what I have to make the
background color of mail and news messages completely white regardless
of what the HTML is?


Reply via email to