Author Topic: Float image in invoice/email footer and header?  (Read 274 times)

mailblade

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Float image in invoice/email footer and header?
« on: October 11, 2017, 10:41:43 am »
Good day.

I've added an image to my footer when you navigate to "SHOP - Invoices/Emails".

I'd like to align/float this image on the bottom-right hand side of the page. I've used the following:

<div style="float:right;"> <img /></div>
<img align="right" />
<div style="bottom: 5px; right: 0px; /? <img /> </div>

However, none of these work. When I test it via the link on the Invoices/Emails page, it refuses to move the image to the right.

Any help would be appreciated. Thank you.

mailblade

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Re: Float image in invoice/email footer and header?
« Reply #1 on: October 11, 2017, 13:20:32 pm »
Just had to use a <p style="text-align: right"><img /></p>


Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2432
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 &amp; 3.0.x.y
Re: Float image in invoice/email footer and header?
« Reply #2 on: October 18, 2017, 23:54:31 pm »
Another solution can be to use HTML tables, TCPDF and email body does support <td align="right" >

mailblade

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Re: Float image in invoice/email footer and header?
« Reply #3 on: October 19, 2017, 13:58:22 pm »
Thanks for the tip will give it a try :)