why closing div adds 4px code example
Example: why closing div adds 4px
That happens because is an inline element.
To pretend this use in CSS:
.elementClass{
display: block;
}
That happens because is an inline element.
To pretend this use in CSS:
.elementClass{
display: block;
}