Forums / Templates, Stylesheets, Page Layout / Need help w/ centering the center column please

Need help w/ centering the center column please

Locked

Views: 646

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Mar 2010, 12:04 AM
#1
mehyourface avatar

mehyourface

New Zenner

Join Date:
Mar 2010
Posts:
23
Plugin Contributions:
0

Need help w/ centering the center column please

Hi :smile:
I'm trying to center the center column on my website and I've hit a dead end. I know this has got to be a simple fix. Do y'all have any ideas?

Version: Zen Cart 1.3.8
Custom template

Thanks in advance for your help!
Meh!

23 Mar 2010, 4:31 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Need help w/ centering the center column please

It is full width but also appears centered

Zen-Venom Get Bitten

23 Mar 2010, 9:18 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need help w/ centering the center column please

One of those weird cases where it's OK in IE6 and 7, but wrong in IE8 and FF.

.centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
padding: 0.8em;
border: 2px solid #FFFF00;
width:998px;
text-align:center;
margin:auto;
}

Try adding the red part.

I don't know if it's the cause, but ordinarily there's no reason to assign a width to .centerColumn.