Reputation: 4672
I want to change the default grey colored caret cursor to black for the following textarea code
<div class = "">
<form:textarea class="textarea-large span12" path=" " placeholder="Type Here" " />
</div>
Any suggestions?
Upvotes: 1
Views: 982
Reputation: 56501
As per my understanding, you're trying to change the mouse cursor. Usually for textarea below css is common.
textarea
{
cursor:text;
}
I think there is no option to change the color of the mouse. For more option check W3C School.
Upvotes: 1
Reputation: 51797
you can create a custom cursor-file and use that for textareas:
textarea {
cursor: url(cursor.cur);
}
take a look at this great article about this topic - it's about 5 years old, but still up to date.
Upvotes: 1
Reputation: 5919
You want to add style="cursor: pointer"
to the textarea attributes (e.g. before class=...)
I think that's "caret" - a full list of pointers is available on the web
Upvotes: 2