Title: Image as background
Last modified: May 7, 2018

---

# Image as background

 *  Resolved [nrozas](https://wordpress.org/support/users/nrozas/)
 * (@nrozas)
 * [8 years ago](https://wordpress.org/support/topic/image-as-background-2/)
 * First of all, thank you very much for developing such a useful plugin with so
   many applications
 * I am trying to use an image as background of a table that I created in html to
   put the information of the form in a pdf.
 * I am doing it in the following way but I can not use the image as background.
 *     ```
       <table width="580" height="300" border="0" align="center" cellpadding="0" cellspacing="0" background="https://www.mi-server.com/static/background-image.jpg">
         <tbody>
           <tr>
             <td>[date]</td>
           </tr>
           <tr>
             <td>[your-name] [last-name]</td>
           </tr>
           <tr>
             <td>&nbsp;</td>
           </tr>
         </tbody>
       </table>
       ```
   
 * How would be the correct way to add that image as a background ??
    -  This topic was modified 8 years ago by [nrozas](https://wordpress.org/support/users/nrozas/).
    -  This topic was modified 8 years ago by [nrozas](https://wordpress.org/support/users/nrozas/).
    -  This topic was modified 8 years ago by [nrozas](https://wordpress.org/support/users/nrozas/).
    -  This topic was modified 8 years ago by [nrozas](https://wordpress.org/support/users/nrozas/).
    -  This topic was modified 8 years ago by [nrozas](https://wordpress.org/support/users/nrozas/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [nrozas](https://wordpress.org/support/users/nrozas/)
 * (@nrozas)
 * [8 years ago](https://wordpress.org/support/topic/image-as-background-2/#post-10269331)
 * Hello everyone,
 * At the end I found the best way to do it and is using directly css style in the
   following way
 *     ```
       <div style="background-image:url(https://www.mi.server.com/static/image-580X300.jpg); width: 580px; height: 300px;">
       </div>
       ```
   
 * That creates a div in the pdf that will carry in the background the image you
   want.
 * Thank you very much anyway
    -  This reply was modified 8 years ago by [nrozas](https://wordpress.org/support/users/nrozas/).

Viewing 1 replies (of 1 total)

The topic ‘Image as background’ is closed to new replies.

 * ![](https://ps.w.org/send-pdf-for-contact-form-7/assets/icon-256x256.png?rev=
   2194770)
 * [Send PDF for Contact Form 7](https://wordpress.org/plugins/send-pdf-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/send-pdf-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/send-pdf-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/send-pdf-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/send-pdf-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/send-pdf-for-contact-form-7/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [nrozas](https://wordpress.org/support/users/nrozas/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/image-as-background-2/#post-10269331)
 * Status: resolved