[pmwiki-users] css for preformatted text
Hans
design5 at softflow.co.uk
Thu Mar 8 14:17:11 CST 2007
I found this css on the web, to force word wrapping for <pre> tags:
pre {
white-space: pre-wrap; /* CSS-3 */
white-space: -moz-pre-wrap; /* 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+ */
}
It works for Firefox, but I can't get it working for IE6,
even trying to give IE extra "layout" for pre with the old trick
* html pre { height:1%;}
Has anyone any experience with this?
--
Best,
Hans
More information about the pmwiki-users
mailing list