• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Formatting PDF Output

Formatting PDF Output 8 months 2 weeks ago #42890

  • a2zcs
  • a2zcs's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
I've a form that has a single row, three column table in a Free Text field. It has two small images at each end and some text in the middle column. For the life of me I can not get the PDF out put to show the middle column centered. The images show up fine at the far left and far right, but the text is pushed to the right of the middle area as if the first column, set at 20% is actually much larger.
Anyone have any ideas as to why?

Here is my code
<table style="width: 100%;">
<tbody>
<tr>
<td style="width:20%;"><img src="images/GOM-Logo-for-Agreements.jpg" alt="GOM Logo for Agreements" style="float: left;" />&nbsp;</td>
<td style="width:60%;">
<p style="text-align: center;"><strong>Company Name</strong><br /> Company Address<br /><strong>Phone</strong><br /><strong>Generator Service Agreement</strong></p>
</td>
<td style="width:20%;"><img src="images/Kohler-logo-for-service-agreement.jpg" alt="Kohler logo for service agreement" style="float: right;" />&nbsp;</td>
</tr>
</tbody>
</table>
The administrator has disabled public write access.

Formatting PDF Output 8 months 2 weeks ago #42904

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 559
  • Thank you received: 102
Hello,

You can try this instead:
<table style="width: 100%;">
    <tbody>
        <tr>
            <td style="width:20%;" align="left">
                <img src="images/GOM-Logo-for-Agreements.jpg" alt="GOM Logo for Agreements" />&nbsp;
            </td>
        <td style="width:60%;" align="center">
            <p><strong>Company Name</strong><br /> Company Address<br /><strong>Phone</strong><br /><strong>Generator Service Agreement</strong></p>
        </td>
        <td style="width:20%;" align="right">
            <img src="images/Kohler-logo-for-service-agreement.jpg" alt="Kohler logo for service agreement" />&nbsp;
        </td>
        </tr>
    </tbody>
</table>
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!