Why aren't the boxes in line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
26th Jul 2017, 10:17 AM
Prabhakar Dev
Prabhakar Dev - avatar
3 Answers
+ 4
use float in both b1 and b2 css
26th Jul 2017, 10:24 AM
Sumit
Sumit - avatar
+ 3
if you want ro create 3x3 grid use different id. make different boxes so they will not collide
26th Jul 2017, 10:42 AM
Sumit
Sumit - avatar
0
But I have to create a 3x3 matrix of such boxes and the float attribute creates problems
26th Jul 2017, 10:32 AM
Prabhakar Dev
Prabhakar Dev - avatar