Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

I hate IE

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-04-2008, 12:42 PM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default 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?
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote
  #2  
Old 09-04-2008, 01:33 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: I hate IE

Are you using fast lane checkout? That uses a different set of templates...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-05-2008, 12:08 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default 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.
Reply With Quote
  #4  
Old 09-05-2008, 04:28 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default 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?
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote
  #5  
Old 09-05-2008, 06:11 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default 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.
Reply With Quote
  #6  
Old 09-05-2008, 08:03 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default 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
-------------------
X-Cart 4.1.9
Reply With Quote
  #7  
Old 09-05-2008, 08:13 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default 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
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote
  #8  
Old 09-08-2008, 12:04 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default 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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020