Forums / Templates, Stylesheets, Page Layout / Horizontal Scroll Bar Shows But Is Unnecessary

Horizontal Scroll Bar Shows But Is Unnecessary

Views: 821

Results 1 to 5 of 5
30 Mar 2011, 9:33 PM
#1
adalovelace avatar

adalovelace

New Zenner

Join Date:
Mar 2011
Posts:
27
Plugin Contributions:
0

Horizontal Scroll Bar Shows But Is Unnecessary

Hello,
So I am working at a company that utilizes a Zen Cart store... I did not set it up.

All of our pages show a horizontal scroll bar, even on my ridiculously high resolution monitor:

http://www.continentalbeadsuppliers.com

Can anyone give me any clues as to how to remedy this??

Any information is GREATLY appreciated!!! :)

<3
Ada Lovelace

30 Mar 2011, 9:44 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Horizontal Scroll Bar Shows But Is Unnecessary

That I believe is a browser thing

But try changing your mainwrapper width to say 99%

#mainWrapper {
	background-color: #ffffff;
	text-align: left;
	width: 100%;
	vertical-align: top;
	border: 1px solid #9a9a9a;
	}

Zen-Venom Get Bitten

30 Mar 2011, 10:08 PM
#3
adalovelace avatar

adalovelace

New Zenner

Join Date:
Mar 2011
Posts:
27
Plugin Contributions:
0

Re: Horizontal Scroll Bar Shows But Is Unnecessary

YESSS this fixed it!!! The 1 px border added onto a 100% width div caused there to ALWAYS be a bloody scrollbar! Now it is gone!!!

THANK YOU!!! :)

30 Mar 2011, 10:26 PM
#4
adalovelace avatar

adalovelace

New Zenner

Join Date:
Mar 2011
Posts:
27
Plugin Contributions:
0

Re: Horizontal Scroll Bar Shows But Is Unnecessary

p.s.
Setting the width to 99% and leaving the border still left the scrollbar... but leaving the width at 100% and removing the border made it go away. :) YAY!!!