I created a div with white text color, and now I'm facing an issue.
By using CSS media queries, I set the text color to be white for printing purposes.
@media print {
.myid_print_duo_name
{
z-index: 2;
position: absolute;
left: 0px;
top: 330px;
width: 303px;
height: 28px;
line-height: 28px;
text-align: center;
color: white !important;
font-weight: bold;
font-size: 20px;
font-family: "Times New Roman";
}
}
Despite setting the color to white, the text appears slightly darker in my print preview.
I initially thought it was fine, but upon printing, the result is noticeably darker. Why is this happening?