skydive74 Posted August 2, 2010 Posted August 2, 2010 Hi, this is my first post. I'm a first time user of osCommerce. I'm moderately familiar with websites and HTML codes, but it's my first experience with PHP. I've follow the flash tutorial with much success. The only part that's troubling me now is using a background image. I've tried using the line- background-image: url(/images/header_bg.jpg); in various sections of stylesheet.ccs file like this: BODY { /*background: #ffffff; */ background-image: url(/images/header_bg.jpg); color: #000000; margin: 0px; ... and I cannot get the background image to show in any box no matter what I try. The permission on my /image folder was 705 and I've tried changing it to 755 with no success. All the other images from the same folder are displaying fine on the website with either permission setting. What do I need to do??!!? Thanks, Troubled :( Quote
skydive74 Posted August 2, 2010 Author Posted August 2, 2010 BTW, I've also tried using the absolute path of the server, but according to my research, that doesn't seems to be important and should work both ways? Quote
skydive74 Posted August 2, 2010 Author Posted August 2, 2010 BODY { background: url(images/header_bg.jpg) #fff; color: #000000; margin: 0px; } Tried and didn't work. What does the #fff do? Thanks. Quote
skydive74 Posted August 2, 2010 Author Posted August 2, 2010 I got it! It WAS the path after all. I didn't install it in root so should be: background-image: url(/catalog/images/header_bg.jpg); Thanks a lot for your help anyways, burt! :) I think #fff sets the color for something? Or infinite repeat of the background? No idea, haha. Quote
skydive74 Posted August 3, 2010 Author Posted August 3, 2010 Thanks a lot burt, looks that website has a wealth of information. It should be great help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.