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
hylim1215hylim1215 

how can i increase output label width?

Hi i have created a simple vf to display my custom field
 
<apex:pageBlockSection columns="2">
            
               <apex:pageBlockSection columns="1">
                    <apex:outputField  value="{!quote.BillingName}" />
                    <apex:outputField  value="{!quote.billingstreet}" label="ERP Billing Address 1"/>
                    <apex:outputField value="{!quote.billingcity}" label="ERP Billing Address 2"/>
               </apex:pageBlockSection>

                <apex:pageBlockSection columns="1">
                   <apex:outputField  value="{!quote.Shippingstreet}" label="Shipping Address 1"/>
                   <apex:outputField value="{!quote.billingcity}" label="Shipping Address 2"/>
                </apex:pageBlockSection>
</apex:pageBlockSection>
and it turn out like that
User-added image

how can i maximize the label width to display only 1 line?

Thanks
Rupal KumarRupal Kumar
Hi hylim1215
<apex:outputLabel value="Hello World" style="display:block;width:150px;" />

,Thanks 
Rupal
http://mirketa.com