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

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

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