File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes size of  submit button withn a table cell? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "size of  submit button withn a table cell?" Watch "size of  submit button withn a table cell?" New topic
Author

size of submit button withn a table cell?

Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
Hi all
How to manage and control the width and the height of a submit button inside a table cell,is ther anyway to do that.
Thanks alot.


Thanks for your help.
xavier romea
Ranch Hand

Joined: Jun 28, 2001
Posts: 37
I'm afraid you cannot control the width and the height of any button in a HTML form.
But you could use an submit image instead of a submit button. Therefore, you could set the width and the height of the image.
Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
thanks for the reply,would you please send me a sample code?
thanks.
xavier romea
Ranch Hand

Joined: Jun 28, 2001
Posts: 37
just replace <input type="submit" ...
by <input type="image" src="..." ...
Chris Stehno
Ranch Hand

Joined: Feb 26, 2001
Posts: 180
You can also use CSS to alter the dimensions of the button ...
<input type="button" value="Test Button" style="height:200;width:300;">
This should work in IE and NS6, maybe in older NS...


- Chris Stehno, SCPJ
Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
thanks alot guys
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: size of submit button withn a table cell?
 
Similar Threads
Button in Table Cell
how to read html table in servlet
How to set focus on submit button on press of enter key
Help on table edited data capturing
Need help on JTable capturing EDITED data ..