The display property decides whether or not an element appears on the same line.

Make sure to pick display.