473,785 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to force print of CSS background image?

Hi,

We have the following in our stylesheet, which acts as a page header:

#homepageheader { left: 0px; top: 0px; right: 0px; height: 183px;
background-image: url(graphics/header-salmoninbucket. jpg);
background-repeat: no-repeat; background-color: #B6C7B6; }

When you print, however, this doesn't appear.

Is there any way to force the print?

Thanks
Nath.
Mar 8 '06
21 62859
On Wed, 08 Mar 2006 20:56:46 GMT, "Beauregard T. Shagnasty"
<a.*********@ex ample.invalid> wrote:
open the front cover and begin reading there?
the back cover and end up at the front or do you
chapter one or do you start somewhere near
When reading a book, do you start at


inflict my preference on others.
news and I was just putting it off. But I wouldn't
Maybe it was because the front page was mostly bad
I read newspapers. I really don't know why.
Actually for quite a few years this was just how

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Mar 8 '06 #11
On Wed, 8 Mar 2006, Beauregard T. Shagnasty wrote:
tradmusic.com wrote:
What a prat.


<lol>

While we're at it, haven't you noticed that you are the only one
top-posting in this thread?


It's a bit late to start worrying about that, after the prat has made
a fast-track application for killfile membership.
Mar 8 '06 #12
What the? :o(
Lost me completely.

Nath.

"Beauregard T. Shagnasty" <a.*********@ex ample.invalid> wrote in message
news:iy******** ************@bg tnsc05-news.ops.worldn et.att.net...
tradmusic.com wrote:
What a prat.


<lol>

While we're at it, haven't you noticed that you are the only one
top-posting in this thread? Please feel free to make use of the PageDown
key before beginning your reply.

open the front cover and begin reading there?
the back cover and end up at the front or do you
chapter one or do you start somewhere near
When reading a book, do you start at

http://oakroadsystems.com/genl/unice.htm#upside

--
-bts
-Warning: I brake for lawn deer

Mar 8 '06 #13
tradmusic.com wrote:
How terribly grown up of you Harlan.

I don't want to force anyone to print anything, to display images when they
don't want them OR to play loud music! What on earth are you talking about?

"IF" they decide to print a page I would like the header image to appear. If
you'd read the post, instead of jumping in with your childish attitude, you
would have realised that.

Or perhaps this is too complex for you? I guess so.


What's too complex? You asked how to make a background image print when
the user has his browser configured not to print it. Of course I
understand that the circumstance you are discussing is one where the
user has decided to *print your page*. The whole point of that browser
setting, though, is that *when your user prints*, he *doesn't* want the
background to be printed. (Do you know why this setting exists? It's
because (a) a background that may work fine on the screen may work
terribly on paper, and (b) it's a terrible waste of ink.)

But you're seeking a way to override your user's preference as to how
his system should function, just as you would be if you wanted to cause
loud music to play even though the user has the volume turned off. I'm
sorry that the analogies I offered eluded you. The bottom line is that
you're the one who seems to be having trouble grasping the key concept
here--of respecting your user's wishes. How grown up is that?
Mar 8 '06 #14
tradmusic.com wrote:
What the? :o(
Lost me completely.

Nath.
He means (1)
"Beauregard T. Shagnasty" <a.*********@ex ample.invalid> wrote in message
news:iy******** ************@bg tnsc05-news.ops.worldn et.att.net...
tradmusic.c om wrote:

What a prat.

for someone reading a message to figure out what order (3)<lol>

While we're at it, haven't you noticed that you are the only one
top-posting in this thread? Please feel free to make use of the PageDown
key before beginning your reply.

that it's difficult (2)
open the front cover and begin reading there?
the back cover and end up at the front or do you
chapter one or do you start somewhere near
When reading a book, do you start at
everything was said if some people (such as yourself) insist on posting
at the top instead
of underneath the pertinent existing text. (4)
http://oakroadsystems.com/genl/unice.htm#upside

--
-bts
-Warning: I brake for lawn deer


Mar 8 '06 #15
<unsubscribe>
"Harlan Messinger" <hm************ *******@comcast .net> wrote in message
news:47******** ****@individual .net...
tradmusic.com wrote:
How terribly grown up of you Harlan.

I don't want to force anyone to print anything, to display images when
they don't want them OR to play loud music! What on earth are you
talking about?

"IF" they decide to print a page I would like the header image to appear.
If you'd read the post, instead of jumping in with your childish
attitude, you would have realised that.

Or perhaps this is too complex for you? I guess so.


What's too complex? You asked how to make a background image print when
the user has his browser configured not to print it. Of course I
understand that the circumstance you are discussing is one where the user
has decided to *print your page*. The whole point of that browser setting,
though, is that *when your user prints*, he *doesn't* want the background
to be printed. (Do you know why this setting exists? It's because (a) a
background that may work fine on the screen may work terribly on paper,
and (b) it's a terrible waste of ink.)

But you're seeking a way to override your user's preference as to how his
system should function, just as you would be if you wanted to cause loud
music to play even though the user has the volume turned off. I'm sorry
that the analogies I offered eluded you. The bottom line is that you're
the one who seems to be having trouble grasping the key concept here--of
respecting your user's wishes. How grown up is that?

Mar 9 '06 #16
Fig
On Thu, 09 Mar 2006 00:42:33 -0000, tradmusic.com
<sa***@NOSHPAMt radmusic.com> wrote:
<unsubscribe>

I don't normally join in these ... but ...

<good riddance>

effin top-posting, stubborn, not-getting-it plonker!
Harlan, hope you have tough skin. Your analogies were spot-on. Feel good
about yourself.

--
Fig
Mar 9 '06 #17
Oh god, another one...jeez.

"Fig" <me@privacy.net > wrote in message news:op.s54ikoo lm4iaeb@dell...
On Thu, 09 Mar 2006 00:42:33 -0000, tradmusic.com
<sa***@NOSHPAMt radmusic.com> wrote:
<unsubscribe>

I don't normally join in these ... but ...

<good riddance>

effin top-posting, stubborn, not-getting-it plonker!
Harlan, hope you have tough skin. Your analogies were spot-on. Feel good
about yourself.

--
Fig

Mar 9 '06 #18
Fig
On Thu, 09 Mar 2006 02:13:37 -0000, tradmusic.com
<sa***@NOSHPAMt radmusic.com> wrote:


"Fig" <me@privacy.net > wrote in message news:op.s54ikoo lm4iaeb@dell...
On Thu, 09 Mar 2006 00:42:33 -0000, tradmusic.com
<sa***@NOSHPAMt radmusic.com> wrote:
<unsubscribe>

I don't normally join in these ... but ...

<good riddance>

effin top-posting, stubborn, not-getting-it plonker!
Harlan, hope you have tough skin. Your analogies were spot-on. Feel good
about yourself.

Oh god, another one...jeez.


Thought you had gone, but just in case ...

<plonk>

byeeeeeeeeeeeee ee :)

--
Fig
Mar 9 '06 #19
tradmusic.com wrote:
[top-posting corrected]
"Fig" <me@privacy.net > wrote in message news:op.s54ikoo lm4iaeb@dell...
On Thu, 09 Mar 2006 00:42:33 -0000, tradmusic.com
<sa***@NOSHPAMt radmusic.com> wrote:
<unsubscribe>

Wow. You were easy!
I don't normally join in these ... but ...

<good riddance>

effin top-posting, stubborn, not-getting-it plonker!
Harlan, hope you have tough skin. Your analogies were spot-on. Feel good
about yourself.


Oh god, another one...jeez.


So, trad ... you like being the odd man out, right?

There is another analogy using apples. :-)

--
-bts
-Warning: I brake for lawn deer
Mar 9 '06 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3628
by: Peter Foti | last post by:
I have seen lots of examples where some HTML text is replaced with a background image using CSS. For example, replacing the text of an <h1> with a graphical logo, like so: CSS: h1 span { display: none; } h1 { height: 100px; background: url("mycompany.gif") no-repeat 35px 40px; } HTML: <h1><span>My Company</span></h1>
21
11004
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">...
1
3308
by: RJ | last post by:
Hello! I am trying to lay out a left navigation column with a background image, where the left nav column runs the entire scrolled height/length of the page. The float:left column layout works fine, but the background image doesn't continue downward in this column below the links. I tried this in FireFox 1.0.7 and IE6, but this image stops where the last link stops. I want the background all the way to the bottom. How can I force...
7
5129
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css ..navbar-background { background-image: url(images/menubar.gif); } the image is not appearing on the page. It seems that IE is picking
1
3193
by: dpowc | last post by:
How do I print a background image? I read another article that says as long as print background becomes a default for IE settings, we need to "cheat" a little to print a site as close to what we see on the browser. So we created a "false" image of the background image, kept it from being displayed on site, but on the print sheet, calls for the "false image" Problem is i have a big gap between the "False" image and the next line. How do I solve...
2
11756
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
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10162
jinu1996
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...
0
9959
tracyyun
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...
0
8988
agi2029
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...
0
5396
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...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
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
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.