aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes html input button's value in two lines Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "html input button Watch "html input button New topic
Author

html input button's value in two lines

Hariom Tiwari
Greenhorn

Joined: Jun 15, 2008
Posts: 10
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

Joined: Oct 08, 2006
Posts: 2458


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15362
    
    6
Button tag is what you probably want to use and not an input type="button".



Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

Using a hard carriage return to effect this makes me shudder. I much prefer Eric's solution.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Agree with that.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: html input button's value in two lines
 
Similar Threads
dynamic form processing
jstl question
JSF page refresh after csv file download.(POI)
Buttons EventHandler and Property-Setting
html radio