Forums / Templates, Stylesheets, Page Layout / Vertical Aligning Categories Within A Container

Vertical Aligning Categories Within A Container

Locked

Views: 755

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
23 Mar 2010, 9:28 PM
#1
cs_jono avatar

cs_jono

Inactive

Join Date:
Oct 2007
Posts:
187
Plugin Contributions:
0

Vertical Aligning Categories Within A Container

Hey guys,

I'm trying to code a new template and having problem vertical-aligning my categories within a container. They are the categories on top of the yellow/orange background.

Can anyone help?

http://www.clevershoppers.com/jono/zencart138a/

Thanks!
Jono

clevershoppers.com

Jono Herrington :: clevershoppers Inc.

24 Mar 2010, 8:51 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Vertical Aligning Categories Within A Container

you can use padding to move text in correct position .

24 Mar 2010, 9:03 AM
#3
stevesh avatar

stevesh

Black Belt

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

Re: Vertical Aligning Categories Within A Container

padding-top to be specific, in #headerCatInfo

25 Mar 2010, 1:07 PM
#4
cs_jono avatar

cs_jono

Inactive

Join Date:
Oct 2007
Posts:
187
Plugin Contributions:
0

Re: Vertical Aligning Categories Within A Container

Hey guys,

Thanks so much...as this did work for the problem I had then it's not working as the same solution for the problem I am having now with the search bar. Now the forms and text are dropping to the bottom. I have placed an image in there which I don't know if that's causing the problem but not quite sure what to do. Sorry...not most programmer savvy person out there.

Thanks so much for all your help!

Jono Herrington :: clevershoppers Inc.

25 Mar 2010, 2:54 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Vertical Aligning Categories Within A Container

Something like:

#headerSearchInfo input, select{vertical-align:middle;}

25 Mar 2010, 3:00 PM
#6
cs_jono avatar

cs_jono

Inactive

Join Date:
Oct 2007
Posts:
187
Plugin Contributions:
0

Re: Vertical Aligning Categories Within A Container

Stevesh...GENIUS! Thanks so much for your help mate! Everything worked as you said. Thanks again!

Jono Herrington :: clevershoppers Inc.

25 Mar 2010, 3:20 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Vertical Aligning Categories Within A Container

#headerSearchInfo input, #headerSearchInfo select{

You need to specify the full chain for each one, or else the select will apply to all select elements in the site.