html - z-index and anchor tag -


i have div position relative , z-index :-1. , have placed <a> on div. seems <a> not working when give postion :relative parent. when change position absolute starts working. tell me why happening. want link work , far possible need keep parent div position :relative , z-index:-1;

position:relative make z-index relative parent.

http://www.w3.org/tr/css21/visuren.html#propdef-z-index


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -