There is some extra space after div with id "header" element (second div). If I remove p, no space between div element. how to kill space between two div element without removing p element and why it act like it?
body {
margin: 0px;
padding: 0px;
}
div#page {
width: 960px;
margin: 10px auto;
}
div#header {
width: 960px;
height: 80px;
background-color: lightgray;
}
div#main {
height: 400px;
width: 960px;
background-color: antiquewhite;
}
<div id="page">
<div id="header">header</div>
<div id="main">
<p>we make your business</p>
<p>Con panna organic americano grinder single origin white mug chicory arabica breve cortado. In sit, aromatic lungo shop body redeye.</p>
<form action="" method="post">
<button>about us</button>
</form>
</div>
</div>