HTML & CSS
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>
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?
using chrome and i just clicked syntax highlight sorry haha i tried removing the white space, does nothing
scratch that. i'm so dumb.
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.
This topic is now closed. New replies are no longer allowed.