jasonday / printThis

jQuery printing plugin; print specific elements on a page

Home Page:https://jasonday.github.io/printThis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Print issue - ul li span tag color is missing without base: https://jasonday.github.io/printThis/

skannanji opened this issue · comments

Am trying to print custom chart legend, But span color is missing on print whereas i can able to see span color only when using
base: "https://jasonday.github.io/printThis/".

<ul class="0-legend">
   <li><span style="background-color: rgb(0, 255, 255);"></span>apple</li>
   <li><span style="background-color: rgb(250, 128, 114);"></span>Orange</li>
</ul>

Screenshot:
Html UI,
image
printThis output,
image

Here span color bullet is missing.

Background colors do not print by default. This is not something unique to printThis.

Please take a look at the Wiki Page for Printing Styled Content which discusses some of the limitations and ways you may be able to solve them.