Dagang Dagang - 1 year ago 123
HTML Question

HTML: can I display button text in multiple lines?

I have a button with long text like "Click here to start playing". I want to control the width and display the text in multiple lines. Is it possible in html/css?

Answer Source

Two options:



 <input type="button" value="Carriage&#13;&#10;return&#13;&#10;separators" style="text-align:center;">
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download