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)
-   -   Store centered, jumps left or right (https://forum.x-cart.com/showthread.php?t=39724)

UNHBuzzard 05-13-2008 07:13 AM

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.

balinor 05-13-2008 07:43 AM

Re: Store centered, jumps left or right
 
That's just the scrollbar....the first one doesn't have a scrollbar, the second one does :)

UNHBuzzard 05-13-2008 08:02 AM

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!

UNHBuzzard 05-13-2008 08:48 AM

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.


All times are GMT -8. The time now is 04:26 PM.

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