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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
adixtopix
Forum Newbie
Posts: 17
Joined: Thu Jun 23, 2005 7:02 am

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

Post by adixtopix »

is it possible to have a button with multiple lines?
Last edited by adixtopix on Tue Jun 28, 2005 12:51 pm, edited 1 time in total.
adixtopix
Forum Newbie
Posts: 17
Joined: Thu Jun 23, 2005 7:02 am

Post by adixtopix »

i mean having more than one lines of text
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Untested

Code: Select all

<input type=&quote;submit&quote; name=&quote;submit&quote; value=&quote;Submit\r\nNew Line&quote; />
User avatar
wwwapu
Forum Contributor
Posts: 197
Joined: Wed Apr 07, 2004 11:57 am
Location: Turku, Finland

Post 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.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

using <button> you can inject regular html (even images etc).

Code: Select all

<button>
test blah bling<br>
bling bling bling
</button>
adixtopix
Forum Newbie
Posts: 17
Joined: Thu Jun 23, 2005 7:02 am

Post by adixtopix »

yes, that one is what i was looking for

10x
Post Reply