473,408 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

background-image, what am I overlooking

Hi,

as far as I know this always worked for a simple webpage up till a few
days ago

BODY {
background-color: white;
background-image: url(img/footer.gif);
background-repeat: no-repeat;
background-position: bottom left;
margin: 0px;
padding: 0px;
}
The problem is that MSIE 6 does give the back ground-image but Opera and
Firefox (both latest) don't anymore. Am I missing a semi-colon somewhere
I don't see what is wrong. I did work on CSS but in another area where I
added an image for <ul> bullets (that does work)

ul.stem {
list-style-image: url(img/stemform.gif);
}

tx JP
Dec 16 '05 #1
9 1467
In article <43***********************@text.nova.planet.nl>,
hrschp <no@mail.pl> wrote:
Hi,

as far as I know this always worked for a simple webpage up till a few
days ago


URL?

leo

--
<http://web0.greatbasin.net/~leo/>
Dec 17 '05 #2
Leonard Blaisdell wrote:
In article <43***********************@text.nova.planet.nl>,
hrschp <no@mail.pl> wrote:

Hi,

as far as I know this always worked for a simple webpage up till a few
days ago

URL?

leo

www.lokaal.org
Dec 17 '05 #3
hrschp <no@mail.pl> wrote:
www.lokaal.org


Did you change it? The background image is visible on Firefox 1.0.2.
Well, not on Opera.

The part of the style sheet that sets the background looks simple enough.
I'd suggest that you test by removing CSS rules until the problem vanishes,
to find out what's wrong - or maybe this is just an Opera bug.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Dec 17 '05 #4
Jukka K. Korpela wrote:
hrschp <no@mail.pl> wrote:

www.lokaal.org

Did you change it? The background image is visible on Firefox 1.0.2.
Well, not on Opera.

The part of the style sheet that sets the background looks simple enough.
I'd suggest that you test by removing CSS rules until the problem vanishes,
to find out what's wrong - or maybe this is just an Opera bug.


Thanks for this, Ihave just upgraded both Opera as well as firefox (1.5)
maybe I found a bug ?

JP
Dec 17 '05 #5
hrschp <no@mail.pl> wrote:
as far as I know this always worked for a simple webpage up till a few
days ago

www.lokaal.org


Your body has no height since all it's children are absolutely
positioned.

IIRC something changed in the CSS2.1 proposals with regard to correct
browser behaviour, Opera and recently Firefox have been brought inline
with the new rules.

--
Spartanicus
Dec 17 '05 #6
Spartanicus wrote:
hrschp <no@mail.pl> wrote:

as far as I know this always worked for a simple webpage up till a few
days ago

www.lokaal.org

Your body has no height since all it's children are absolutely
positioned.

IIRC something changed in the CSS2.1 proposals with regard to correct
browser behaviour, Opera and recently Firefox have been brought inline
with the new rules.


Thanks that is indeed where the problem is. The old solution doesn't
work anymore even with providing height parameters to the body (as it
should be at the bottom of pages of different length, it now seems to
end up at minimum height). Would you have a solution using a function
under body as I do now or would I have to put a <div> at every bottom
with a background image? Does this still work with MSIE?

Thanks in advance

JP
Dec 17 '05 #7
hrschp <no@mail.pl> wrote:
www.lokaal.org

Your body has no height since all it's children are absolutely
positioned.

IIRC something changed in the CSS2.1 proposals with regard to correct
browser behaviour, Opera and recently Firefox have been brought inline
with the new rules.


Thanks that is indeed where the problem is. The old solution doesn't
work anymore even with providing height parameters to the body (as it
should be at the bottom of pages of different length, it now seems to
end up at minimum height). Would you have a solution using a function
under body as I do now or would I have to put a <div> at every bottom
with a background image? Does this still work with MSIE?


You can't get it to work as it works in IE, it isn't spec compliant.
Adding a footer div isn't going to help, as it would have to be
absolutely positioned, and you can only position it in relation to the
viewport.

--
Spartanicus
Dec 17 '05 #8
hrschp wrote:

Your body has no height since all it's children are absolutely
positioned.

Thanks that is indeed where the problem is. The old solution doesn't
work anymore even with providing height parameters to the body (as it
should be at the bottom of pages of different length, it now seems to
end up at minimum height). Would you have a solution using a function
under body as I do now or would I have to put a <div> at every bottom
with a background image? Does this still work with MSIE?

You could style <html> with the background image rather than <body>?

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Dec 17 '05 #9
Jim Moe wrote:
hrschp wrote:
Your body has no height since all it's children are absolutely
positioned.


Thanks that is indeed where the problem is. The old solution doesn't
work anymore even with providing height parameters to the body (as it
should be at the bottom of pages of different length, it now seems to
end up at minimum height). Would you have a solution using a function
under body as I do now or would I have to put a <div> at every bottom
with a background image? Does this still work with MSIE?


You could style <html> with the background image rather than <body>?

nope that gives the same problem
Dec 18 '05 #10

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

Similar topics

12
by: Stanimir Stamenkov | last post by:
Here are two cases regarding inline-level elements' line-height, padding and background, which I doesn't understand: <div style="background: black; color: white; line-height: 1.5">...
1
by: CMAR | last post by:
I have a design of a frameless page on my practice website: http://home.ne.rr.com/thespar/designerN.htm The idea is to have a #left navigation bar which is absolutely positioned and which...
3
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
2
by: bissatch | last post by:
Hi, I am running a w3c CSS validation check on a site in development. I have many errors saying that my CSS is not valid because I have not defined the background-color but instead left it...
6
by: Francois Bonzon | last post by:
Any idea how I can launch a background task from a PHP script? For example, when a user posts on my message board, it may fire many e-mail notifications to other users, and other tasks. I want...
0
by: Jeb Hunter | last post by:
Well, how can I describe this succinctly? I have a page with DIVs that us background images to produce a border effect. It works perfectly well, but I want to make up (for now) 3 different...
2
by: darkpowrjd | last post by:
I've been trying to create a new navigation system for my site, and I got everything figured out except for one thing. Here is the CSS code I'm using right now: body { font: normal 10px Verdana,...
8
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
7
by: arupfrancis | last post by:
Hi, I am trying to create a colored box using background images. I am able to do it easily using tables but doing it in divs is proving to be an issue. Moreover IE and Mozilla also seems to be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
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,...
0
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,...
0
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...
0
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,...
0
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...

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.