I have a div with position relative and z-index :-1
. and I have placed <A>
over that
div. But it seems <a>
is not working when i give postion :relative
to its parent. when change that
position to absolute it starts working. Could anybody tell me why this is happening.
I want that link to work and as far as possible need to keep its parent div
position :relative
and z-index:-1;
views:
273answers:
1
+2
A:
position:relative
will make the z-index relative to the parent.
Emil Vikström
2010-01-19 05:15:43
so why it is disabling my <a> tag?
shruti
2010-01-19 10:24:31