javascript - CSS/HTML Print Background Images/Styles without Browser Page setup tweaking -


Is there any way to print, when a user prints the page?

  & lt; Div id = "test" style = "background: # 000000; color: #fffff" & gt; Black Strip & lt; / Div & gt;  

I'm trying to create a page with line striping in the printout as it appears on the screen. When they go to print, it definitely leaves the background, apart from being told about each user to enable print background in their browser, whether to do so via CSS / HTML or Javascript Can program program be done?

No, it is entirely up to browser settings that you do not change with JavaScript or CSS Can.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -