This is simply because display:inline-block
isn't fully supported by IE7. Reference here.
If you want full support, just float the elements.
#button-panel {
float:left; /* right */
}
Note, floating an element takes it out of the flow, so you might need to add something like overflow:auto
to the parent - assuming the content is collapsing because a fixed height
/width
isn't set.