Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Floating div

Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Respected Sirs,

I have a floating div. this is display in some events and show it in front of some other html controls. But I am trying the div in front of a comboBox ,it is not working. The comboBox is display infront of div. That is I cannot show some portion of div .That is the comboBox is hide some portion of div.

<div id="test" style="z-index:1000;position: absolute">

Posts: 15385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to put an iframe behind your div. Crazy fix, but it works.

Posts: 67451
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that this is an IE6 issue only. Real browsers never had the problem, and it has been fixed in IE7.

And, it's not a "combobox". A Combo Box is a control for desktop applications that is not available natively on the web. Most people would call it a dropdown or select list.
[ September 11, 2007: Message edited by: Bear Bibeault ]
Paper beats rock. Scissors beats tiny ad.
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic