April 3, 2012

Trouble Getting z-index Working

Question by Michael Davis

Here is a fiddle I made for an example. I can’t for the life of me figure out what I’m missing. My intention is for the class of .tss-content to sit between #wrap-a and #tss on the z axis.

In other words, trying to get the white layer positioned between the grey and the blue layers.

I’m sure it’s something dumb, but any help would be greatly appreciated. Thanks in advance!

Answer by Starx

You can float the white boxes and give a left value to push it to the right side

.tss-social {
    float:left;
    left: 50px;
} 

Demo

...

Please fill the form - I will response as fast as I can!