• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html input button's value in two lines

 
Hariom Tiwari
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have to display a button's value in two lines.
for example
hello
hello
how we can do this?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Button tag is what you probably want to use and not an input type="button".



Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64716
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using a hard carriage return to effect this makes me shudder. I much prefer Eric's solution.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree with that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic