By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,767 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,767 IT Pros & Developers. It's quick & easy.

background image not display in print preview

100+
P: 115
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
Share this Question
Share on Google+
2 Replies


acoder
Expert Mod 15k+
P: 16,027
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

P: 1
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.