You need to sign in to do that
Don't have an account?
Keerthi Sfc
my vf page fields are aligning on center on lightning page
<apex:pageBlockSection title="{!s.section.Name}" collapsible="false" columns="1" rendered="{!s.displayHeader}"> <apex:outputPanel rendered="{!s.section.Section_Notes_Top__c != NULL && s.section.Section_Notes_Top__c != ''}"> <apex:outputText value="{!s.section.Section_Notes_Top__c}" escape="false" /> </apex:outputPanel> <apex:outputPanel > <TABLE WIDTH="95%" ALIGN="CENTER"> <apex:repeat value="{!s.questions}" var="q"> <apex:outputText rendered="{!q.display}"> <apex:outputText rendered="{!q.notesTop != NULL && q.notesTop != ''}"> <TR> <TD COLSPAN="3"> <br /> <apex:outputText value="{!q.notesTop}" escape="false" /> </TD> </TR> </apex:outputText> <apex:outputText rendered="{!q.fieldType == 'ReadOnly'}"> <TR> <TD COLSPAN="3"> <br /> <apex:outputText value="{!q.questionText}" escape="false" /> </TD> </TR> </apex:outputText> <TR HEIGHT="25px;"> <TD WIDTH="5%" styleClass="labelCol"> <b><apex:outputText value="{!q.questionNumber}" escape="false" /></b> </TD> <TD WIDTH="35%" styleClass="labelCol"> <apex:outputText escape="false" value="{!q.questionText}" rendered="{!q.fieldType != 'ReadOnly'}" /> <apex:outputPanel rendered="{!q.helpText != ''}"> <c:ShowHelpText helpText="{!q.helpText}"/> </apex:outputPanel> </TD> <TD WIDTH="60%" VALIGN="top">