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)
-   -   I hate IE (https://forum.x-cart.com/showthread.php?t=42177)

Cyber Matrix 09-04-2008 12:42 PM

I hate IE
 
All pages render correctly for myofficechairs.biz by centering in the browser except for the cart pages. Once you add a product to the cart and view the cart the page goes from being centered to left justified.

Any idea why?

balinor 09-04-2008 01:33 PM

Re: I hate IE
 
Are you using fast lane checkout? That uses a different set of templates...

Yurij 09-05-2008 12:08 AM

Re: I hate IE
 
Quote:

Originally Posted by Cyber Matrix
All pages render correctly for myofficechairs.biz by centering in the browser except for the cart pages. Once you add a product to the cart and view the cart the page goes from being centered to left justified.

Any idea why?


You have added javascript code before <html> tag in fast lan checkout page - is not correct. I think that the problem in this.

Cyber Matrix 09-05-2008 04:28 AM

Re: I hate IE
 
Yes, I'm using fast lane and removed the css of the fast lane checkout and left only the main skin1 css file it still left justified the cart page in IE. I even turn off fast lane checkout in the admin and that did not work.

I think it is related to the container and this is the code which looks right to me.

#Container {
HEIGHT: 100%;
width: 980px;
margin: 0 auto;
background-color: #FFFFFF;
}
But what does not make sense is the site renders center on all pages expect for when you are on the cart page.

And Yurij what javascript are you referring too?

Yurij 09-05-2008 06:11 AM

Re: I hate IE
 
Quote:

Originally Posted by Cyber Matrix
Yes, I'm using fast lane and removed the css of the fast lane checkout and left only the main skin1 css file it still left justified the cart page in IE. I even turn off fast lane checkout in the admin and that did not work.

I think it is related to the container and this is the code which looks right to me.

#Container {
HEIGHT: 100%;
width: 980px;
margin: 0 auto;
background-color: #FFFFFF;
}
But what does not make sense is the site renders center on all pages expect for when you are on the cart page.

And Yurij what javascript are you referring too?


Add any product to the cart and go to page "http://www.myofficechairs.biz/cart.php".
After that open html source current page and you will see, what I talk about:


PHP Code:

.............
<
style type="text/css">
#available {
    
displaynone;
    
colorgreen;
}
#not_available {
    
displaynone;
    
colorred;
}
</
style><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>
................... 


You have wrong html structure cart.php page.

Cyber Matrix 09-05-2008 08:03 AM

Re: I hate IE
 
I did not put that there and I'm looking for it which I do not see at this point.

Cyber Matrix 09-05-2008 08:13 AM

Re: I hate IE
 
it is the user name mod check that is causing this. The instructions states to put the require "./username_check.php"; in the cart.php and once i removed it the cart page centers. I will need to figure out where to put it if I'm going to use that mod

Yurij 09-08-2008 12:04 AM

Re: I hate IE
 
Quote:

Originally Posted by Cyber Matrix
it is the user name mod check that is causing this. The instructions states to put the require "./username_check.php"; in the cart.php and once i removed it the cart page centers. I will need to figure out where to put it if I'm going to use that mod


Try to find where it is inserted this Javascript, and after that insert it correctly.
This may be in the template or php.


All times are GMT -8. The time now is 06:10 AM.

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