I have a button in a table cell that won't vertically align to the middle. In fact it won't respond to any align code. I've tried putting valign="middle" in the <td> tag. I've tried using align="middle" in the <input> tag. The button won't budge. Any ideas? Here's the code.
None of my CCS code includes alignment formatting. Here is it.
Code:
<table class="display" width="100%" align="left" cellspacing="10" border="1">
<tr>
<td align="left" class="projecttitle"> Project:<cfoutput query="getprojectname"> #projectname#</cfoutput>
</td>
<td align="right" valign="baseline">
<cfoutput query="getheaderfooter">
<form action="#homelinkactionpage#" method="post">
<input type="button" class="button" value="#homelinktext#" onClick="this.form.submit();" align="bottom">
</form>
</cfoutput>
</td>
</tr></table>
Code:
.button
{
background-color:#FFFFFF;
font-size:11px
}
td.pagetitle
{
font-family: verdana, arial;
font-size: 30px
}
table.display
{
background-color:#8B181C;
color:#ffffff;
font-size:9px;
font-family: ms sans serif
}