I need to center the img element of the html #1379
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Problems will (and can) only be fixed in version 4.14. So best you test with the current development version and provide a way to reproduce the problem if it’s currently still a problem. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if the HTML you supply is correct at all. You explicitly say "display:block" for the image element. In fact I wonder why the browser renders this centered? |
Beta Was this translation helpful? Give feedback.
-
I encountered 2 issues regarding image rendering in HTML:
Follow and test report: |
Beta Was this translation helpful? Give feedback.
The point is like descripted before. You cannot use the CSS-styles to define the layout for PDF, Excel, etc.
BIRT is based on the standard properties of the designer and again the available styling properties of the (HTML-)text are very basic styles which based on HTML 4.0.
The next point is that you use not realy a standard image because you use the image as data-URL.
The dataURL of images isn't full available.
But I created based on your report a demo which you can use. By default you should use the BIRT-image.
On the BIRT-image you can use (standard)-)URL-images (path based)
or embedded images on the repoirt level
or dynamic images from parameter or dataset based
or shared resources of…