| From: | Selena Deckelmann <selenamarie(at)gmail(dot)com> | 
|---|---|
| To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> | 
| Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL www <pgsql-www(at)postgresql(dot)org> | 
| Subject: | Re: Forcing wrapping of 'pre' text in the archives | 
| Date: | 2009-09-29 03:23:42 | 
| Message-ID: | 2b5e566d0909282023t3d02714q9e1edc3d01001f29@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-www | 
On Mon, Sep 28, 2009 at 11:12 AM, Alvaro Herrera
<alvherre(at)commandprompt(dot)com> wrote:
> Alvaro Herrera escribió:
>
>> I tried removing the second line and replacing it with this block:
>>
>> #txtArchives pre {
>>  white-space: pre-wrap;       /* css-3 */
>>  white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
>>  white-space: -pre-wrap;      /* Opera 4-6 */
>>  white-space: -o-pre-wrap;    /* Opera 7 */
>>  word-wrap: break-word;       /* Internet Explorer 5.5+ */
>>  font-size: 150%;
>> }
>>
>> but it doesn't seem to have any effect on my browser.  I am trying this
>> email:
>> /pgsql-hackers/2009-05/msg01512.php
>
> FWIW the file I'm modifying is text.css, and the <pre> block is inside
> <div id="txtArchives">.
Which browser? (I'm just waiting for you to say IE 4 or something)
And for future reference:
I found this too:
_white-space: pre; /* IE only hack to re-specify in addition to word-wrap */
Here's perhaps a more authoritative source:
https://developer.mozilla.org/en/CSS/white-space
-selena
-- 
http://chesnok.com/daily - me
http://endpoint.com - work
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2009-09-29 04:08:20 | Re: Forcing wrapping of 'pre' text in the archives | 
| Previous Message | Bruce Momjian | 2009-09-29 03:05:16 | Re: Large fixed-width text |