Forum Moderators: not2easy

Message Too Old, No Replies

background-image in firefox problems

Can't get Firefox to display the background image of a class, when IE can

         

richwild

1:42 pm on Aug 24, 2005 (gmt 0)

10+ Year Member



Hi guys, I've got a really frustrating problem that I'm sure is just me being tired and not being able to see the wood for the trees...

[snip]

now in IE6 the background image for the LHS nav is working fine (line 107 in the html), but can I get it to display in forefox 1.0.6? nope.

Here's the CSS:

.bglhs {background: url(../images/bglhs.gif) no-repeat fixed;}

I've tried using full absolute paths to the gif, top level relative paths, moving the style to the containing table, changing the doctype.

Is there anything glaring that I'm mucking up on here?

Many thanks!

[edit: no urls, please. See CSS Forum Charter [webmasterworld.com] for details.]

[edited by: createErrorMsg at 2:28 pm (utc) on Aug. 24, 2005]

4css

2:07 pm on Aug 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Richwild, welcome to webmasterworld.
First according to the TOS and the Form Charter [webmasterworld.com] you will need to remove your url. Then post a bit more of your css and html/xhtml as stated in the TOS.

Also, if you have not done so yet, please validate both your styles and your xhtml/html. It could be that you have a tiny error somewhere.

Also, it is possible that the problem could be above the style that you have now. This is why it is necessary to post a bit of the code and styles.

Hope this helps you out!
4~CSS