[ApiSandbox] fix regression from
r109726 in some browsers
* select and input elements have different box models in different browsers, decreasing width by 1em so that it won't cause overflow
* use '' instead of '-' consistently
* give selects the same width as well
* buttons were not aligned to the right in IE7. Fixed by using float instead of text-align and relying on inline-block from jQuery UI.