473,770 Members | 5,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firefox print background image bug?

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.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitl ed Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<style>
#masthead{
margin:0 0 0 0;
padding:0 0 0 0;
background:#006 633 url(images/secondary_mast. jpg) no-repeat center;
height:150px;
}
</style>
</head>
<body>
<div id="masthead">& nbsp;</div>
</body>
</html>

Jul 21 '05 #1
21 11003
"ye*****@gmail. com" <ye*****@gmail. com> wrote:
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?
Is "shrink to fit page width ticked" in FF's print prefs? You do know
that printing of bg images is disabled in most browsers, thus you can't
rely on it working for clients.
<--------------------------MY CODE----------------------------->


Please don't post code in the group, provide an url.

--
Spartanicus
Jul 21 '05 #2
I apologize for posting the code. I didn't know. Yes I realize that it
is disabled in most browsers. I have opted to turn printing of
background images on. Also, I have shrink to fit page width ticked in
FF also.

Jul 21 '05 #3
"Wile E." <ye*****@gmail. com> wrote:
I have shrink to fit page width ticked in
FF also.


Did you try it without?

--
Spartanicus
Jul 21 '05 #4
yes i have.

Jul 21 '05 #5
"Wile E." <ye*****@gmail. com> wrote:
yes i have.


You have what? The posting convention for this group is to use an
attribute line that states who you are responding to, below it you quote
small relevant bits of text and you put your reply beneath it.

Back to your problem, still no url that would allow us to check the
problem you are having.

--
Spartanicus
Jul 21 '05 #6
I'm sorry. Why must you keep informing me of the conventions for this
group? Maybe if you would direct me to a "read me first" or "rules for
this group" I would know all about the conventions and rules.
To the problem at hand...

http://learn.wisconsin.edu/testyer/

Jul 21 '05 #7
"Wile E." <ye*****@gmail. com> wrote:
I'm sorry. Why must you keep informing me of the conventions for this
group?


Because you want help no?

--
Spartanicus
Jul 21 '05 #8
"Wile E." <ye*****@gmail. com> wrote:
http://learn.wisconsin.edu/testyer/


I've had it with those Google group posters, adding "X-Complaints-To:
gr**********@go ogle.com" to my kill file.

--
Spartanicus
Jul 21 '05 #10

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

Similar topics

1
2031
by: Dan V. | last post by:
Does anyone know why the header looks correct in IE 6.0 and not Firefox 1.07? I am trying to have a header that looks good when you expand it wider and smaller. In other words when you shrink the window narrower than the main header image it does not wrap, and when you expand the window wider than the main banner image the corner and background image expand to the size. It has one large image about 500 pix wide, a right corner that is...
21
62857
by: tradmusic.com | last post by:
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.
24
3782
by: TC | last post by:
Hi folks I want to enhance my website to distinguish "external" hyperlinks from "internal" ones. With that aim, I've written the following two small files for testing purposes: C:\styles.css:
2
22070
by: Mark | last post by:
IE creates an object of every ID'd HTML tag (so it appears), and each object sets a property for any parameter I set in the tag. For example, my HTML might be: <td id='cell1' background='myimg.jpg' width='30'... </tdwhich IE will use to create a Javascript object called 'cell1' with properties of background and width, like so: cell1.background would have a value of 'myimg.jpg' and cell1.width would have a value of 30. I can change the...
1
3190
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...
3
1856
by: vps | last post by:
Please tell me how I center a background image in Firefox (2.0.0.7)? The following code places any image in the top part of the browser: body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px;
2
11742
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
3
2876
by: ramesh1210 | last post by:
Hi all, Actually my requirement is to place an image in the text box and it should stand over the data in the text box. And i made it as ------------------------------------------------------------------------------------------ <html> <head> <style> .formlabel
1
2428
oranoos3000
by: oranoos3000 | last post by:
hi i'd like to set background-image of submit button to a picture with gif extension i set style="background-color:url(images/back.gif)" in input tag with this work this button in firefox is shown correctly but in internet explorer incorrect later set value attribute to " " so that this button is shown correctly in ie browser with this work button is shown in ie correctly but in firefox is shown repeated what do i so that...
0
9432
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,...
0
10232
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...
1
10008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9873
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...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5313
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
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3974
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
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.