I’ve created a jsfiddle file for you to have a look at what I mean: http://jsfiddle.net/CW23N/5/
Basically, my problem is that the “#results” div keeps on moving when the “#option” div comes in. I want it to stay in the same place, and make sure the options div is on top of it, so that it kind of overhangs.
I’ve tried modifying the z-indexes of both div’s and I’ve messed around with various “position” settings for all the divs. I’m not quite sure where to go now :/.
This is more of a CSS question than anything I’m guessing.
This should do the trick:
EDIT: There was a slight error with the JavaScript
please refer to the solution here: Fiddle Solution