How to make the elements float to the left | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make the elements float to the left

19th Dec 2018, 8:16 PM
David Forero
David Forero - avatar
3 Answers
+ 4
David Forero this is how it is done: <!--HTML Code--> <div class="first"> <p>Element to be floated</p> </div> /*CSS code*/ .first{ float:left; } Also go through the lesson below: https://www.sololearn.com/learn/CSS/1115/
19th Dec 2018, 8:30 PM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 1
Tq <3
31st Dec 2018, 7:24 PM
David Forero
David Forero - avatar
+ 1
Tq <3
31st Dec 2018, 7:24 PM
David Forero
David Forero - avatar