+ Start a Discussion
Radhe Shyam.Radhe Shyam. 

apex:outPutText text is not wrapping

Hi Guys, facing problem in wrapping the text. Please help.
User-added image


<apex:outputLabel value="{!$ObjectType.XX__c.fields.Description__c.label}"/>
  <apex:outputText value="{!AutoFollowRullobj.Description__c}" id="theTextInput2" />
Hi Radhe,

1. This should not happen by standard, have you used any custom style?
2. The word-wrap attribute should help you control it, use carefully.

Hope it helps
Radhe Shyam.Radhe Shyam.
Hi RD, this is not happening if we are breaking this string by space or enter press. It is happening only when we are typing text without break or without giving space. Please specify the word wrap attribute usage. Thanks in Advance.
Hi Radhe,

Set the style attribute word-wrap:break-word.Please follow the link (https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-wrap)for syntax and documentation

:) RD