I have a display file with a text area.
In Chrome & Firefox it works as expected, the text wraps at the edge of the text area.
In IE, it just continues along 1 line.
How do I get it to wrap in IE ?
Thanks & regards
Tony C
text area wrapping
-
- Profound User
- Posts: 67
- Joined: Thu Jul 29, 2010 1:25 am
- First Name: Tony
- Last Name: Cusack
- Company Name: Welding Industries
- City: Adelaide
- State / Province: Outside Canada/USA
- Zip / Postal Code: 5139
- Country: Australia
- Location: Adelaide, South Australia
- Contact:
-
- Experienced User
- Posts: 165
- Joined: Wed Dec 11, 2013 10:40 am
- First Name: Dave
- Last Name: Clark
- Company Name: WinWholesale, Inc.
- Phone: 937-294-5331
- Address 1: 31101 Kettering Blvd.
- City: Dayton
- State / Province: Outside Canada/USA
- Zip / Postal Code: 45439
- Country: United States
- Contact:
Re: text area wrapping
Which version of IE? The following style works fine for me in IE9 and the other browsers:
Code: Select all
white-space: pre-wrap;
-
- Profound User
- Posts: 67
- Joined: Thu Jul 29, 2010 1:25 am
- First Name: Tony
- Last Name: Cusack
- Company Name: Welding Industries
- City: Adelaide
- State / Province: Outside Canada/USA
- Zip / Postal Code: 5139
- Country: Australia
- Location: Adelaide, South Australia
- Contact:
Re: text area wrapping
IE 11 (11.04)
The wrapping occurs as the user types without applying any styles in Chrome & Firefox. I'll try the style suggested.
The wrapping occurs as the user types without applying any styles in Chrome & Firefox. I'll try the style suggested.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: text area wrapping
What Dave says is correct. In fact, we added that same CSS style into the code in Profound UI on our dev box about a week ago when someone else reported this. It will be included in the next release of Profound UI.
You can easily fix this yourself by editing the following file in the IFS:
/www/PROFOUNDUI/htdocs/profoundui/proddata/css/profoundui.css
Look for the following code (near line 178 in my copy):
Add in the white-space style so that it now looks like this:
Save your changes. Then, clear your browser cache and try again.
You can easily fix this yourself by editing the following file in the IFS:
/www/PROFOUNDUI/htdocs/profoundui/proddata/css/profoundui.css
Look for the following code (near line 178 in my copy):
Code: Select all
TEXTAREA {
z-index: 20;
resize: none;
}
Code: Select all
TEXTAREA {
z-index: 20;
resize: none;
white-space: pre-wrap;
}
-
- Profound User
- Posts: 67
- Joined: Thu Jul 29, 2010 1:25 am
- First Name: Tony
- Last Name: Cusack
- Company Name: Welding Industries
- City: Adelaide
- State / Province: Outside Canada/USA
- Zip / Postal Code: 5139
- Country: Australia
- Location: Adelaide, South Australia
- Contact:
Re: text area wrapping
Thanks Scott & Dave, works like a treat :)
Who is online
Users browsing this forum: No registered users and 8 guests