Posted By

lromak on 10/16/10


Versions (?)

Layer using z-index

 / Published in: CSS

  1. To get layers overlapping each other you need to use the z-index command. Add z-index: 1 in with the positioning code and this element will appear above everything without this command. If you want something else to go over this layer too, add z-index: 2 and so on. The higher the index, the closer the div will appear to the front of the page.

Report this snippet  

You need to login to post a comment.