+ 2

How do I align this search box to the right?

https://code.sololearn.com/W62qIdvncQU6/?ref=app

18th Aug 2017, 7:22 PM
Abdul Rahman
2 Réponses
+ 8
one option would be to wrap your input element with another element (div for example) and set its text-align:right <div> <input /> </div> div{ text-align:right; }
18th Aug 2017, 7:40 PM
Burey
Burey - avatar
+ 2
try adding float: right;
18th Aug 2017, 7:37 PM
Peter
Peter - avatar