skip to content

Professional drop-down #8 IE6 select box bug fix

14th February 2008

The problem....

OPTIONS




The solution...

OPTIONS


Information

I have been meaning to fix this bug for a long time but after receiving an email asking if I had an answer to this, I revisited it and have come up with an easy working solution.

If you are using IE6 then the first menu above will show the problem. When a select box is beneath a drop down list it always appears on top of the dropdown menu. This is due to a bug in IE6 (and IE5.x). However by using an iframe shim between the select box and the dropdown list it is possible to get the drop down list to cover the select box.

All that is needed is to add a basic iframe before the dropdown ul and style it with a size that covers the select box, this iframe is only seen by IE5.x and IE6. Simple.

Tested in IE6, IE7, Firefox, Opera and Safari (PC)



Donations

Please consider making a donation if you wish to use this menu.

Terms and Conditions

These menus can be used subject to the following terms and conditions.

  1. You may use these menus in your 'paid projects' for client websites.
  2. You may use these menus as part of an application interface.
  3. You may use these menus on personal and commercial websites.
  4. You may NOT place these menus on another site for others to download.
  5. You may NOT redistrubute or resell these menus.
  6. Users agree not to remove or edit the credit notice within the stylesheet, or claim that these menus are their own.
Solution Graphics

Copyright

Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.

1. If you are using this on a personal web site then please add a link back to CSSplay and retain any copyright comment in the stylesheet.
A donation to the 'Support CSSplay' fund would be appreciated.

2. If you are using this on a commercial web site, or as a paying job for a client, then please email me asking for permission - stu{at}cssplay.co.uk and in this case a donation to the 'Support CSSplay' fund is required.

3. If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.


CSS play recommend

Social Media Applications On DemandDHTML menu & Javascript menu creator - Powerful web menu solutionsSitegrinderFlash LoadedBitrix Site ManagerPSD to HTML, PSD to XHTML Service by PSD2HTML.com. You Design - We XHTML / CSS.Free, practical CSS menus, layouts, and examples