Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Cursor won't display in text area
Old 11-01-2007, 01:05 PM Cursor won't display in text area
Skilled Talker

Posts: 81
Trades: 0
Hi

I've got a testpage, with everything removed except the problem which occurs in Firefox
http://ied.gospelcom.net/tester.php

There is a mouseover popup, which is toggled from hidden to visible by onmouseover on some of the table cells. The CSS for this is
#reportalert {visibility:hidden;}

This is not a javascript problem because it happens with js disabled. I have removed the JS toggle script from this page, so you won't even see this happen.

As soon as I have the div with id="reportalert" anywhere on the page, its presence prevents a cursor appearing in the textarea. It does, in fact, have focus, because you can type in it. But it is disconcerting not to appear to have focus.

It is as if the 'visibility:hidden' of the div somehow leaks out to affect the cursor. I have tried all sort of things, such as putting visibility:visible on the text area, or its whole TD.

Any other ideas I could try?

thanks

Tony
soon is offline
Reply With Quote
View Public Profile Visit soon's homepage!
 
 
Register now for full access!
Old 11-01-2007, 02:42 PM Re: Cursor won't display in text area
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Couple of things:
z-index is useless, it only works on elements that are absolutely or relatively positioned.

You've got JS errors:
toggleDisplay is not defined
onmouseover(mouseover clientX=0, clientY=0)

or.. this is definitely a problem:
line 122 column 1 - Warning: discarding unexpected </div>
line 123 column 1 - Warning: discarding unexpected </div>
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-01-2007, 07:00 PM Re: Cursor won't display in text area
Skilled Talker

Posts: 81
Trades: 0
Thanks! Well, I have removed all the mouseover stuff, and the extraneous div! But there is still the same behaviour. It is all down to the visibility:hidden being linked to that div.

Take out the div (or change the css to a different div name, even in the FF CSS editor bar, and it works fine!!

However, I think I see the issue. Take out 'position fixed' for the div, and the cursor does work. DOn't know why!

thanks for any other ideas!

Tony

Last edited by soon; 11-01-2007 at 07:29 PM.. Reason: extra not
soon is offline
Reply With Quote
View Public Profile Visit soon's homepage!
 
Reply     « Reply to Cursor won't display in text area
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.93494 seconds with 12 queries