Image inside div has extra space below the image
Why in the following code the height of the div
is bigger than the height of the img
? There is a gap below the image, but it doesn’t seems to be a padding/margin.
How do I make the pictures closer to eachother?
<div style=”padding-inline: 200px;” align=”center”> <h2 style=”font-size:4vw;”>Melngalvju nams</h2> <br> <br> <h2 style=”font-size:2vw;”>Vēsture</h2> <p style=”font-size:1.5vw;”>Rīgas Melngalvju nams (vācu: Das Schwarzhäupterhaus) ir atjaunots 14.—19. gadsimta arhitektūras piemineklis, atrodas Vecrīgā pie Rātslaukuma. Celtne vairākkārt pārbūvēta, lielākās nama pārbūves notikušas 1580., 1619.—1625. un 1886. gadā. Otrā pasaules kara laikā nodedzis, 1999. gadā Melngalvju nams tika uzcelts no jauna. </p> <div […]