I have table with many textarea
's (already changed to div
's with attribute contentEditable
), also with CSS I done that the innerHTML
is centered horizontally and also vertically. Everything is working fine, just one thing is not OK - when you enter div
, so its focused, the cursor is in the left top corner, but when you start writting its moved to the center.
How can I do, that when you focus the div
, the cursor will be right in the center?
See demo here
Thanks a lot.
EDITED: Sorry, my fault, its not working only in Firefox.