Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Internet Explorer List/Menu CSS Width Issue.

Posted on 2006-06-26
3
Medium Priority
?
2,081 Views
Last Modified: 2009-07-30
Hi all.

I'm currently working on the following web page: http://www.clubsail.com/form.php

The offending code is the following:

<select name="pracqual" id="pracqual" style="font-size: 11px; margin-left: 1px; vertical-align: middle; width: 80px; margin-right: 1px; height: 18px; text-align: left">
        <option value="999999" selected="selected">Select</option>
        <option value="None">None</option>
        <option value="Powerboat Level 1" >Powerboat Level 1</option>
        <option value="Powerboat Level 2">Powerboat Level 2</option>
        <option value="Intermediate Powerboat">Intermediate Powerboat</option>
        <option value="Advanced Powerboat">Advanced Powerboat</option>
        <option value="Safetyboat">Safetyboat</option>
        <option value="ICC Assessment">ICC Assessment</option>
</select>

Basically if you view this list item (or any on the page for that matter in FireFox) the actual elements within the list stretch accordingly. View the same page in IE however and the list elements are all cut off at 80px. I've tried adding a style tag to the option box and setting it to 190px on the off chance it would work, and ironically it worked fine in Fire Fox but not in IE.

So my question is this... is there a workaround to this issue? Questions on a post card.
0
Comment
Question by:craigweb2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 30

Accepted Solution

by:
GrandSchtroumpf earned 1200 total points
ID: 16982768
That's how IE handles select elements.  There is nothing you can do about it.
Your best option is not to specify any explicit width on the select elements.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question