Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / width of drop down for attributes

width of drop down for attributes

Locked

Views: 2,125

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
16 Feb 2007, 2:04 AM
#1
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

width of drop down for attributes

How do you specify the width of drop down menu for attributes?? Thanks

16 Feb 2007, 2:17 AM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: width of drop down for attributes

Its width should automatically become whatever the largest item in the drop down is.

16 Feb 2007, 2:19 AM
#3
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: width of drop down for attributes

barco57:

Its width should automatically become whatever the largest item in the drop down is.
It does in one template, but not in another one...

16 Feb 2007, 3:46 PM
#4
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: width of drop down for attributes

Sunabac:

It does in one template, but not in another one...

Check that templates css file, and see if it has anything odd for "SELECT" in there.

16 Feb 2007, 7:27 PM
#5
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: width of drop down for attributes

jettrue:

Check that templates css file, and see if it has anything odd for "SELECT" in there.
The one I am trying to adjust has:
FORM, SELECT {
display:inline;
font-size:1em;
margin:0.1em;
}

INPUT {
margin:.5em .1em;
}

The other 2 that work for me have:

FORM, SELECT, INPUT {
display: inline;
font-size: 1em;
margin: 0.1em;
}

But even when I used the 2nd one, it did not change.

16 Feb 2007, 9:03 PM
#6
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: width of drop down for attributes

Can I see a link of the offending site?

17 Feb 2007, 1:37 AM
#7
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: width of drop down for attributes

jettrue:

Can I see a link of the offending site?
Well believe it or not, I had trouble uploading the site to ISP so I rebooted my laptop and now the drop downs are the same width on all 3 templates!

17 Feb 2007, 7:21 PM
#8
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: width of drop down for attributes

jettrue:

Can I see a link of the offending site?
Well the site is messed up on ISP (cannot upload it properly), but you could actually see what I was talking about:
http://test.pridepak.com/ZenLevel3/index.php?main_page=product_info&products_id=4