Good morning to all of you,
I am having some problems to display an image by using div style inside a Rich Text Item.
I am using a Rich Text Element because I have to print the report in pdf format.
The image is displayed properly in the report except for the size.
This is the code I have used:
<div style="background-image: url(http://eam.unicatt.it/docuploads/PROD/TEST.jpeg);
background-repeat:no-repeat;
background-size:contain;
background-clip:content-box;
height: 450px; width: 900px;">
</div>
It seems that Cognos is not able to re-size the image so I get just a part of the image.
I tried the same code outside Cognos and the image is re-size properly.
Could I have some tips?
Best Regards and thanks in advance.
Ciao
Matteo
Has anyone found a solution for this? I am currently facing the same issue :(
Thanks and regards,
Bark