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 5 3850
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
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
"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
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
Thanks to all that replied. :)
Regards,
Peter This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andreas Volz |
last post by:
Hi,
I used SGMLParser to parse all href's in a html file. Now I need to cut
some strings. For example:
http://www.example.com/dir/example.html
Now I like to cut the string, so that only...
|
by: navavil |
last post by:
Hi
I used some css class in my web page for graphic design (with url),
now when I am sending the page to printer all the background images are gone )-:
?
10x
|
by: Roberto |
last post by:
Hallo,
I'm building a page that wants to respect XHTML 1.0 strict and CSS2
specifics. In this page I have to present thumbnails arranged to cover the
entire width of the window, but there are...
|
by: Sugapablo |
last post by:
I'm using the following code to generate images:
strFile = Request.QueryString("id")
FPath = "c:\docs\" & strFile
Set adoStream = Server.CreateObject("ADODB.Stream")
adoStream.Open()...
|
by: marwa mohamed |
last post by:
salamo alikom hi all
when i run report that includes image control linked to a field in the
table that contains the image path(on the server)and the record source
of the report contains over 30...
|
by: NASAdude |
last post by:
I'm working on a report that shows a lot of data, so I've set it up so
it is 2-pages wide in landscape view for each record. ie: The report
is 22" wide (less margins). On the left page there are...
|
by: moondaddy |
last post by:
I have an application where I need to print images where the size has been
reduced down to a fraction of a thumbnail and the original image is several
inches high and wide. We're using a special...
|
by: phil-news-nospam |
last post by:
Why does SVG need a different tag than other images?
IMHO, SVG should be implemented as an image type just like any other image
type, allowing it to work with <img> tags, and ... here is the...
|
by: Xah Lee |
last post by:
The following is a program to generate thumbnail images for a website.
Useful, if you want to do that.
It is used to generate the thumbnails for my âBanners, Damsels, and
Moresâ project...
|
by: mishrarajesh44 |
last post by:
hii all,
I am facing a problem currently..
i have a script for image uploading and resizing..
the image uploading takes place properly for every size images..
but, the resizing works for...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
| |