Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8091971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:11:14+00:00 2026-06-05T20:11:14+00:00

I’ve got a problem with IE8. I’ve got a select box to choose capacitance

  • 0

I’ve got a problem with IE8.

I’ve got a select box to choose capacitance units pF, nF and mF.

Now, the text is a little bit down, even though I set padding:0, and it cuts the text.

And so the ‘pF’ option actually looks like ‘nF’ which is unacceptable.

enter image description here

I wonder if there is any fix at all. I can’t think of nothing other than setting padding to 0 which doesn’t work once again. Setting small line-height also doesn’t do anything either.

CSS:

select {
    width: 40px;
    height: 16px;
    padding: 0px;
    font: 8pt Helvetica;
}

Any ideas?

Edit: There you go for JSFIDDLE:

http://jsfiddle.net/zuYsF/

See that ‘pF’ is selected by default, and it actually looks like ‘nF’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:11:15+00:00Added an answer on June 5, 2026 at 8:11 pm

    I don’t think this is padding causing a problem, this might have more to do with line-height

    So try setting the line height to the height of the box minus the border top and border bottom (which seems to be 4px in total judging by that image from looks…) that height is probably about 12px…

    line-height: 12px;
    

    If this doesn’t fix it you will have to reproduce it in jsfiddle so we can tinker with the code to give an actual working example back to you.

    Please note that form elements are notoriously unreliable styling wise, and you can’t get away with everything. display: block can do wonders, but wouldn’t help in this case.

    This seems to be cheer limitation of the <select> tag styling… In all browsers really.

    You might want to check this question, which doesn’t seem totally unrelated.

    I want to vertical-align text in select box

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
i got an object with contents of html markup in it, for example: string
I am currently running into a problem where an element is coming back from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.