selfthinker / dokuwiki_plugin_wrap

Wrap Plugin for DokuWiki: Universal plugin which combines functionalities of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.
http://www.dokuwiki.org/plugin:wrap
GNU General Public License v2.0
41 stars 33 forks source link

Suggestion: CSS background-image icons reworked #263

Open fjf2002 opened 1 year ago

fjf2002 commented 1 year ago

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

?

Klap-in commented 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.

fjf2002 commented 1 year ago

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.