By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,136 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,136 IT Pros & Developers. It's quick & easy.

textarea not getting the focus in mozilla

P: n/a
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:10 0%;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;borde r: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

Nov 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

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/co...authoring.html >

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

--
Rob

Nov 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.