How to align divs horizontally

Hello All. I'm using the buddypress plugin bp-profile-search. Currently im trying to align the search button with the corresponding form. Both of these are wrapped inside div tags in the bp-searchform.php. Any ideas on how to align them?