The gap between the ul
element and the div
element was actually the margin related to the ul
element.
To remove it, give margin-bottom: 0px
to the class name of the ul element.
ul.stats{
margin-bottom: 0px;
/* other css properties */
}