Firefox Drop Down List


In firefox the height of the dropdown box is too big.  It has space above before the dropdown arrow starts.  So it sort of looks like a textbox sitting on top of a select box.

ANy ideas of how to fix this?  It makes it look messy.



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.

With CSS you can change the size and width of a drop down box.
I will see if I can find the code for you.
JoanaAuthor Commented:
I have tried that

width: 12px
height: 12px

dosn't do anything?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Can you post your code you are using?
JoanaAuthor Commented:
*****  CODE ****
      <td class="quicklink"><select id="Apples" class="rightnav">
            <option  value="" selected="selected">&nbsp;</option>
            <option  value="One" selected="selected">One</option>
            <option  value="Two" selected="selected">Two</option>

***** CSS  ******

      width: 130px;
      font-size: xx-small;
      display: box;
      color: #666666;
      font-family: Verdana, Helvetica, Arial, Sans-Serif;
Try "font-size: 8pt" instead of xx-small

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
JoanaAuthor Commented:
No sorry it didn't work

JoanaAuthor Commented:
Ooo got it
The it's parent style had top padding, the other browsers didn't inherit it becasue it was a select, firefox must work different :-)
<style type="text/css">
select.rightnav { font-family: verdana; font-size: 5pt; }
<body><select id="Apples" class="rightnav">
          <option  value="" selected="selected">&nbsp;</option>
          <option  value="One" selected="selected">One</option>
          <option  value="Two" selected="selected">Two</option>

Here is my code and I tested it in both IE and firefox and it seems to work.
Try doing a control shift-f5 to grab a new copy from the server, or clear your temp internet files and relaunch your browser.
Hey glad to see it's working!
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

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.