On Fri, 26 Jun 2009 14:12:12 -0500, Patrick O'Keefe wrote:
>
>Well, we have one of those weird ones in today's archive:
>Ed Gould's posting. (As usual, watch the wrap.)
>http://bama.ua.edu/cgi-bin/wa?A2=ind0906&L=ibm-main&T=0&O=D&F=&S=&P=183214
>
>With IBM-Main options medium text and monospaced font, and
>using IE6.0 with who-knows-what options I see the repeated
>words and, well, this is a lot weider than I thought. If I vary the
>width of my browser window so that the lines are reformated the
>problem goes away and will not reappear regardless of my display
>width. But if I exit and rebrowse the posting, the duplication is
>back.
>
Looking at the HTML, I find:
pre {
font-size: 14px;
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+ */
word-wrap:break-word;
_white-space:pre; /* IE only hack to re-specify in addition to word-wrap */
}
... so the comments indicate that IE is treated specially;
plausibly incorrectly.
And very long lines are wrapped in <pre>...</pre> markup. Ugh!
Whatever happened to KISS? Whatever happened to browser- independence?
Why is the HTML for Ed's modest post over 20KB long?
And LISTSERV will likely corrupt my quoted HTML.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html