Hi I am Doni Agna Lourdu.
Can any one tell me "How can I print all Web Content"
But I know To print background images, open "Tools" menu in Internet Explorer, select "Internet Options", switch to "Advanced" tab and enable "Print background colors and images" in "Printing" section.
But I dont want this beacuse it is browser compatable. I need a code for print whole content when I click print.
Plz help me
Looking for favorable reply
with regards,
Doni Agna Lourdu
2 2010 Frinavale 9,735
Recognized Expert Moderator Expert
Hi I am Doni Agna Lourdu.
Can any one tell me "How can I print all Web Content"
But I know To print background images, open "Tools" menu in Internet Explorer, select "Internet Options", switch to "Advanced" tab and enable "Print background colors and images" in "Printing" section.
But I dont want this beacuse it is browser compatable. I need a code for print whole content when I click print.
Plz help me
Looking for favorable reply
with regards,
Doni Agna Lourdu
Leave it up to the users to decide if they want to print the background image.
There is only so much you can do with Printing Css to format what is printed but anything regarding browser settings will be out of your hands. The reason is that most browsers won't let you programmaticall y adjust printing settings.
-Frinny
I have search for the solution , in css .
And I haven't find any suggestion on the different threads.
So After some tests, I want to post my css thrick.
First, we will use the list-item display, cause the browser let you print any list image ;)
And now you can imagine the css thrick : - display:list-item;
-
list-style-image:url('images/print/myImage.png');
-
list-style-position: inside;
An yeahhhhhh it works :)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: RoDzZzZ |
last post by:
when i try print (ctrl +p) my webpage, my printer not print the backgrounds
and bgcolors of my tables....
what i need make to show the backgrounds and bgcolors in my paper when the
user print the page?
thankzzz
|
by: Felix Natter |
last post by:
hi,
is there a way (html/css/javascript) to force IE to print
background-colors exactly as specified in html/stylesheets?
I tried to use @media print { ... } to override IE's "print background
colors + images" option, but it doesn't work. Any other idea?
I'd like to avoid relying on the user for setting this option.
|
by: Neal |
last post by:
According to the CSS lint at http://htmlhelp.org/tools/csscheck/, "The
shorthand background property is more widely supported than
background-color." Can anyone point me to, or provide, information on what
browsers have difficulty with the non-shortcut methods of setting
background properties?
|
by: Lee K. Seitz |
last post by:
I have a set of pages with a special stylesheet used to override some
styles for printing. One of the things I've tried to do is reverse
the colors of my navigation. On the screen, I have a black background
and the navigation is red on yellow. For print, I (obviously) have a
white background and wanted the navigation to be reversed (yellow on
red) for better clarity.
I've done print preview in IE 6, Opera 7.5, and Netscape 7.1 (all...
|
by: la_haine |
last post by:
Hi,
A website I work on has a print stylesheet to strip navigation and things out
of a page, and changes the fonts and various bits and pieces here and there.
What I'd also like is something small (a footer, perhaps) that says something
along the lines of 'you are viewing a printed version of , available
at '. I know I can do this by just adding the content and using display:
none for the screen CSS, but then it becomes visible in text...
| |
by: Wim van Iersel |
last post by:
I hope somebody knows what I´m doing wrong here
I have a page with two stylesheets:
- default.css media="screen, print"
http://www.tilburg.nl/development/stylesheets/default2.css
- print.css media="print"
http://www.tilburg.nl/development/stylesheets/print.css
In the print.css I reset the background-image, background-color,
|
by: yer.lys |
last post by:
When I print my web page the background image shrinks severly when I
print from Firefox, but when I print in IE it cuts it like I would
expect it to. Is this a bug or is there a mistake in my code somewhere?
<--------------------------MY CODE----------------------------->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">...
|
by: yogarajan |
last post by:
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
|
by: shapper |
last post by:
Hello,
How can add a background color to each table cell in a table header
and also add a small image on the bottom right corner of each of those
cells?
Thanks,
Miguel
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |