Centering controls on a Web Form

  • Thread starter Thread starter Joe Bonavita
  • Start date Start date
J

Joe Bonavita

I'm sure this is a stupid question but I'll ask anyway :)

Is there a way to center controls on a Web Form? I notice Dreamweaver
centers the controls by default.

The problem I have is if I have 2 images on 2 seperate panels they display
differently with different resolutions.
 
You could always put the controls inside an html table and set the TD's to
align=Center.

<table width=100%>
<tr>
<td align=center>SomeControl</td>
<td align=center>SomeOtherControl</td>
</tr>
</table>
 
Back
Top