Jump to content

Select form / Different width when using IE and FF


jtified

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
Link to comment
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.

Link to comment
Share on other sites

  • 10 months later...
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...