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!

Submit Button Value 1

Status
Not open for further replies.

wood

MIS
Aug 3, 2000
139
CA
I have a submit button that is very large because of the title (value).

Does anyone know how to make the text appear on two lines so that the button will be a smaller width? I need this to work with IE and NS.
 
You can just type in your code editor button value on two lines:

<input type=&quot;button&quot; value=&quot;very very press [Enter] here
long text&quot;>

Not so beautiful but simple solution.
Works in IE and Mozilla/N6 - but not in NN4.
 
That works great in IE, but in NS the button is still long and now has two square characters in it.
 
There's no such a thing as &quot;NS&quot;.
As I told you, it works in Mozilla/Netscape6+, but doesn't work in NN4 (and there's no way to do it there).
Netscape 4.x and Netscape 6.x (and above) are completely different browsers.
 
Here's an article which dicusses your particular problem. While the author genrally tells you &quot;don't do it&quot; (and provides sonme very good arguments), the article does show you several methods for altering the look of your button through various methods, including using '<input type=&quot;image&quot; ....>' instead of a submit button, which allows you to use a graphic instead of the &quot;plain gray button&quot;.

Hope this helps.
Ciao, K----------------
&quot;If you were supposed to understand it, we wouldn't call it code&quot; - FedEx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top