View Full Version : [Solved] background image problem
moisea
12-31-2006, 12:22 AM
hello, i am having trouble displaying my background image, which by the way works fine on IE, but not on FF and Opera where it all shows a white background.
body {
margin:0;
padding:0px 0;
text-align:center;
color:#F0F0EE;
/*background:#3E3F3A; /*DCD9C8*/*/
background-image:url(images/bg_img.jpg)
}
Any ideas on how to fix this please? many thanks.
RedHot5
01-03-2007, 04:05 AM
moisea, I'm having a similar problem with a background-image in CSS. I'm using PNGs for my backgrounds and while it shows up in IE using the alphaimageloader filter for IE it doesn't show up as a plain PNG image in firefox.
What did you do to yours to fix it? I'm hoping it can give me an idea on how to fix my problem.
Thanks
RH5
moisea
01-05-2007, 03:09 PM
hi, i've just deleted this line:
/*background:#3E3F3A; /*DCD9C8*/*/
i don't use png images maybe, if i see a bit of code where u used the bg img line, i might help.
thx.
mburt
01-05-2007, 03:14 PM
That's a comment, it has nothing to do with the actual script. Comments in css are denoted like this: /*comments here*/
mburt
01-05-2007, 03:15 PM
Ah, I just read the original post. You have to put quotes around the bg image:
background-image:url("images/bg_img.jpg")
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.