You need to sign in to do that
Don't have an account?
suji srinivasan
How to create space in between two outputtext tags in vf page?
In single line , I need to display two output fields with space in between them.
<p> Employee ID:<b> <apex:outputText value="{!candidate__c.Employee_ID__c}" ></apex:outputText> </b> Employee Name:<b> <apex:outputText value="{!candidate__c.Employee_Name__c}"> </apex:outputText> </b> </p>
Output Reference:
Employee ID: ASD2589637 Employee Name:Jennifer
Thanks in advance
<p> Employee ID:<b> <apex:outputText value="{!candidate__c.Employee_ID__c}" ></apex:outputText> </b> Employee Name:<b> <apex:outputText value="{!candidate__c.Employee_Name__c}"> </apex:outputText> </b> </p>
Output Reference:
Employee ID: ASD2589637 Employee Name:Jennifer
Thanks in advance
You can use as many times as you need the space.
Also refer this link for more detail :- https://salesforce.stackexchange.com/questions/137129/how-to-add-tab-space-in-vf-page#:~:text=If%20you%20want%20a%20blank,.&text=You%20can%20use%20as,as%20you%20need%20the%20space. (https://salesforce.stackexchange.com/questions/137129/how-to-add-tab-space-in-vf-page#:~:text=If%20you%20want%20a%20blank,.&text=You%20can%20use%20as,as%20you%20need%20the%20space.)
Kindly mark it as the best answer if it works for you.
Thanks & Regards,
Priya Ranjan