Reputation: 3128
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?
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
Reputation: 4041
you can't show all the text but you could add an ellipsis with this css.
text-overflow: ellipsis;
Upvotes: 0
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