HighDots Forums  

Images don't print

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Images don't print in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter Foti
 
Posts: n/a

Default Images don't print - 11-18-2003 , 02:55 PM






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



Reply With Quote
  #2  
Old   
Matthias Gutfeldt
 
Posts: n/a

Default Re: Images don't print - 11-18-2003 , 03:10 PM






Peter Foti schrieb:
Quote:
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


Reply With Quote
  #3  
Old   
Jochen Eisinger
 
Posts: n/a

Default Re: Images don't print - 11-18-2003 , 03:11 PM



Hi,

Peter Foti wrote:
Quote:
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



Reply With Quote
  #4  
Old   
Knud Gert Ellentoft
 
Posts: n/a

Default Re: Images don't print - 11-18-2003 , 03:13 PM



"Peter Foti" <peterf (AT) systolicnetworks (DOT) com> skrev :

Quote:
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


Reply With Quote
  #5  
Old   
Peter Foti
 
Posts: n/a

Default Re: Images don't print - 11-18-2003 , 03:39 PM



Thanks to all that replied.

Regards,
Peter



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.