![Several methods of removing the gap between inline-block elements in CSS are explained in detail. | Develop Paper Several methods of removing the gap between inline-block elements in CSS are explained in detail. | Develop Paper](https://imgs.developpaper.com/imgs/2018111315543536.png)
Several methods of removing the gap between inline-block elements in CSS are explained in detail. | Develop Paper
![Snook on Twitter: "My guess is that <canvas> is inline-block, which will have a gap underneath it (like images do) due to alignment within text boxes. A font-size:0 on container or display:block Snook on Twitter: "My guess is that <canvas> is inline-block, which will have a gap underneath it (like images do) due to alignment within text boxes. A font-size:0 on container or display:block](https://pbs.twimg.com/media/DVN-0CaX4AEqWxG.jpg)
Snook on Twitter: "My guess is that <canvas> is inline-block, which will have a gap underneath it (like images do) due to alignment within text boxes. A font-size:0 on container or display:block
![Center block or inline-block (single instance per row) elements without wrapper but with padding-like gap - Stack Overflow Center block or inline-block (single instance per row) elements without wrapper but with padding-like gap - Stack Overflow](https://i.stack.imgur.com/l0niS.png)