No colors when printing UI page

questsal78
Giga Expert

Hi,

I've designed a UI page and the table headings have colors but neither its showing in print preview nor printing any colors. I'm wondering what I'm missing here.

Below is code to print:

<div style="height: 20px" class="print_hide" align="right">
		<button type="submit" onclick="javascript: window.print();"> <img src="images/printer.gifx"></img>
			<span>Click to Print</span>
		</button>
	</div>

 

find_real_file.png

find_real_file.png

 

Any help will be appreciated.

Thank you!

Mujtaba

1 ACCEPTED SOLUTION

questsal78
Giga Expert

Ok, found the solution, adding "!important" in background-color will have colors in html page print/preview.

View solution in original post

1 REPLY 1

questsal78
Giga Expert

Ok, found the solution, adding "!important" in background-color will have colors in html page print/preview.