When a form is placed inside a div, for some reason there is always extra space at the bottom of the form. How do we get rid of this space?
In the code snippets from it does not actually show a space, but somewhere else. The code below is all there is.
div { border: 1px solid blue; } form { border: 1px solid red; }
<div> <form> Form </form> </div>
source share