There seems to be some extra space at the bottom of a form when it's placed inside a div. How can we remove that unwanted space?
In examples from stack overflow, the extra space is not visible in the code snippets provided. However, it appears elsewhere. The following code snippet displays the issue:
div {
border: 1px solid blue;
}
form {
border: 1px solid red;
}
<div>
<form>
Form
</form>
</div>