Place a widget side by side rather than on top of each other

The markup for widgets depends on sidebar they are placed in and controlled by wp_register_sidebar() arguments, used for it.

The actual presentation of them in front end depends on how theme styles that markup. This is mostly CSS issue and has little to do with WordPress.