information_interchange
information_interchange

Reputation: 3128

Input placeholder cutoff

My placeholder text for my input is being cut-off. Is there any way to show the text, other than increasing the length of the input box?

enter image description here

HTML is as follows:

<section class="comment-input">
  <input type="text" placeholder="Try adding your own todosadsadasdsdaasdasdsaddsad!">
  <button>Clickez moi</buttoon>
</section>

Upvotes: 1

Views: 2628

Answers (2)

Niles Tanner
Niles Tanner

Reputation: 4041

you can't show all the text but you could add an ellipsis with this css.

text-overflow: ellipsis;

Upvotes: 0

Brad
Brad

Reputation: 163593

No. If there isn't enough room for something to display, it isn't going to display. You need to make the input larger.

Upvotes: 2

Related Questions