0

I am using a simple JS here:

var person = prompt("how are you feeling today?", "");

And I would like the text input area (NOT the whole box, ONLY the area where you type in the text) to be bigger... like a comment section.

Any ideas please?

Mike Pala
  • 766
  • 1
  • 11
  • 39
  • 2
    Possible duplicate of [how to change the style of alert box](https://stackoverflow.com/questions/7853130/how-to-change-the-style-of-alert-box) – RaJesh RiJo Oct 12 '17 at 06:59
  • You don't. `prompt()` and `alert()` are not supposed to be for Real World Use. – StackSlave Oct 12 '17 at 07:07

1 Answers1

3

The text input box here is supplied by the browser of the client and therefore cannot be changed in any way with CSS styling. You could instead create a custom popup which is part of your website, allowing you to style it however you would like.

sdr981
  • 405
  • 4
  • 15