Show field label at left/right of inputbox/valueoffield in detail view.

I added 'labelsOnTop' => false in record.php file of opportunity to display field label at left of inputbox or at right of inputbox. But it is shows label on top of inputbox. is there any other setting to achieve this?