You need to sign in to do that
Don't have an account?
Sabrent
whitespace in <apex: outputText>
I want to include a space after Documents. (Steps1-4 msut be...)
what do I need to do to the Style to put a white space in the string?
<apex:outputText style="font-size:9pt;font-weight:bold!important;" value="tab to Preview Required Insurance Coverages and Upload Insurance Related Documents.(Steps 1 - 4 must be completed on this tab when uploading documents) " />
You can use to insert a non-breaking space, or you can use "white-space: pre" to preserve white space.
All Answers
Does just adding the whitespace in the value does not work? Like this
Else, you can split up the outputtext into two parts, the first one upto "Documents." and the other part the remaining one. And then, add
inbetween the two.
You can use to insert a non-breaking space, or you can use "white-space: pre" to preserve white space.
Thanks!!!
white-space: pre did the trick.   displays the ASCII code (160)
I'm not sure if it's the new version, but this doesn't seem to work. The method will work if you add the escape attribute: