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

  • SEARCH
  • Home
  • 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 5972839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:42:53+00:00 2026-05-22T20:42:53+00:00

When setting the background color of a select element, Opera 11.11 on Windows 7

  • 0

When setting the background color of a select element, Opera 11.11 on Windows 7 hides some of the text. This does not happen in other browsers.

Before setting background color:

Before setting background color

After setting background color:

enter image description here

The only difference between these two dropdowns is the following CSS:

 background-color: #fff;

The HTML is as follows:

<select size="1">
  <option>Foo</option>
  <option>Bar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
  <option>Foobar foobar foobar foobar</option>
</select>

Here’s a page that includes the HTML and the screenshots.

I can’t imagine any reason for why Opera should behave like this. Is there something wrong with my HTML and CSS, or is there a workaround for this?

Updates

  • This has been reported to show correctly on MacOSx Opera 11.11.
  • Reported to Opera as bug DSK-337814.
  • 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-05-22T20:42:54+00:00Added an answer on May 22, 2026 at 8:42 pm

    I think there is no general workaround for this issue. When you set background-color, Opera no longer uses OS’s way of rendering selects. You aren’t probably able to see this on Windows, but there is a huge difference between the two selects on Debian:

    Adding background-color for every select element will let your selects behave consistently. This is probably not what you await, but IMHO it’s better than if there’d be two different behaviours.

    As Jordan has already mentioned, using formalize is also very good solution.

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

Sidebar

Related Questions

Follow-up to this question: Setting background-color of select options in JQuery I have a
I am setting background color of an li element by the code below :
I'm having trouble setting the background color (and text color) for the options in
I'm having troubles setting the background color for JButtons. For example I get this
Supposing I'm setting a background image for a web page in CSS like this:
Setting the background color programatically of an android TextView doesn't seem to work. I'm
I have looked around to find a solution for setting the background color of
I'm pretty much out of ideas here... for everything else, setting the background color
I'm setting the background color of my UIView (which is within a UIViewController) as
I have a SurfaceView where I'm setting a background color and an image like

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.