I have a div in my page which takes up the full length of the screen. Under it I have another, similar div. I want a gap between them, so I set margin-bottom: 50px for the first one.
In Firefox, this has no effect, and places the divs right next to each other. But, if I give the first one a border (border: 1px solid black) the gap suddenly appears! The gap isn't there is no border is set for the first one.
What is going on here?
Thanks
Calum
In Firefox, this has no effect, and places the divs right next to each other. But, if I give the first one a border (border: 1px solid black) the gap suddenly appears! The gap isn't there is no border is set for the first one.
What is going on here?
Thanks
Calum