On Tue, 14 Jun 2011 16:43:32 -0700, David E. Ross wrote:
> On 6/14/11 10:56 AM, Ed Mullen wrote:
>> David E. Ross wrote:
>>> When I view ASCII text Web pages that have no explicit line breaks in
>>> the SeaMonkey browser, the pages are displayed without wrapping.  Is
>>> there a way to get wrapping?
>>>
>>> An example is at<http://rossde.com/test/Wrap_test.txt>, which my
>>> service's Web server delivers as text/plain.
>>>
>>> Apparently, this is NOT a new problem.  I see the same results with SM
>>> 2.0.14 and SM 2.1.
>> 
>> Phil Chee's suggestion in the other thread does work.  In 
>> userContent.css put:
>> 
>> pre {
>>    white-space: pre-wrap !important;
>> }
>> 
>> No need for yet another extension.
> 
> The problem is that setting something in userContent.css will then
> affect ALL text Web pages.  That can disrupt a page that was formatted
> for a fixed display the same way that <pre> elements on an HTML Web page
> can be used for formatting.
> 
> The extension allows me to choose which pages will be wrapped.

Example

@-moz-document domain(mail.google.com) {
  pre {
    white-space: pre-wrap !important;
  }
}

Phil

-- 
Philip Chee <[email protected]>, <[email protected]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to