Wednesday, September 7, 2011

IE buttons become extra wide

بسم اللہ الرحمن الرجیم
I was surprised to find that IE draws buttons with extra extra extra padding making them too wide.
I use css to shape my buttons, and I had to add the following line to the button's css to prevent it from becoming extra wide:

  overflow: visible;

For more on this issue, check out: An Even Better IE Button Width Fix

Although that blog says the fix does not work inside table cells, it worked for me. Maybe because my button is encapsulated in a <span>.