AntonyRayan 15 Posting Whiz in Training 9 Years Ago Hi, While printing , the color what I gave in the box , is not coming while printing. How to fix the color javascript-jquery mysql 0 0 Share cereal 1,524 Nearly a Senior Poster Featured Poster 9 Years Ago Hi, how did you applied the color to the box? Stylesheets? And if affirmative, did you used a media print stylesheet? For example: Copy to Clipboard<link rel="stylesheet" href="/styles/print.css" media="print"> And: are you sure the print is not preset to grayscale? 0 0 Share AntonyRayan 15 Posting Whiz in Training 9 Years Ago What is the use of this link? 0 0 Share cereal 1,524 Nearly a Senior Poster Featured Poster 9 Years Ago It's used to load an external resource, in this case a stylesheet with specific rules for a printer version of the HTML page, check: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link https://www.smashingmagazine.com/2011/11/how-to-set-up-a-print-style-sheet/ The above is almost equivalent to: Copy to Clipboard<style> @import '/styles/print.css' print; </style> 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
cereal 1,524 Nearly a Senior Poster Featured Poster 9 Years Ago Hi, how did you applied the color to the box? Stylesheets? And if affirmative, did you used a media print stylesheet? For example: Copy to Clipboard<link rel="stylesheet" href="/styles/print.css" media="print"> And: are you sure the print is not preset to grayscale? 0 0 Share
cereal 1,524 Nearly a Senior Poster Featured Poster 9 Years Ago It's used to load an external resource, in this case a stylesheet with specific rules for a printer version of the HTML page, check: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link https://www.smashingmagazine.com/2011/11/how-to-set-up-a-print-style-sheet/ The above is almost equivalent to: Copy to Clipboard<style> @import '/styles/print.css' print; </style> 0 0 Share