Impossible to use color in rendered pdf
dmounoud opened this issue · 2 comments
dmounoud commented
Hi,
I can't use any color styling through css rendered in pdf.
I triedusing style attribute and class attribute with class defined in embedded style element, external stylesheet - on different kind of elements, div, span, p, table, etc.
No way.
Thanks a lot !
teemoo7 commented
@diadys That's strange, it works finely in my project. For example, I have the following color style attribute
<td style="padding: 20px; background-color: #FCFDCF;">
and the PDF result is what it should be.
Is there any error in the log? Is your template a valid XHTML file?
dmounoud commented
I included the bootstrap stylesheet and some kind of css definition causes colors not to be correctly rendered...
Removing it fxes the issue.