Hello guys how to newline or break inside a input button?. I have this code:
<input type="button" id="Button" value="RECOMMEND DISAPPROVE" disabled="disabled" style="width:125px; height: 35px;"/>
I tried <br/>
but not working..
Hello guys how to newline or break inside a input button?. I have this code:
<input type="button" id="Button" value="RECOMMEND DISAPPROVE" disabled="disabled" style="width:125px; height: 35px;"/>
I tried <br/>
but not working..
You may want to use the <button>
attribute as <input>
doesn't support the newline tags. So you could do this for example:
<button type="button" id="Button" disabled="disabled" style="width:125px; height: 35px;">RECOMMEND<br />DISAPPROVE</button>
You may want to remove the button width/height as the text doesn't fit well in the button
I hope this will help you.
<button>Line one<br/>line two</button>
It appears <input type="button">
doesn't support line breaks