Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 12, 2012 09:28 PM by Eric V
Member
14 Points
95 Posts
Nov 12, 2012 04:05 PM|LINK
I have a button that has a css class associated with it. The class forces all button controls to float left. I need to have the button centered in a table without modifying the css class. Is there any way to do this without modifying the css class?
Star
14376 Points
2444 Posts
Nov 12, 2012 04:25 PM|LINK
Hi,
You can try like this:
<td align="center">
<input type="button" style="float:none!important;display:inline;" value="click" />
</td>
//expecting it should override the class rules and makes it work normal.
Nov 12, 2012 09:28 PM|LINK
That worked, thanks.
Eric V
Member
14 Points
95 Posts
Help to center button in table td tag
Nov 12, 2012 04:05 PM|LINK
I have a button that has a css class associated with it. The class forces all button controls to float left. I need to have the button centered in a table without modifying the css class. Is there any way to do this without modifying the css class?
raju dasa
Star
14376 Points
2444 Posts
Re: Help to center button in table td tag
Nov 12, 2012 04:25 PM|LINK
Hi,
You can try like this:
<td align="center">
<input type="button" style="float:none!important;display:inline;" value="click" />
</td>
//expecting it should override the class rules and makes it work normal.
rajudasa.blogspot.com || blog@opera
Eric V
Member
14 Points
95 Posts
Re: Help to center button in table td tag
Nov 12, 2012 09:28 PM|LINK
That worked, thanks.