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,

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

to control the width you can use CSS and it will be respected by most modern browsers. Just put this in the head of the page:

<style type="text/css">
select {width:100px"}

Of course if any of the options are wider than the specified width they will get cut off.

As for the bold, you can change the font-weight for the select but not the individual options. the only styling you can use for options is the color and background color.  So you cond do something like this for an option you want to stan out:

<option style="color:red">your text</option>

answer from Cd& - (Give credit where it is due)
roblinx did this help?
Yes you will need to create your own menus.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

roblinxAuthor Commented:
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. always has a few.  A search on Google will find the rest.  I'd recommend finding one that uses mostly CSS and no tables.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.