I have fetched the data of long text area field on my vf page how can i break the text in vf page
I have fetched the data of long text area field on my vf page how can i break the text in vf page
It's not really a Visualforce-specific question, consider changing the tags to CSS and you'll attract experts. Lots of options you can experiment with, have you seen these?
if the text contains <br> or newlines you could even wrap it in <pre> tags...
What's your VF page structure? Do you use <apex:outputField> for that or <apex:pageBlockSectionItem>? these should enforce some wrapping too. If you have raw {!myField} in the page then well, wrapping (and protecting from XSS injection!) is on you...