Forum How do I...?

PDF not displaying WHITE divs

khuezy
Hi,

I am unable to generate white backgrounds.

background-color: rgba(255, 255, 255, .4)


When I choose grays or any other color (e.g. 240, 240, 240, .4) they appear in the PDF.

Why doesn't docraptor see whites?

Thanks.
mikeday
It works for me when I run this document through Prince:
<html>
<body>
<div style="background: red">
<p>Red background</p>
<p style="background: rgba(255,255,255,.4)">White background</p>
<p>Red background</p>
</div>
</body>
</html>

Can you try this?