content editor input fields on the same line?

Is there a way to configure certain input fields to be displayed on the same line? for example:

field1: [ ] field2[ ]