You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
converting for example .wrap_info { background-image: url(xyz); } to something like .wrap_info:before { content: url(xyz); }
thus enabling printing the icons
(some more css stuff needed here...)
?
The text was updated successfully, but these errors were encountered:
fjf2002
changed the title
Suggestion: CSS background-image reworked
Suggestion: CSS background-image icons reworked
Jun 19, 2023
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); }
?
The text was updated successfully, but these errors were encountered: