Designing invoices

  • Rasmus Larsen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago #49383 by Rasmus Larsen
Designing invoices was created by Rasmus Larsen
Hi Tuan,

I have tried designing my invoices, but it does not work.
I have found the place where I design it, and written my code in HTML (divs) and using variable widths (percentages %) and I am also using float on all of the divs, but it seems like most of my inline CSS is removed (all css for the invoice is written inline).

Every div is just displayed underneath each other, and my logo (an img-tag with a full URL to an image) is not displayed either.
When I save my invoice as a .html-page, it looks good when I open it in my browser and press Print, it scales great to the edges of the paper, but when I enter it into the invoice-field in the backend, It doesn't look like is should, when the email gets to the user.

Can I in any other way design it, so it will work?

Please Log in or Create an account to join the conversation.

  • Rasmus Larsen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago #49427 by Rasmus Larsen
Replied by Rasmus Larsen on topic Designing invoices
Found out myself; It can't handle when you put in widths.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #49446 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Designing invoices
Thanks for the update Rasmus.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc