View Full Version : Styling issue with custom control button

02-10-2011, 07:55 PM
Hi, I inherited an ASP site (I'm a newb) and there is a custom control button which appears next to a standard ASP submit button.

For some reason, the custom control button's corners are very pixelated. I'm trying to set up a CSS class to mimic the "standard" style for a submit button, but I'm not sure what the default attributes are.

Here's the difference between the asp control (left) and custom control (right):

Any idea what styles I can apply to the custom control so that it looks like the default submit button?

02-10-2011, 11:29 PM
Ok, I think I found the solution. I put a Width parameter on the custom control and the button now looks like the standard submit button without the pixely edges.

The problem was that the edges were getting more blurry and pixely the wider the button was. It looks like if the width goes beyond about 190px then the borders have the pixel issue. Set the width to about 160px and it looks normal now.