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
Keerthi SfcKeerthi Sfc 

my vf page fields are aligning on center on lightning page

<apex:pageBlockSectiThis is picture of my pageon 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'}" /> 
                                                &nbsp;
                                                <apex:outputPanel rendered="{!q.helpText != ''}">
                                                    <c:ShowHelpText helpText="{!q.helpText}"/>
                                                </apex:outputPanel>
                                            </TD>
                                            <TD WIDTH="60%" VALIGN="top">