html css layers code example Example: layer on top in javascript document.getElementById('yourdivid').style.zIndex = incremented_up_var;