Distance between two <div> tags in a container in CSS Posted October 1, 2012 Hello. Can anybody explain me how can I set distance between two <div> in a container? Look at the example: <div id="container"> <div id="item1"></div> <div id="item2"></div></div> I need a distance between item1 and item2. I've already played with top, bottom, margin, but nothing help me. Then how?
Distance between two <div> tags in a container
in CSS
Posted
Hello. Can anybody explain me how can I set distance between two <div> in a container? Look at the example:
I need a distance between item1 and item2. I've already played with top, bottom, margin, but nothing help me. Then how?