First off, this is my first post, though TheScripts has solved gazillions of my C/PHP/SQL/HTML problems for years.You guys rock!
That said, consider the table cell
[HTML]<td> <!--Adding 'height=100' makes it easier to view; 'style="vertical-align:middle"' is default -->
<form>
<input name="button" type=button value=Go>
</form>
</td>[/HTML]
This will produce a cell with a button vertically centred, but visibly
off: the button is being centred by its baseline, not its true centre.
What CSS can be applied to truly make this button vertically centred
(i.e., the space above and below is equal)?
Also consider what happens when Line 1 is replaced with <td style="vertical-align:bottom">. White space appears between the button and the cell floor, and nothing--not margin:, not border-spacing, nothing--seems to be able to get rid of it. What can be done to make the button actually touch bottom? Perhaps this space is impacting how it centres?
Thanks!