Have two lines of text in input button?
\n doesn't work and <br> definitely doesn't work.
http://jsfiddle.net/JmJ5e/1/
Thanks.
Show message
Join up (it's free!) whether you're just starting out or you're crazy advanced. Get tips from people who know what they're talking about, without being treated like the playground smelly kid. Because seriously, your school classes didn't teach you anything you wanted to know.

Posted 15 April 2012 - 03:31 PM (#1)
Posted 15 April 2012 - 03:33 PM (#2)
Posted 15 April 2012 - 03:37 PM (#3)
Sole_Wolf, on 15 April 2012 - 03:31 PM, said:
a? What a lot of applications are doing now, primarly because of UJS.
Posted 15 April 2012 - 03:49 PM (#4)
Posted 15 April 2012 - 04:56 PM (#5)
<Imp> [F3ar 40] [PWNbear 17] [magik 15] [dissident 10] [mark 7]
Kyek, on 07 February 2011 - 07:11 AM, said:
Posted 16 April 2012 - 03:17 PM (#6)
Lemon, on 15 April 2012 - 03:49 PM, said:
Posted 16 April 2012 - 05:52 PM (#7)
<button>element is the correct way to do this with actual buttons. <button>s can contain content like images, which makes them more awesome. You do need to make sure you style them correctly (if using custom styles for them), see http://particletree....button-element/ for some good examples.

Posted 16 April 2012 - 05:53 PM (#8)
Daniel15, on 16 April 2012 - 05:52 PM, said:
<button>element is the correct way to do this with actual buttons. <button>s can contain content like images, which makes them more awesome. You do need to make sure you style them correctly (if using custom styles for them), see http://particletree....button-element/ for some good examples.
Posted 16 April 2012 - 06:33 PM (#9)
ThatRailsGuy, on 16 April 2012 - 05:53 PM, said:
<Imp> [F3ar 40] [PWNbear 17] [magik 15] [dissident 10] [mark 7]
Kyek, on 07 February 2011 - 07:11 AM, said:
Posted 16 April 2012 - 07:31 PM (#11)
ThatRailsGuy, on 16 April 2012 - 06:54 PM, said:
[img]http://i.imgur.com/P2NYw.png[/img]
<Imp> [F3ar 40] [PWNbear 17] [magik 15] [dissident 10] [mark 7]
Kyek, on 07 February 2011 - 07:11 AM, said:
Posted 17 April 2012 - 04:34 AM (#13)
Posted 17 April 2012 - 05:59 AM (#14)
_Sam, on 17 April 2012 - 04:34 AM, said:
Posted 17 April 2012 - 07:07 AM (#15)
Posted 17 April 2012 - 07:21 AM (#16)
_Sam, on 17 April 2012 - 07:07 AM, said:
...
<style>
.button {
border: 1px black solid;
color: black;
background-color: white;
font-size: 16pt;
}
</style>
...
<div class="button">Clicky<br>Clicky</div>
<script>
$('.button').click(function () {
$(this).parent('form').submit();
});
</script>
...