textarea not getting the focus in mozilla

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
 
R

RobG

Prasad wrote:
[...]
It works fine in IE ..............................................

what could be the problem ..

This is a javascript newsgroup, what does this have to do with
scripting?

how can i make the textarea to get the focus??

please help me out ..

Ask in an HTML or CSS group:

news:comp.infosystems.www.authoring.html
<URL:
http://groups.google.com.au/group/comp.infosystems.www.authoring.html >

news:comp.infosystems.www.authoring.stylesheets
<URL:
http://groups.google.com.au/group/comp.infosystems.www.authoring.stylesheets
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top