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

Store centered, jumps left or right

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-13-2008, 07:13 AM
 
UNHBuzzard UNHBuzzard is offline
 

Member
  
Join Date: Nov 2007
Posts: 13
 

Default Store centered, jumps left or right

Best seen here, trying to fix this & can't find the solution in the code anywhere... any ideas?

Original: http://www.jonathanproduct.com/store/home.php

Jumping: http://www.jonathanproduct.com/store/home.php?cat=277

Some categories jump, others do not. Store is designed for a 1024px wide display.
__________________
X-Cart 4.1.9
PHP 4.4.7/MySQL 4.1.22
Linux x86 Server w/ Apache (EWD Hosting)
Buy Here: www.jonathanproduct.com/store
Reply With Quote
  #2  
Old 05-13-2008, 07:43 AM
 
balinor balinor is offline
 

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

Default Re: Store centered, jumps left or right

That's just the scrollbar....the first one doesn't have a scrollbar, the second one does
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-13-2008, 08:02 AM
 
UNHBuzzard UNHBuzzard is offline
 

Member
  
Join Date: Nov 2007
Posts: 13
 

Default Re: Store centered, jumps left or right

Thanks Balinor! How the heck did I not catch that? I was staring at the thing for a few hours, going through all types of code, etc. Sometimes it just takes that extra set of eyes!
__________________
X-Cart 4.1.9
PHP 4.4.7/MySQL 4.1.22
Linux x86 Server w/ Apache (EWD Hosting)
Buy Here: www.jonathanproduct.com/store
Reply With Quote
  #4  
Old 05-13-2008, 08:48 AM
 
UNHBuzzard UNHBuzzard is offline
 

Member
  
Join Date: Nov 2007
Posts: 13
 

Default Re: Store centered, jumps left or right

My fix for others that may encounter this issue in Firefox or Opera...

Add "min-height: 101%" as an element to the "HTML" class in the css file, this will force there to always be a vertical scrollbar on the right side to eliminate jumping under Firefox. This could be set to 100.1%, however Opera does not support decimal places in CSS for values, so it has to be rounded up.
__________________
X-Cart 4.1.9
PHP 4.4.7/MySQL 4.1.22
Linux x86 Server w/ Apache (EWD Hosting)
Buy Here: www.jonathanproduct.com/store
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 01:50 AM.

   

 
X-Cart forums © 2001-2020