If you mean the sort by location list (you could have been specific!) then it's sitting outside the <p> element, so can't sit with it. Even if you try to put the form inside the p, the browser might just close off the <p> anyway, so you will still be out of luck. An alternative is to remove the <p> element and just wrap a div around the text and form. Then the form will sit inline. You'll just have to style the text inside the div to match the styles you had on your <p>.