Hot Software News at Z5software
We deliver breaking news related to Software Development Industry
-
Oct12No Comments
I am trying to set the width of a form so it stays on the same line in a table “td” with other items.
Please see code below and offer any help.
Suggestion:
First - no width attribute on a hidden input, and width is invalid on input type=”image” as well. I’m *pretty sure* the same is true of the border on input type=”image”, if you want a border you’re best to style it. Or, use input type=”submit” and style the submit with a background image.
Try
form { margin:0;padding:0; white-space: nowrap; }
#submit-img { border: 1px solid #000000; }
