How to align a button inside a table cell!
Posted on 2006-10-30
This button will not align to the center of the td cell. It always stays at the to of the cell, which looks bad because the other cells end up below.
I've tried everyting I can think of to center the button inside the table but so far nothing works. If I have to use a style, I'd rather do so on the input line instead of css. But if not, then I'm open to ideas. This must be simple, but not for me.
<table border="1" align="center">
<td align="center" valign="middle">
<form name="form1" action="page1.cfm" method="post">
<input type="submit" value="ShowPage1">
Text in table td cell goes here.