0

I have two issues that are occurring, the place holder will not appear and whenever I click on my textarea, it starts typing from where I clicked instead of the top left?

textarea {
  outline: none;
  resize: none;
  text-align: start;
  border: 1px solid black;
  width: 100%;
  overflow: hidden;
}
<textarea cols="70" rows="4" placeholder="Adding a rich description will help with the search result">
                </textarea>
Wimanicesir
  • 4,606
  • 2
  • 11
  • 30

1 Answers1

1

A placeholder will only appear if there is no content in the textarea.

You have set default content of "a bunch of spaces and a new line".

Remove the content between > and <.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335