[ #315246 ] pre CSS in case of xxforms:readonly-appearance="static"
Date: 2010-08-11 15:21
Priority: 5
Submitted By: Zdenek Hrib (zdenekhrib)
Assigned To: Erik Bruchez (ebruchez)
Category: Documentation
State: Open
Summary: pre CSS in case of xxforms:readonly-appearance="static"
Detailed description: I would suggest to make a note in the documentation
http://www.orbeon.com/orbeon/doc/reference-xforms-extensions
about using
...
text suggestion:
-----------------
When the "static" style is used you should add
pre { white-space: pre-wrap; }
into your CSS to allow long-line wrapping for read-only textareas in Firefox.
-----------------
Or this css could be added into Government Forms Example app.
Date: 2010-09-13 22:45
Sender: zdenekhrib
Logged In: YES
user_id=8756
Actually it should be something like this:
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+ */
}
Attached Files:
Name
Description
Download
No Files Currently Attached
Changes:
Field
Old Value
Date
By
summary
pre CSS in case of xxforms:readonly-appearance="static"
2010-09-13 22:45
zdenekhrib
summary
pre CSS in case of xxforms:readonly-appearance="static"