antid2 — 2012-02-04T06:47:54-05:00 — #1
Okay, so i have this problem with the textarea in the page i'm currently creating, i can size it with css and everything is fine except for when you go to click on the textarea your pointer for typing can go anywhere inside the box..kind of hard to explain, but i want it so soon as you click on the textarea your typing-cursor goes to the top left and you can begin typing, not clicking around where the white space is. here is my code if you'd like to try it out and see what i'm talking about.
<link rel="stylesheet" type="text/css" href="styles/main.css" />
<div class="avatar"><img src="images/ava.jpg"></div>
nuttyskunk — 2012-02-04T07:12:08-05:00 — #2
HTML 4 Strict? The doctype is HTML5.
Remove all of the white space within the textarea tags and see if that helps.
Is this problem limited to a particular browser?
antid2 — 2012-02-04T07:24:04-05:00 — #3
using chrome and i just clicked syntax highlight sorry haha i tried removing the white space, does nothing
scratch that. i'm so dumb.
xhtmlcoder — 2012-02-04T07:36:01-05:00 — #4
Like was mentioned in the TEXTAREA element you should not have blank space as it typically gets preserved by the browser for obvious reasons and hence your break returns are moving the cursor placement, etc.