DEV Community

loading...

Discussion on: The strange <img> gap in HTML

Collapse
christiankaindl profile image
Christian Kaindl Author

Yeah, float: left is a fast fix but it can also brak a layout very easily. A good alternative can be display: inline-flex instead of using float.