Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Prevent TextArea From Expanding Horizontally

Joseph UpshawMar 14 2012 — edited Mar 15 2012
I have a form item with the Display As property set to Textarea. This item is setting in a sized region with a CSS style for overflow set to auto. When the Textarea is expanded vertically beyond the current size of the region, it (correctly) adds a vertical scrollbar to the region. However, if the Textarea is expanded horizontally, no horizontal scrollbar is added.

I fought with this for awhile but, realized that, aesthetically, I'd prefer that the Textarea simply not expand in the horizontal direction (as opposed to getting the horizontal scrollbar to work for the containing region).

I am able to locate the Textarea item with javascript by searching for the id which is P3_NOTES.
<fieldset id="P3_NOTES_fieldset" class="textarea" tabindex="-1" style="width: 326px; ">
     <textarea name="p_t07" rows="4" cols="60" wrap="virtual" id="P3_NOTES" class="textarea" style="resize: none; ">
     </textarea>
     <div class="apex_size_bar">
          <div class="apex_size_grip">
     </div>
          </div>
</fieldset>
I have several questions...

1. What is the "wrap" tag? This isn't CSS. What does it do? If it isn't valid CSS, should APEX be using it? What are the possible values besides "virtual"?
2. How can I change this (or can I) so that it can only be resized in the vertical direction?

Thanks,

-Joe
This post has been answered by Mark M. on Mar 15 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2012
Added on Mar 14 2012
6 comments
1,240 views