Jump to content
Killersites Community

Select form / Different width when using IE and FF

Recommended Posts

I'm having a problem regarding my select form in my site. Here's A PART of my site where I'm having problems with:



Select course


College of Computer Studies

B.S. Computer Science

B.S. Information Technology

B.S. Information Management


When I'm using Mozilla Firefox, the SELECT form auto re sizes itself when I click the button. To the point where all of the text in the OPTION element can be read and comes back to it's normal size once I'm done selecting and that's great, no problem with that. THE PROBLEM IS when I'm using Internet Explorer, it doesn't work. What I mean is the SELECT form only has the width of 155px, ( which I set ) so in that case, I can't read the OPTIONS text completely. How can I fix this? I hope someone can help me with this problem. Cheers!

Edited by jtified

Share this post

Link to post
Share on other sites

I'm not sure what you mean by auto resizing in Firefox. I tried a form of mine with a width for the select box which was less wide than needed for the options text and it didn't resize to show all the content.


I suggest that you make the select box the width it needs to be to show all the option text.

Share this post

Link to post
Share on other sites
Guest hammadtariq

It's a classic IE problem, there are work-arounds available if you know javascript, the work-arounds range from pretty basic onmouseover javascript calls to the advance create your own select box using frameworks. I wrote a blog about this along with the solutions of how to expand on mouseover or how to create your own SELECT element which works in every browser. Have a look at: solving select width problem in IE

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now