Odd, just cut and pasted your code into a new web app and tested it with both IE an mozilla - IE looked fine, mozilla didn't.
Saved the HTML source from IE - opened that in mozilla and it looked just like the IE version.
If you move the colour, height and width into a CSS file as class and set the buttons up that way they look fine in IE and mozilla but not in the IDE.