Solved

Internet Explorer List/Menu CSS Width Issue.

Posted on 2006-06-26
3
2,065 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
3 Comments
 
LVL 30

Accepted Solution

by:
GrandSchtroumpf earned 300 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WebBrowser Control in MS Access stopped working on a 64-bit system 11 60
Flash movie autostarts and web pages 2 52
Hide http port number 5 41
windows 10 6 36
Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
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 +…

770 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