html: <table id="human-body" class="printout" > <tr> <td width="25%"></td> <td width="25%">{%if injuary_mark.mark1 %}<img style="float: right; margin:5px 4px -35px 0;" src="{{ STATIC_URL }}images/red-cross.png"> {% endif %} </td> <td width="25%">{%if injuary_mark.mark2 %}<img style="float: right;margin:5px 8px -35px -8px;" src="{{ STATIC_URL }}images/red-cross.png"> {% endif %} </td> <td width="25%"></td> </tr> </table>
css: .printout{ background:url('http://192.168.100.10/static/images/human.png'); width:123px; height:298px; background-position:center; background-color: transparent; background-repeat: no-repeat; vertical-align:middle; border: none; } The above html and css is for print-out template.Problem is if i press print button,print preview is coming but without background image.I am sending the same template as email,facing same problem while sending email also.The image is not displayed in email copy also. I tried giving the direct url of image also,still the problem not solved. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.