wrap in my inputtextarea. I am very new to XML and CSS, and I do not
totally understand the layout. Below is the single XML line I am
modifying:
<h:inputTextarea binding="#{RaceReport.txtRiderInfo}" wordWrap="true"
id="txtRiderInfo" style="border-width: 2px; border-style: solid; font-
family: 'Courier New','Courier',monospace; font-size: 12px; height:
75%; left: 24px; top: 144px; position: absolute; width: 96%; overflow-
x: scroll"/>
I have tried all the suggestionss below, but am not exactly sure how
<textarea no-wrap></textareashould be used. For example if
<txtRiderInfo no-wrap></txtRiderInfois correct, than I also tried
that method with no luck either. For some reason the horizontal
scroll bar is greyed out, and the text wraps. Any additional advice
would be greatly appreciated!
Thanks
Ryan
>
try one or a combination of following css rules
textarea { overflow: auto; }
textarea { width: 90% }
textarea { white-space: pre; } * */* no wrap * * * * */
textarea { overflow-x: scroll; } */* horizontal lift */
or (not more allowed) :
* * <textarea no-wrap></textarea>
--
sm