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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiline Form Button 1

Status
Not open for further replies.

Nebooaw

Programmer
Jun 1, 2001
142
GB
Hi, does anyone know if it is possible to create a multi line button on a form?

ie display a button that looks like;

-------
| Multi |
| Line |
-------


Kindest regards,

 
try this...
Code:
document.myForm.myButton.value = "Multi[COLOR=red]\n[/color]Line"

Tony
________________________________________________________________________________
 
You can also do this in HTML by placing the cursor next to the top word and hit enter. Use backspace if you need to move it over. I also use this method for multi line tool tips.

Code:
<INPUT TYPE=SUBMIT VALUE="Submit
Form">


Hope I have been of some help,
Micheal

FrontPage Form Tutorials & Form ScriptExamples
 
No way. That's a space just like any other.

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Thanks AMysticWeb, works a treat!


Kindest regards.
 
What?

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Wow, that's some crazy sh*t.

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
absolutely...

Known is handfull, Unknown is worldfull
 
It might be literal inside a value=""...

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top