Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I have two lines of text in a html form button? 2

Status
Not open for further replies.

nerram

Programmer
Apr 23, 2003
56
IE
i want two lines of text in a button--
try IMAGINE BELOW AS A BUTTON
----------
| Hello |
| World |
----------
I need this in a button (no images).
ANY IDEAS WOULD BE GREATLY APPRECIATED EVEN IF IT IS TO SAY IT CANT BE DONE.
 
<input type=&quot;button&quot; value=&quot;this is one line
and this is another&quot;>

simple but effective [smile]

_________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
CHEERS GOOD WORK-ITS GOOD TO KNOW THE SIMPLE TRICKS OF THE TRADE I WAS TRYING TO DO THAT FOR AN HOUR
 
why are you yelling?

[Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
<input type=&quot;button&quot; value=&quot;this is one line
and this is another&quot;>


no way!!!! [rockband]

LOL that's killing me.. as soon as i stop laughing at myself i'm going
to click my mouse to give that a star

-pete

 
You can also use a Line feed (&amp#10;)or a Carriage Return (&amp#13;) like:

<input type=&quot;button&quot; value=&quot;this is one line&amp#10;and this is another&amp#13;here the third&quot;>

Erik


<-- My sport: Boomerang throwing !!
!! Many Happy Returns !! -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top