Page 1 of 1

[answered]how to put multiple lines on a submit button

Posted: Tue Jun 28, 2005 7:36 am
by adixtopix
is it possible to have a button with multiple lines?

Posted: Tue Jun 28, 2005 7:44 am
by adixtopix
i mean having more than one lines of text

Posted: Tue Jun 28, 2005 8:00 am
by Chris Corbyn
Untested

Code: Select all

<input type=&quote;submit&quote; name=&quote;submit&quote; value=&quote;Submit\r\nNew Line&quote; />

Posted: Tue Jun 28, 2005 9:50 am
by wwwapu
Tested

Code: Select all

<input type=&quote;submit&quote; name=&quote;submit&quote; value=&quote;Submit
New Line&quote; />
Works in Firefox and IE. Not in Opera.

Posted: Tue Jun 28, 2005 10:40 am
by Burrito
using <button> you can inject regular html (even images etc).

Code: Select all

<button>
test blah bling<br>
bling bling bling
</button>

Posted: Tue Jun 28, 2005 12:50 pm
by adixtopix
yes, that one is what i was looking for

10x