Link to home
Start Free TrialLog in
Avatar of roblinx
roblinx

asked on

SELECT dropdown -- limit width of box, but allow OPTIONs to be full width

Apologies if this has been answered previously--I couldn't find a reference.

I am writing for IE6, and want to create a SELECT menu that is of fixed width, yet when clicked allows the drop-down menu to expand to the width of the longest OPTION.  I'm guessing that overflow: auto fixes this in Netscape, but that doesn't work for me.  Is the only solution to make my own menu?

Thank you,

Rob
SOLUTION
Avatar of apresto
apresto
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
roblinx did this help?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of roblinx
roblinx

ASKER

apresto, your answer was valid, but I didn't phrase my question well, so it didn't quite get what I was looking for.  dij8's answer, unfortunately, seems to be correct:  I can't do what I want to do with stock objects for IE--I'll have to make my own.

I'll just split the points between you, since you were good enough to read my question and give an answer.  Thank you!
Thanks roblinx, sorry it wasnt quite what you were looking for.  Hope you sort it out
If it's a navigation menu you are looking for there are a multitude of them around the Net. www.dynamicdrive.com always has a few.  A search on Google will find the rest.  I'd recommend finding one that uses mostly CSS and no tables.