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
Amit ChaudharyAmit Chaudhary 

I want to Give space between 2 <apex:outputText value="xxxxxx"/> component , horizontally .how ?

nanda kishorenanda kishore

Hi Chaudary,

Use &nbsp; (Non-Breakable space) command between the two tags 

Deepali KulshresthaDeepali Kulshrestha
Hi Amit,

I've gone through your requirement and you can use &nbsp; between the two elements:


<div class="slds-size_1-of-5">
                <div class="slds-text-heading_large">
                    <lightning:input type="Text" value="{!con.FirstName}" label="FirstName"/>


            <div class="slds-size_1-of-5">
                <div class="slds-text-heading_large">
                    <lightning:input type="Text" value="{!con.LastName}" label="LastName" />

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha