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
Zanga TouréZanga Touré 

How do I align an output field with text label above it?

The problem I have is that the text is styled correctly (indented 1 in from the left). The outputfield shows up left justified. Styling has yet to work with it. Any help/guidance is appreciated.

<p>Does the topic correspond with a priority question in the targeted PFA?</p>
<apex:outputField style="left:80px"  value="{!Fluxx_LOI_Review_Form__c.Does_topic_correspond_with_priority_targ__c}"/>                   

 
Andy BoettcherAndy Boettcher
When that outputField is rendered on the VF page, there are additional HTML components that get added in the mix.  Your best bet is to put these in an apex:pageblock / apex:pageblocksection / apex:pageblocksectionitem and then work the CSS from there.