Format inline drupal form elements I got this:



As you see I already aligned label and input field inline with CSS, because they are both inside same container, but the button is outside. I was wondering if I could somehow move the button inside the container? So then I could format all elements into one line.
That's typical in Drupal. In this very moment, This is the CSS styling I use in scenario similar to yours:

.some-div-class label,  .some-div-class input[type="text"] {
  display:inline;
  width:auto;
  font-size:0.8em;
}


This will work fine on mobile devices as well.

Please do note your own CSS may need a bit more work.