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
uHaveOptionsuHaveOptions 

outputfield/text lines and alignment in visualforce

<apex:pageBlockSectionItem HelpText="{!$ObjectType.Account.fields.Phone.inlineHelpText}">
      <apex:outputLabel value="{!me.Phone}" style="font-weight:bold;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;     font-size: 12px;"/>
      <!--<apex:outputText value="{!me.Phone}" style="width:85%;" />-->      
</apex:pageBlockSectionItem>


How can I remove these lines in Visualforce?
User-added image

I currently am building a visualforce page aligning everything and one of the request is to remove the lines for every visualforce field.  Either using outputField or outputLabel.

Also, since I am in the aligning and lining subject.  How can I make my multi select picklist field all align in one format?

User-added image


any help will be great.

thank you

Raj VakatiRaj Vakati
try this code
 
<apex:pageBlockSectionItem HelpText="{!$ObjectType.Account.fields.Phone.inlineHelpText}">
      <apex:outputLabel value="{!me.Phone}" style="font-weight:bold;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;     font-size: 12px;width:850px"/>
      <!--<apex:outputText value="{!me.Phone}" style="width:85%;" />-->      
</apex:pageBlockSectionItem>