Ben Bucksch wrote:

> Warren Bell wrote:
> 
>> The rest of my style rules work, just that has no effect.
> 
> I assume, the other rules in there also work for Mailnews msgs? To try, 
> just remove these ".text-html" and check, if that changes the appearance 
> of msgs (it should change webpages in any case).

That code _should_ chage webpages also?  I thought that was a style rule to just
change the formatting in mail and news?

My other style rules work in main and news messages.  Here's my userContent.css:

a:hover
  {
    color                     : #CC0000 !important;
  }

ul, ol
  {
    margin-left               : auto;
    margin-right              : auto !important;
  }

ul ul, ol ol
  {
    margin-left               : 2em !important;
    margin-right              : auto !important;
    padding-left              : 0 !important;
  }

input
  {
    text-indent               : 1px;
  }

textarea
  {
    padding                   : 1px;
  }


/*
 * Ignore user-specified style in mail messages.
 * See http://bugzilla.mozilla.org/show_bug.cgi?id=18427 for details.
 */

.text-html font, .text-html div, .text-html body
  {
    font-size                 : inherit !important;
    font-family               : inherit !important;
    color                     : inherit !important;
    background-color          : inherit !important;
    background-image          : inherit !important;
    text-align                : inherit !important;
    text-indent               : inherit !important;
  }


> If so, it's something in the Mailnews code that's wrong.


Reply via email to