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
vinothvinoth 

Text overlapping when rendering the page as PDF.

Hi,

I am having one VF page which is displaying the value of one rich text field which contain tables.when i render as pdf the table are getting overlapped. since that is the value of one field i am not able to use br tag also.Guide me to fix this issue.
JeeTJeeT
Hey vinoth,

Use some css attributes like width:100% on the style attribute of your table. LIke:
<table style="width:100%;display:inline-table;">
 <tr>
   <td style="width:100%;">
   </td>
 <tr>
</table>
praveen murugesanpraveen murugesan
Hi Vinoth,

You can you width=100% or else you can use <div> tag so you it wll avoid overlapping.

Refer these links

https://developer.salesforce.com/forums/ForumsMain?id=906F0000000958CIAQ

http://salesforce.stackexchange.com/questions/13123/salesforce-api-v28-not-rendering-css-styling-when-rendering-as-pdf

Mark this as best answer  if your problem solved.

Thanks,

Praveen Murugesan