View Full Version : div layers won't overlap


BulbaGrrrl
12-20-2005, 10:07 PM
My site: http://www.livejournal.com/users/bulbagrrrl

I'm trying to get my userpic and all the links onto the banner but they keep creating their own layer and won't overlap. Any ideas? Thanks!!

luvhartz
12-21-2005, 09:35 PM
to the div tag you need to add another little part to the code, it is :

z-index: #;

like this for example:

<div style="z-index: 1;">text here</div>

now you replace the # for a number, 1 being the bottom layer, for divs you want to go over the top of that you just choose a higher number :) iv used up to 9 layers with a page so i dont think theres a limit :)