Q:

Jagged Button edges in Internet Explorer

How do you remove the jagged edges from a wide button in internet explorer?  For example:

A:

You can also eliminate Windows XP's styling of buttons (and every other version of Windows) by setting the background-color and/or border-color on your buttons.
Try the following styles:
background-color: black;
color: white;
border-color: red green blue yellow;

You can of course make this much more pleasing to the eyes. But you get my point :)
Stack Overflow uses this approach.

A:

As a workaround, you can remove the blank spaces on each end of the button, which has the effect of decreasing the jagged edges. This is accomplished with the following css and a bit of jQuery:
input.button {
   padding: 0 .25em;
   width: 0; /* for IE only */
   overflow: visible;
}

input.button[class] { /* IE ignores [class] */
    width: auto;
}

$(function(){
    $('input[type=button]').addClass('button');
});

The jQuery is for adding the button class. A more in depth write up can be found here.

