P
Prasad
HI all,
<!-- ======== This is the division with width & height set to 100% and
z-index to -1 =======- -->
<div
style='position:relative;left:0px;top:0px;width:100%;height:100%;z-index:-1;overflow:auto'>
</div>
<!-- ======== end of div =======- -->
<!-- ======== This is the division placed at ( 200,20 ) which contains
a textarea with z-index 3 =======- -->
<div style='position:absolute;top:20px;left:200px;border:2px solid
red;'>
<textarea style='z-index:3'></textarea>
</div>
<!-- ======== end of div =======- -->
With the above code in mozilla ...................
when i click in textarea , its not getting the focus but still i can
type in..Why i am not getting the focus here though i set the z-index
to 3 (greater than that of first division ).
It works fine in IE ..............................................
what could be the problem ..
how can i make the textarea to get the focus??
please help me out ..
thanx in advance
<!-- ======== This is the division with width & height set to 100% and
z-index to -1 =======- -->
<div
style='position:relative;left:0px;top:0px;width:100%;height:100%;z-index:-1;overflow:auto'>
</div>
<!-- ======== end of div =======- -->
<!-- ======== This is the division placed at ( 200,20 ) which contains
a textarea with z-index 3 =======- -->
<div style='position:absolute;top:20px;left:200px;border:2px solid
red;'>
<textarea style='z-index:3'></textarea>
</div>
<!-- ======== end of div =======- -->
With the above code in mozilla ...................
when i click in textarea , its not getting the focus but still i can
type in..Why i am not getting the focus here though i set the z-index
to 3 (greater than that of first division ).
It works fine in IE ..............................................
what could be the problem ..
how can i make the textarea to get the focus??
please help me out ..
thanx in advance