ScottInTexas
12-17-2002, 08:11 PM
I would like to make the value of a button appear in two lines. Can this be done? I tried the \n but that worked perfectly to add \n to the value.
Thanks!
Thanks!
|
||||
A new line in a button value?ScottInTexas 12-17-2002, 08:11 PM I would like to make the value of a button appear in two lines. Can this be done? I tried the \n but that worked perfectly to add \n to the value. Thanks! redhead 12-17-2002, 08:23 PM methinks you'll have to use a <button> for that: <button>Hello<br>World</button> cant seem to make <input type="button">'s wrap even if i set specific padding/width/height: eg: <input type="button" value="Hello World" style="width: 50px; height: 50px; padding: 10px;"> does not wrap (tested ie6) hmm... ScottInTexas 12-17-2002, 09:02 PM Excelent! Still allows the onClick method so I didn't care if it was an input or not. Honestly I didn't know there was a button tag. I use the w3c reference all the time and just haven't seen it. Now I have two lines AND an image! Thanks again:D zoobie 12-18-2002, 10:31 AM IE5.5+ I believe. There's a better way that displays in all but I forget how it's done.:D cg9com 12-18-2002, 02:29 PM yea <button></button> isnt widely supported yet Catman 12-18-2002, 04:47 PM You could try this: value="Hello& #10;World" You'll need to take out the space between the & and the # (I put the space in so the characters would display). cg9com 12-18-2002, 07:30 PM yup that works, good idea :thumbsup: zoobie 12-19-2002, 01:10 AM I think that was it...&#10; :D |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum