The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Problem with Category pages back ground color/image
Author Message
Reply with quote
Post Problem with Category pages back ground color/image 
Here's what I got. Basically, I have pages which link to categorys via Iframes. The problem resides within viewing these pages with Internet Explorer. The backgournd of the page is white, but the table is pulling the correct background image.

I have included a link:

http://washingtonnuthouse.com/basket.html

This carries on for all the pages, but displays properly in Firefox. I have been fighting this battle with the Iframes, the CSS, etc. Now i am just looking for advice.

Here is a segment out of my StylesCSS in the main directory:

body{
background-image:url(wnh-back.jpg);
/ * background : #FFFFFF;*/
color: #000000;
margin: 0px;
padding: 0px;
font-size : 10pt;
font-family: Arial, Helvetica, sans-serif;
min-width: 600px;
/* Internet Explorer doesn't accept min-width therefore we
use the following Dynamic Expression to set the width */
width:expression(document.body.clientWidth < 850 ? "770px" : "100%" );

I have tried even changing to background color, for example red, and it still displays WHITE....

ANy ideas?

View user's profile Send private message
Reply with quote
Post  
Correct coding for CSS background color would be:
Code:
body{
background-image: url(wnh-back.jpg);
background-color: #FF0000;
color: #000000;
margin: 0px;
padding: 0px;
font-size : 10pt;
font-family: Arial, Helvetica, sans-serif;
min-width: 600px;
/* Internet Explorer doesn't accept min-width therefore we
use the following Dynamic Expression to set the width */
width:expression(document.body.clientWidth < 850 ? "770px" : "100%" );
}


HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post Well well well 
The background-color worked, turned the white space red. However, if I a void out the color line and want to rely on the background-image... it doesn't work - the white space is back. I have that image file present in all kinds of directorys, do you know which one specifically it is looking for it in???

Thanks again!

View user's profile Send private message
Reply with quote
Post  
The background image location needs to be in relation to the CSS stylesheet's location.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post Odd, it was 
Well, It was in the same spot as the stylesheet, but I did find a work around. I called on it with full path..

background-image: url(http://www.xxxxx.com/background.jpg);

That got me going... It may be something the way my web server is setup or something. HOwever, I wanted to report back in case someone else has same trouble... the method above worked for me!

Thanks again!

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum