i have created about three divs one,two and three where float left is given to div one and float
right is given to second div and no float is given to the third,the third div is overlapping with the
first and second divs
How to avoid overlap of divs with each other
2
Answers
As per your question, if you have issue with floats, you need to apply
clear:both
to your third divApproach two: If you want three grids in same row, you can use css grid
Also see https://ronnieroyston.com/tools/css-flexbox. For even more powerful 2 dimensional control see CSS Grid.