Laserhead Posted July 16, 2004 Posted July 16, 2004 How can I get a background image to work with osCommerce? I have background images show on my regular website when viewing it with Mozilla, Firefox, Opera and IE. But only IE shows the background image when viewing the oscommerce pages. How can I get the image to show up in non IE browsers? Thanks in advance http://www.roguedawg.com/armory/index.php
Guest Posted July 16, 2004 Posted July 16, 2004 Try to include the background= statement in your regular body tag in index.php instead of a totally separate body tag. I don't think you're supposed to have 2 body tags, but IE is pretty lax with stuff like that. -jared
Laserhead Posted July 16, 2004 Author Posted July 16, 2004 Thanks for the quick reply ( and page exam) I found my problem in a old post here My mistake was in the css stylesheet. I wrote: background image: url(images/woodlandcamo.jpg); where it should have a hyphen after background. background-image: url(images/woodlandcamo.jpg); BODY { scrollbar-face-color: #32352a; scrollbar-highlight-color: #535747; scrollbar-3dlight-color: #535747; scrollbar-shadow-color: #000000; scrollbar-arrow-color: #999999; scrollbar-track-color: #292925; background: #333333; background-image: url(images/woodlandcamo.jpg); background-attachment: fixed; color: #00cc00; margin: 0px; /* cursor*/ cursor: url(scope.cur); } Now I just have to get my textareas and fields do display the same background. one thing at a time :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.