Button With Line Breaks

0
0

how to make Button With Line Breaks ?

  • You must to post comments
0
0
Your best bet is a <button> so you can use a <br> inside, like:

<button> 
 Some 
 <br> 
 Text 
</button>

If you need it to be an <input>, and thus the text has to be in a value, it used to be somewhat reliable to use 
 (a carridge return) to break a line in a value like this:

<input type="button" value="Really
Tall
Button">

That still works in Firefox, but doesn't seem to work in Chrome anymore, and is dangerous in Safari where it cuts off the text after the first entity.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.