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

Images don't print

P: n/a
Apologies for posting code (I'll try to keep it brief).
I have the following CSS:

li
{
display:block;
background-image:url(screengray.gif);
padding:3px;
margin:1px 0;
list-style-type: none;
}
li span
{
background: url(square.bmp) no-repeat 0 4px;
padding-left: 15px;
}

When combined with the HTML below, it displays a semi-transparent gray
background, with an image to the left of the text. However, when I print,
the gray background image and the image to the left of the text are not
printed. Any idea why? Here's the HTML code fragment:

<ul>
<li><span>an item</span></li>
<li><span>another item</span></li>
</ul>

Thanks,
Peter Foti
Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Peter Foti schrieb:
When combined with the HTML below, it displays a semi-transparent gray
background, with an image to the left of the text. However, when I print,
the gray background image and the image to the left of the text are not
printed. Any idea why?


The browser has an option that enables/disables background image
printing. It saves ink.
Matthias
Jul 20 '05 #2

P: n/a
Hi,

Peter Foti wrote:
When combined with the HTML below, it displays a semi-transparent gray
background, with an image to the left of the text. However, when I print,
the gray background image and the image to the left of the text are not
printed. Any idea why?

most browser let the user choose whether they want to include background
colours and/or images in printings. This option is disabled per default,
probably to work with heavily colourized web-pages without print media
stylesheets.

regards
-- jochen

Jul 20 '05 #3

P: n/a
"Peter Foti" <pe****@systolicnetworks.com> skrev :
When combined with the HTML below, it displays a semi-transparent gray
background, with an image to the left of the text. However, when I print,
the gray background image and the image to the left of the text are not
printed. Any idea why?


You have to set your browser to print background images.
--
Knud
Jul 20 '05 #4

P: n/a
On Tue, 18 Nov 2003 15:55:02 -0500, Peter Foti
<pe****@systolicnetworks.com> wrote:
When combined with the HTML below, it displays a semi-transparent gray
background, with an image to the left of the text. However, when I
print,
the gray background image and the image to the left of the text are not
printed. Any idea why?


Most likely because the browser you are using are set up NOT to print
background images.

In Internet Explorer:

Tools | Internet Options | Advanced | Printing (quite a bit down on the
list)

--
Ole Kristian Bangås
Jul 20 '05 #5

P: n/a
Thanks to all that replied. :)

Regards,
Peter
Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.