help.net


Musing on .Net

News





hit counters




Open source CMS


Technorati

My blog

Irish blogs

Locations of visitors to this page Get Chitika eMiniMalls

.Net useful

Blogs I read

PocketPC

SQL

Usability

SELECT control fixed in IE 7

Wow! This is some great news! Finally Microsoft has acknowledged the problem with the SELECT control and finally fix it in IE 7. How many hours I spent on this tricky bug.

I used a lot of hacks to avoid the issue, but this is really the thing which I was waiting for. Now no reason not to migrate to IE 7.

From the IE blog:

SELECT element in IE7 - An Overview

In IE6, the HTML <SELECT> element was implemented through the Windows Shell ListBox and Combobox controls. Some key features were missing in the old version of the SELECT element, such as proper support for z-index, TITLE support, and zoom. Web developers had to write complex CSS and scripts to workaround these issues.

In IE7 however, we re-implemented the <SELECT> element to make IE7 more standards-compliant. This new version does not use any Shell controls any more. In fact, it is implemented totally through the MSHTML framework, including styling, UI interaction, and rendering. Thus the SELECT element in IE7 is more of an HTML element than the former legacy control.

SELECT element in IE7 - Windowless and Z-order

A big problem of IE6’s SELECT element was that it could not perform z-index.

Here is an illustration.

When a user moved the mouse over to the “Mouse Over Here” in figure 1, this triggered the select element. Z-Index=1 should be behind and hidden by the select element (which appears as a yellow box) while Z-index = 3 should appear visible above the select element.

Instead with the legacy Windowed element you will find these two SELECT elements always placed on top of the floating DIV, even though the DIV has a higher z-index value.

 

Posted: Jan 20 2006, 05:50 PM by help.net | with 2 comment(s)
Filed under: ,

Comments

Eric Newton said:

good news for all those silly scripts that would hide any SELECT controls when menus or popups using DIVs.
# January 20, 2006 1:37 PM

Albert Weinert said:

Hiding the Select Control is the worst solution of that problem. I prefer the iframe solution.
# January 20, 2006 3:35 PM