|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 3/2/2007 9:11:00 AM
Posts: 1,
Visits: 1
|
|
| While applying the CSS for button in ASP.Net. I have a problem in button width. Text in the button always showing with Padding. I dont want padding in the button. Here is the CSS for button. .Button ,.CommandButton{ padding: 0 0 0 0;margin: 0px auto;text-align: center;text-decoration: none;border-style:none;border-right: #4e5e7d 2px inset;border-top: #4e5e7d 2px solid;font-weight: bold;font-size: 11px;border-left: #4e5e7d 2px solid;color: White;border-bottom: #4e5e7d 2px inset;font-family: verdana;background-color: #4e5e7d;} Please help me for this. Advance Thanks
Regards,
Ayyanar. J
Senior Software Engineer
Avinaya Information Systems
|
|
|
|
|
Admin
      
Group: Administrators
Last Login: 4/27/2009 7:34:30 AM
Posts: 46,
Visits: 52
|
|
| I would try margin: 0px; without the auto because that will force the margin to be 0px.
|
|
|
|