Update: Thanks for all your comments. I think it is a "current stacking context" issue. I will provide code tomorrow morning Easter Time if I can't get it resolved by then.
I have a problem where my autosuggest dropdown list is partially hidden because the div under it takes priority.
Been trying to figure out how to solve this with z-index
. According to W3 Schools "z-index only works on positioned elements (position:absolute, position:relative, or position:fixed)".
I've found that only if I use position: fixed;
for the dropdown list does the z-indexing work. But the problem is I want to use position: relative;
. I've tried doing position relative for both the dropdown list and the overlapping div and setting the z-index at +100 and 0, respectively.
Any suggestions would be much appreciated.
I'm testing it in Firefox 4 and Chrome.