The problem is that IE7 does not understand display: inline-block;
.
You can use a hack though, which will make it work the way you expected:
display: inline-block;
*display: inline;
zoom: 1;
Note: if you are creating a button, you should use a button
element. HTML is not only a series of div
s and span
s.