| View previous topic :: View next topic |
| Author |
Message |
msanitanash
Joined: 03 Mar 2008 Posts: 9
|
Posted: Sun Mar 09, 2008 8:16 pm Post subject: help with centering |
|
|
These are in a table I am trying to get these two center on the page
they are the order button and the reset button on my form. Just cant figure out how to get them center
<input type="submit" value="Place Your Order Now!" />
<input type="reset"value="Reset Your Order"/>
</td> |
|
| Back to top |
|
 |
|
|
instinct46
Joined: 27 Mar 2007 Posts: 39 Location: St Helens, England
|
Posted: Mon Mar 10, 2008 11:38 am Post subject: Re: help with centering |
|
|
<DIV align="center">
<input type="submit" value="Place Your Order Now!" />
<input type="reset"value="Reset Your Order"/>
</DIV>
</td> |
|
| Back to top |
|
 |
msanitanash
Joined: 03 Mar 2008 Posts: 9
|
Posted: Tue Mar 11, 2008 3:51 pm Post subject: Re: help with centering |
|
|
| This did not work |
|
| Back to top |
|
 |
killer-kurt
Joined: 12 Mar 2008 Posts: 10 Location: Wales UK
|
Posted: Wed Mar 12, 2008 2:17 pm Post subject: Re: help with centering |
|
|
Well my friend that should work. If not then you are doing something wrong. Alternativly you could try,
| Code: |
<center>
<input type="submit" value="Place Your Order Now!" />
<input type="reset"value="Reset Your Order"/>
</center> |
or even do it in your TD tag:
| Code: |
<TD align="center">
<input type="submit" value="Place Your Order Now!" />
<input type="reset"value="Reset Your Order"/>
</TD> |
But the div tag should work. They are all tried and tested and work fine. |
|
| Back to top |
|
 |
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 630 Location: Cebu City Philippines
|
|
| Back to top |
|
 |
DDragon 50+ Club
Joined: 20 Jun 2007 Posts: 90 Location: Australia
|
Posted: Thu Mar 13, 2008 12:57 pm Post subject: Re: help with centering |
|
|
| could use CSS to do it all for you.... but i would agree with killer (not about using <center> but putting it with the <td> tag |
|
| Back to top |
|
 |
killer-kurt
Joined: 12 Mar 2008 Posts: 10 Location: Wales UK
|
Posted: Thu Mar 13, 2008 4:09 pm Post subject: Re: help with centering |
|
|
Yes your right and i dident know that. Here is the replacement but already suggested!
| Code: |
| <div style="text-align:center"> |
|
|
| Back to top |
|
 |
|