0
Web
I want left and right to be side by side, where is the mistake? Help me pleasešš» https://code.sololearn.com/WvZo5FBE5fTD/?ref=app
3 Answers
+ 2
Div is a block element , i.e. it takes up all the space available horizontally and starts at a new line .
you should look into "display:grid" property.
Check your code that i wrote using it ,
https://code.sololearn.com/W85p9oXgTHZQ/?ref=app
i don't know what box-sizing model it is using but to me looks like it is border-box .
Between it's my first time using grid area property and it does the work , so thought of using it .You should definitely look into other ways to achieve it if possible(using grid or other methods)
+ 1
Thank you for your atentionš·
0
Look at my code , i used float and reolved the mistake