468,238 Members | 1,683 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,238 developers. It's quick & easy.

background image not display in print preview

115 100+
hi

i have create one html file. That file contains background image . but print preview time not display . i am go to tools -> internet options-> advanced options -> printing -> print background colors and images - checkbox enabled
that time only appear background image

my client donot that step

i want default background image with print out

my code start here
[html]
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style>
body {
background-image: url("img/logo_white.JPG");
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
</style>
</HEAD>

<BODY>
hi how are u?
</BODY>
</HTML>
[/html]

my code end here


pls response immd

Thanks
Yogarajan.G
Feb 28 '08 #1
2 9186
acoder
16,027 Expert Mod 8TB
The default option is there for a reason. The user wouldn't want to print a full page with a background. For those that do, they can change the options for themselves. This shouldn't be possible to change by the developer and isn't.
Jul 16 '08 #2
To give you a helpful response instead of lecturing you, you would have to put the images in the content as img tags in order for them to show up in print by default. You can then position the img as fixed.
Aug 25 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Scott | last post: by
16 posts views Thread by J. B. Moreno | last post: by
21 posts views Thread by tradmusic.com | last post: by
18 posts views Thread by LayneMitch | last post: by
2 posts views Thread by Tim Streater | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.