Keeping captions on a horizontal line

If I’m using the caption tutorial, how do I keep the captions moving on a horizontal line(x) without it moving vertically(y)?

thanks for your help in advance…