At first thank you for your reply. I took a look and tried to learn something new. But still, I have one question - <div id="category-1" class="category-box"> - what does the class stands for? There is already an ID for the div but why do we need the class?
So the basic problems - I didn't have wrap div and I overused margins. So they "blocked the code" and it couldn't fit next to each other.
I'm glad you took your time to fix my code and help me with the problem. The flexbox link was pretty useful for me.
If I want to have little spacing between each columns, should I use width to get the spacing?
How can I make the text margin smaller inside the container?
Do you have any other tips and tricks for me - I'm waiting for tips and tricks.
Best of luck
Edited by Marmets, 08 May 2017 - 18:13.