0

I wanted to make the two paragraphs float side by side but i couldn't do it.

Can anyone tell me my mistake and show me the right code to make the two paragraphs float side to side?? https://code.sololearn.com/WHUSZykA0gMY/?ref=app

4th Dec 2017, 9:06 PM
Michael Gidey
Michael Gidey - avatar
3 Réponses
+ 1
Try div.one{ float:left; width:60px; margin-left:5px; } div.two{ float:left; width:60px; margin-left:20px; }
5th Dec 2017, 12:19 AM
Calviղ
Calviղ - avatar
+ 2
In your case, one class name is sufficient.
5th Dec 2017, 5:00 AM
Calviղ
Calviղ - avatar
0
thanks calvin i get it..i think i dont have to use more than one word for a name value class.
5th Dec 2017, 3:37 AM
Michael Gidey
Michael Gidey - avatar