2

the picture below describes my current problem. Is there a (css)way to achieve the "Good Browsers" behaviour (like FF) in IE8/9 without JavaScript/JQuery? Found some old posts from 2008 / 2011, but without any possible solution.

(e.g. Thread1 Thread2 )

enter image description here

Thanks alot!

Community
  • 1
  • 1
user1323246
  • 433
  • 2
  • 6
  • 23
  • use larger width and/or another select for grouping –  Apr 02 '13 at 08:14
  • This' alternate solution for Ancient Browsers: `select:active, select:focus { width: auto; }`. You can try JS solution for better usage. This' just an idea. – Ketan Modi Apr 02 '13 at 08:15
  • same question from here http://stackoverflow.com/questions/1895476/how-to-style-a-select-dropdown-with-css-only-without-javascript hope this help you.... [click me](http://jsfiddle.net/danield770/sNwrs/10/) – jhunlio Apr 02 '13 at 08:18

2 Answers2

0
<!--[if IE]>
<style>
select{
width: 250px;
}
</style>
<![endif]-->

That code works only on IE browsers.

ExCluSiv3
  • 184
  • 2
  • 20
0

This is a good startingpoint. It doesn't work so well in the demo, but there are solutions in the final comments and the code looks fairly easy to improve upon: http://www.dougboude.com/blog/1/2008/05/Viewing-Option-Text-in-IE7-thats-Wider-than-the-Select-List.cfm

Joris Lindhout
  • 205
  • 2
  • 9