How to put two divs on the same line with CSS in simple_form in rails?
问题 Putting two divs on the same line is an old question. But I can't find a solution when working with simple_form in rails. What I want to do is to display content and its label on the same line. The width of the label is 125px ( .left ) and the content is on the right ( .right ). The text in the label is aligned to the right and the text in content is aligned to the left. Here is the HTML: <form id="new_production" class="simple_form new_production" novalidate="novalidate" method="post" action