X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Site looks OK in IE but not Firefox and Yahoo (https://forum.x-cart.com/showthread.php?t=40981)

RandyK 07-08-2008 05:45 PM

Site looks OK in IE but not Firefox and Yahoo
 
Little help here please. The following is the code I used in order to set the width of the site and add a white background:

TABLE.Container {
HEIGHT: 100%;{ width: 960px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }
}

AND, the following is what I used to put an image on the far right and far left of the site that is outside of the above defined width:

HTML,BODY {
HEIGHT: 100%;
MARGIN: 0px;
PADDING:0px;
BACKGROUND: url(images/blue095.gif); background-repeat:y;
}

This is serving the purpose in IE but isn't in some other browsers. Any suggestions? Thank you.

carpeperdiem 07-08-2008 05:53 PM

Re: Site looks OK in IE but not Firefox and Yahoo
 
Quote:

TABLE.Container {
HEIGHT: 100%;{ width: 960px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }
}

That's not css code... you have nested { }

Remove the extra { } and it way look better.

RandyK 07-08-2008 06:18 PM

Re: Site looks OK in IE but not Firefox and Yahoo
 
Thanks for the help that took care of it.


All times are GMT -8. The time now is 09:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.