BG images in firefox

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm trying to use CSS to specify a Background image for a table cell using
the following code:

<td colspan="3" class="mainlogo">
<blockquote class="style2">
        <p class="head">Florida Homes 1st
        <p class="head"><span class="hdsmall">new and used properties in
          and the Gulf From Abbey Global - we care about you. </span>

and the CSS :

  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?



Re: BG images in firefox

Paul Watt wrote:

Quoted text here. Click to load it

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.


Re: BG images in firefox

Quoted text here. Click to load it

Cheers Steve, that did the trick.

Site Timeline