Forum Moderators: not2easy

Message Too Old, No Replies

Force printing of background color

is this poossible?

         

benv

3:05 pm on Aug 23, 2004 (gmt 0)

10+ Year Member



I know, it seems a bit stupid to want that.

Except that I have a div with a logo, green background, and another image, same background, and then some text. The text looks a bit stupid with no background, next to the images.

It would look much better if there was the same background on my page once printed just for that bit of text.

Any ideas?

Thanks

photon

4:59 pm on Aug 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Unfortunately, background printing is a preference on the user's browser. AFAIK, there's no way you can override that.

Adrian2k4

5:47 pm on Aug 23, 2004 (gmt 0)

10+ Year Member



You can define spetial styles for printing:

@media print
{
/* Enter styles for printing here */
}

Try to alter the styles for printing so that your layout looks acceptable. (That's what I did for my page)

benv

8:47 pm on Aug 23, 2004 (gmt 0)

10+ Year Member



I thought so, background printing is not possible. Then I'll have to find another layout for the printing.

thanks anyway

pixelkat

8:46 am on Aug 26, 2004 (gmt 0)

10+ Year Member



HOLD ON! STOP THE PRESSES!

you CAN use printable backgrounds. you just can't use the background-image tag or officially make your images backgrounds.

instead use z-index layering, stacking your content over the image, just not a coded background image!

just keep in mind that most people just don't want to waste the ink on printed web content. when someone forces me to waste ink printing web pages, I get really annoyed. I generally screen capture the pages and remove the background in photoshop before printing them.

if it's serious imaging and professional visuals your visitors are after, you'd have much better success with Adobe Acrobat. I make electronic brochures all the time, and if someone really wants to print full coverage in living color, pdfs print beautifully as pages are already defined. with web pages, fitting content on the page properly is a crap shoot.

hope this helps!
kat