Open fjf2002 opened 1 year ago
general note about dw2pdf: dw2pdf uses a very limited css set as default, so probably the dw2pdf needs in all cases specific css, which should be explictly be tested with the mPDF library used by dw2pdf.
Ah I now understand: The default browser settings won't print background-images, and background-colors neither. So my suggested solution would still leave the background-color issue open.
The WRAPs with icons are quite nice, we use them a lot.
In my opinion
background-image
is a problematic solution for applying the icon; it won't print by default, for example. Also dw2pdf seems to have its problems with loading the icons(?)Would anybody prefer
.wrap_info { background-image: url(xyz); }
to something like.wrap_info:before { content: url(xyz); }
?