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
SabrentSabrent 

title string

In the pageBlockSection title how can I put  space after every period. It takes only one space at the moment, I want more than one space.

 

I tried   however it returns the output as  Complete all requirements in this step.    Ensure the format is correct

 

Is there a way to get spaces in the pageBlockSection title string? Thanks in advance. 

 

<apex:pageBlockSection title="Step 2. This is Step 2; Complete all requirements in this step. Ensure the format is correct" columns="1">

 

Rehan DawtRehan Dawt

Hi,

 

You can use the CSS for this. It will work with your requirement.

goabhigogoabhigo

Try:

title="Step 2. This is Step 2; Complete all requirements in this step."+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +" Ensure the format is correct"

 

Not sure about this. If it doesn't solve the problem, use CSS for the same.

SabrentSabrent

I wanted to get away with css because in my code there is lesss of Apex and more of css/javascript.

 

I must say,  this community board rocks!

Rehan DawtRehan Dawt

Hey You have used the Javascript ?

Then it will be more simple. just declare a string and get the value from the tag.

eg: str =  document.getElementByTagName.

and set the value for it.

 

goabhigogoabhigo

So did you find a solution or not?