How can I make an item appear on the right side and not down using css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make an item appear on the right side and not down using css?

3rd Jul 2017, 2:50 AM
Alexander Richards
Alexander Richards - avatar
3 Answers
+ 2
Sounds like a quizz/challenge question ^^ float:right; ... is probably the expected css property/value answer :P (even if there are others ways)
3rd Jul 2017, 6:13 AM
visph
visph - avatar
0
best solution is css, but you can use dir="rtl" attr for item's parent.
3rd Jul 2017, 3:05 AM
Mostafa Heidarian
Mostafa Heidarian - avatar
- 1
float:right is the best way. Or rather use a framework like bootstrap which has a pretty good grid system.
3rd Jul 2017, 9:22 AM
Junaid Shah
Junaid Shah - avatar