function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GopalRaturiGopalRaturi 

Text is not wrapping in long Text Area field.

Hi,

 

I am using below code to display a Long Text Area field. It is working fine in IE but not in Chrome or Firefox.

whenevr the field has long URL it is not able to break the url in multiple lines.

<apex:outputField style="display:inline;" value="{!ABC.xyz__c}" />

 

i can't use outputText as it will show URL as text and not as link.

 

Suggest some way that work in every browser.

 

Big VBig V

Try this:

 

<apex:outputField style="display:inline;word-wrap:break-word;" value="{!ABC.xyz__c}" />

 

 

 

 

 

Big V

GopalRaturiGopalRaturi

Thanks fore Replying. Word wrap is not working with outputField. we can Use that with outputText.