If you are using a series of button_to UrlHelpers in Rails and want the buttons to line up horizontally on a row you can use this CSS to accomplish it:
/* ./app/assets/stylesheets/button_to.css.scss */
form.button_to {
margin:0;
padding:0;
display:inline;
}
form.button_to div, form.button_to div input {
display:inline;
}
If you are using Rails 3.x's asset pipeline, remember to add a line to your application.css to include the button_to asset - assuming you're breaking out your styles into separate files.