Computing.Net > Forums > Web Development > print html background

print html background

Reply to Message Icon

Original Message
Name: EADM
Date: February 11, 2006 at 03:40:18 Pacific
Subject: print html background
OS: winXP
CPU/Ram: 512
Comment:

hi all

I am working in a web page and I want the background color to be visible in printing ,the problem is when I click print the background returns white.

any one can help?

EADM


Report Offensive Message For Removal

Response Number 1
Name: Tautitan
Date: February 11, 2006 at 06:46:11 Pacific
Subject: print html background
Reply: (edit)

Here is a link that may help you.

http://www.frenchspot.com/WebTips/PrintColor/printcolor.html

Matt

matt@webgrafix.co.uk


Report Offensive Follow Up For Removal

Response Number 2
Name: EADM
Date: February 12, 2006 at 10:27:35 Pacific
Subject: print html background
Reply: (edit)

as a programmer , I want the background to be printed for every viewer of my page even if he didnt choose to print the background and I saw this link befor.


thanks any way

EADM


Report Offensive Follow Up For Removal

Response Number 3
Name: Tautitan
Date: February 12, 2006 at 11:31:41 Pacific
Subject: print html background
Reply: (edit)

If the background colour of the page isnt absolutely vital to displaying the data on the page, as in the link above, you should not force people to print the background of the page because they may be using a black and white printer or their colours may not display as they are on the actual webpage. However, if you really want to display a background colour for your web page the only other way i can think to do it is to use an actual image the same size as your page and set the z-index to be lower than everything else on your page.

Matt

matt@webgrafix.co.uk


Report Offensive Follow Up For Removal

Response Number 4
Name: EADM
Date: March 18, 2006 at 06:25:05 Pacific
Subject: print html background
Reply: (edit)

it is my page and I dont want any body to print from it so I used to use this way

EADM


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: print html background

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software