By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

Help: creating a button with mulitline of text

P: 9
I am trying to create a button with multilines of text.

<input type="submit" name ="switch" onclick="return confirm('Turn off httpd server?');" value="Turn OFF HTTP Server">

I tried "\n" between words but didn't work.
Please help me out.
Sep 22 '06 #1
Share this Question
Share on Google+
2 Replies


kestrel
Expert 100+
P: 1,071
go here
HTML Editor
and put in this code

Expand|Select|Wrap|Line Numbers
  1. <input value="Submit the document for validation 
  2.  
  3.  
  4.  
  5.  
  6.  
  7. to  the W3C validator" type="submit">
  8.  
for me at lease, the browser will observe line breaks in the value="" part of the input.

try it out, let me know
Sep 22 '06 #2

ronverdonk
Expert 2.5K+
P: 4,258
DON't OPEN THE SAME THREAD IN DIFFERENT FORUMS!!!
Sep 24 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.