View Full Version : a centered div issue


darkestfaerytale
11-08-2006, 08:17 PM
now i'm not sure if i should be posting, i'm sure i will figure it in the end. But i just don't get why this happens sometimes, but not others. You see if you go here: http://www.surrendermoon.tyl.cc/layouts/divs/fedup/

then you see a nice design (hopefully) but if you try and highlight, or click a link in the content box. Nothing. I don't know what is overlapping, and in others where i use this coding it doesn't do this..

can anyone help? I really, really want to put my new site layout up today, not tommorow. Thanks!

J to the izzosh
11-08-2006, 11:38 PM
You can't click the links or highlight text because they're positioned behind the element that contains your sidebar. Notice how when you try to highlight text, you just highlight links in the sidebar?

darkestfaerytale
11-12-2006, 05:19 PM
so how would i position my content infront of the sidebar??

Juststranded
11-26-2006, 12:25 AM
div_layer {
z-index:0;
}

div_layer2 {
z-index:1;
}

--------------

z-index = depth.

higher number = on top
lower number = under