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
3 Respuestas
+ 1
Try
div.one{
float:left;
width:60px;
margin-left:5px;
}
div.two{
float:left;
width:60px;
margin-left:20px;
}
+ 2
In your case, one class name is sufficient.
0
thanks calvin i get it..i think i dont have to use more than one word for a name value class.