• Ashwin Gadiyar
  • NEWBIE
  • 15 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
I want to move my field to the left in visualforce. The code is as follows:

        <apex:pageblockSection columns="1" >
                    <apex:outputField value="{!Opportunity.Why_do_anything__c}" style="float:left,width:100% important;" />
</apex:pageblockSection>

I've tried putting style="float:left" without any success. I've heard it can't be controlled when in a pageblockSection though.User-added image
I want to move my field to the left in visualforce. The code is as follows:

        <apex:pageblockSection columns="1" >
                    <apex:outputField value="{!Opportunity.Why_do_anything__c}" style="float:left,width:100% important;" />
</apex:pageblockSection>

I've tried putting style="float:left" without any success. I've heard it can't be controlled when in a pageblockSection though.User-added image