Re: BG images in firefox




"Steve Pugh" <steve@xxxxxxxx> wrote in message
news:1128090664.052293.103620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Paul Watt wrote:
>
>> I'm trying to use CSS to specify a Background image for a
>> table cell using the following code:
>>
>> td.mainlogo{
>> background-image: url(img/bg_header.gif);
>> background-position: center;
>> background-repeat: no-repeat;
>> background-attachment: fixed;
>> }
>>
>> It works in IE but in Firefox the image doesnt display. Any ideas?
>
> Have you read the CSS spec for the background-attachment property? In
> paticular the part where it tells you what 'fixed' backgrounds are
> fixed to?
>
> IE incorrectly displays the background in the wrong position.
>
> Firefox displays it correctly - I bet that if you scroll the page so
> that the table cell in question is right at the top of the screen then
> the background will show up.
>
> Steve
>

Cheers Steve, that did the trick.


.



Relevant Pages

  • Re: BG images in firefox
    ... Have you read the CSS spec for the background-attachment property? ... Firefox displays it correctly - I bet that if you scroll the page so ... that the table cell in question is right at the top of the screen then ...
    (alt.html)
  • Re: Background and/or Layers
    ... Use CSS to control the repeating of the background image: ... > To Rob and Steve, ... Is that a different type of cell? ...
    (microsoft.public.frontpage.client)
  • Re: Background and/or Layers
    ... To Rob and Steve, ... The problem with making it a background image ... is it repeats itself instead of being one banner. ... Is that a different type of cell? ...
    (microsoft.public.frontpage.client)
  • BG images in firefox
    ... I'm trying to use CSS to specify a Background image for a table cell using ... Orlando ...
    (alt.html)
  • Re: line grid
    ... > How can I fill a table cell with a blue line grid using CSS? ... Background image. ...
    (comp.infosystems.www.authoring.stylesheets)