A
A
Alexander2017-07-05 23:20:51
Yii
Alexander, 2017-07-05 23:20:51

How to remove line breaks from inputs when generating a form via ActiveForm?

For some reason I couldn't find an answer to this question in my search. It's bad that yii wraps the input to a new line by default.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-07-07
@BugFixMan

float: left;
margin-right: 25px;

This code solved my problem. I created a separate class with these properties and attached it to the input. Perhaps someone will come in handy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question