If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Problem with <div style> inside a Rich Text Element

Started by Mateeoo, 01 Aug 2013 06:28:29 AM

Previous topic - Next topic

Mateeoo

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



Bark

Has anyone found a solution for this? I am currently facing the same issue :(

Thanks and regards,

Bark