You need to sign in to do that
Don't have an account?
Karen Brown 39
How can I left align an Output field in a single column page block
Hi,
I am using visualforce to make opportunity page sections tabular in lightning, I have a field that in in a 1 column page section in classic but when I add to the visualforce page as a 1 cloumn section with this 1 field only the placement is not left allinged.
Here is the code for the page block, what do i need to add to allign it to the left?
<apex:pageBlockSection title="Scheme Outline" columns="1"> <apex:outputField value="{!opportunity.Summary_Scheme_Calc_SF__c}"/> </apex:pageBlockSection>
I want it to be all the way to the left.
I am using visualforce to make opportunity page sections tabular in lightning, I have a field that in in a 1 column page section in classic but when I add to the visualforce page as a 1 cloumn section with this 1 field only the placement is not left allinged.
Here is the code for the page block, what do i need to add to allign it to the left?
<apex:pageBlockSection title="Scheme Outline" columns="1"> <apex:outputField value="{!opportunity.Summary_Scheme_Calc_SF__c}"/> </apex:pageBlockSection>
I want it to be all the way to the left.
Can you give complete code? If not just try style="float:left" attribute in outputfield.
Thanks,
Sohan Raj Gupta
All Answers
Can you give complete code? If not just try style="float:left" attribute in outputfield.
Thanks,
Sohan Raj Gupta
Hope this will help you
https://th3silverlining.com/2010/03/29/the-pageblock-elements-inputfield/
Thanks