Monday, January 26, 2009

Oversized buttons in IE

Yeah ... just another problem with IE.

Lucky for all of us there are some people that can hack their way through the IE bugs.

Here is a fix for this problem:
input.button {
  padding: 0.25em;
  width: 0;
  overflow:visible;
}
input.button[class] { /*ie ignores [class]*/
  width: auto;
}
Post a Comment