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
Alekhya Mathukumilli 7Alekhya Mathukumilli 7 

I need a line space between the two section

 this is my code i need a break after customer area where I said 
<td></td>

i tried with <br/> it did not work
<td  align="left" style="width:25%;padding-top: .5em;padding-bottom: .5em;border:1px solid #999;font-size:12px;font-family:'Arial',Sans-serif;">
                   <apex:outputLabel value="{!v.notes}"/></td>
            </tr> 
                   
                   </apex:outputPanel>
               
               </apex:repeat>


            </apex:repeat>
            </table>              

           </apex:outputPanel>
        </table>
        
         <!------------------------Customer Area-------------------------------------------> 
        




         <apex:outputPanel rendered="{!custareaList.size!=0}">
          <table width="95%"  border="0" cellpadding="0" align="center" cellspacing="0" style="font-size:14px;font-family:'Arial',Sans-serif;">
            <tr>   
              <td></td>  
            <td bgcolor = "#FFFFFF" align="left" style="width:100%;color:#7A8A37"><b>CUSTOMER AREA </b>
                <apex:image url="{!imageCust}" style="width:30px" ></apex:image></td>

          </tr>

User-added image

This is how my page looks like I need a break betwwn the two sections.

Thanks in advance.
Best Answer chosen by Alekhya Mathukumilli 7
LBKLBK
PDF rendering may be different from Browser rendering.

Try to make it a valid mark up by adding a TD tag.

Like this.
 
<tr><td>&nbsp;</td></tr>

 

All Answers

LBKLBK
Add a <tr> </tr> after line 29 in your code.

This will add an empty row in the code. But, you need to take care of the CSS for the <TR> tag.
Alekhya Mathukumilli 7Alekhya Mathukumilli 7
It did not work
Alekhya Mathukumilli 7Alekhya Mathukumilli 7
I need a line space before it says Customer Area i.e., line 26
LBKLBK
Remove <td>  </td> in line 25.

Add the following line after Line 23
 
<tr>&nbsp;</tr>
Let me know if this helps.
 
Alekhya Mathukumilli 7Alekhya Mathukumilli 7
it says PDF generation failed. Check the page markup is valid. 
LBKLBK
PDF rendering may be different from Browser rendering.

Try to make it a valid mark up by adding a TD tag.

Like this.
 
<tr><td>&nbsp;</td></tr>

 
This was selected as the best answer
Alekhya Mathukumilli 7Alekhya Mathukumilli 7
It worked great thank you