HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Background-color: transparent not rendering correctly › Re: Re: Background-color: transparent not rendering correctly
November 5, 2012 at 14:34
#29128
PD4ML pd4ml = new PD4ML();
pd4ml.enableDebugInfo();
we are still encountering this issue with “PD4ML 380fx8 Pro”
the below mentioned div-container is still rendered with black-background
this is the HTML we render:
background-color:transparent
this is the JAVA Code we use:
PD4ML pd4ml = new PD4ML();
pd4ml.enableDebugInfo();
Dimension dimension = new java.awt.Dimension(230, 159);
pd4ml.setPageSize(dimension);
Insets insets = new Insets(0, 0, 0, 0);
pd4ml.setPageInsets(insets);
pd4ml.setHtmlWidth(width);
…..
pd4ml.render(isr, baos, url);