Firefox Drop Down List

Hello

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.

Thanks

JO


JoanaAsked:
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.

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

width: 12px
height: 12px

dosn't do anything?
0
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.

Codeit1978Commented:
Can you post your code you are using?
0
JoanaAuthor Commented:
*****  CODE ****
<tr>
      <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>
      </select></td>
</tr>

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

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

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

0
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 :-)
0
Codeit1978Commented:
<HTML>
<HEAD>
<style type="text/css">
<!--
select.rightnav { font-family: verdana; font-size: 5pt; }
-->
</style>
</HEAD>
<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>
     </select>
</body>
</HTML>

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.
0
Codeit1978Commented:
Hey glad to see it's working!
0
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
HTML

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.