Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

background-image, what am I overlooking
 

hrschp




quote this post edit post

IP Loged report this post

Old Post  12-17-05 - 12:56 AM  
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


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

Leonard Blaisdell




quote this post edit post

IP Loged report this post

Old Post  12-17-05 - 03:43 AM  
In article <43a33c57$0$10081$ba620dc5@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/>


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

hrschp




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
Leonard Blaisdell wrote:
> In article <43a33c57$0$10081$ba620dc5@text.nova.planet.nl>,
>  hrschp <no@mail.pl> wrote:
>
> 
>
>
> URL?
>
> leo
>
www.lokaal.org


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

Jukka K. Korpela




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
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/


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

hrschp




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
Jukka K. Korpela wrote:
> hrschp <no@mail.pl> wrote:
>
> 
>
>
> 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


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

Spartanicus




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
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.

--
Spartanicus


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

hrschp




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
Spartanicus wrote:
> hrschp <no@mail.pl> wrote:
>
> 
>
>
> 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


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

Spartanicus




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
hrschp <no@mail.pl> wrote:
 
>
>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


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

Jim Moe




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 03:38 AM  
hrschp wrote: 
> 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)


Post Follow-Up to this message ]
Re: background-image, what am I overlooking
 

hrschp




quote this post edit post

IP Loged report this post

Old Post  12-18-05 - 08:26 AM  
Jim Moe wrote:
> hrschp wrote:
> 
>
>   You could style <html> with the background image rather than <body>?
>
nope that gives the  same problem


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 02:21 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top