![CSS display properties: block, inline, and inline-block — & how to tell the difference | by Daphne Watson | Medium CSS display properties: block, inline, and inline-block — & how to tell the difference | by Daphne Watson | Medium](https://miro.medium.com/max/1400/1*CX_Rtnj1RHJKNoU0gptuug.png)
CSS display properties: block, inline, and inline-block — & how to tell the difference | by Daphne Watson | Medium
![Help! Why I'm gettin' those spaces between my elements? I have setted all elements with zero margin and padding and displayed into inline-block. Im so confused!! : r/css Help! Why I'm gettin' those spaces between my elements? I have setted all elements with zero margin and padding and displayed into inline-block. Im so confused!! : r/css](https://preview.redd.it/help-why-im-gettin-those-spaces-between-my-elements-i-have-v0-u3v3hpq2aj491.png?width=640&crop=smart&auto=webp&s=178cec8b2b901b9fcea5366eca38a98d730bd0ca)
Help! Why I'm gettin' those spaces between my elements? I have setted all elements with zero margin and padding and displayed into inline-block. Im so confused!! : r/css
![CSS display properties: block, inline, and inline-block — & how to tell the difference | by Daphne Watson | Medium CSS display properties: block, inline, and inline-block — & how to tell the difference | by Daphne Watson | Medium](https://miro.medium.com/max/1400/1*bzGnmKnDlld0aNetppaDVQ.png)
CSS display properties: block, inline, and inline-block — & how to tell the difference | by Daphne Watson | Medium
![Using Inline-Block To Provide Consistent Padding And Element Width Inside An Overflow Container In CSS Using Inline-Block To Provide Consistent Padding And Element Width Inside An Overflow Container In CSS](https://bennadel-cdn.com/resources/uploads/2020/overflow-wrapper-inline-block-width-padding-css.gif)
Using Inline-Block To Provide Consistent Padding And Element Width Inside An Overflow Container In CSS
![html - Why `*{display:block; margin:0 auto; }` in css to display all the css code on the web? - Stack Overflow html - Why `*{display:block; margin:0 auto; }` in css to display all the css code on the web? - Stack Overflow](https://i.stack.imgur.com/M2Zc7.png)
html - Why `*{display:block; margin:0 auto; }` in css to display all the css code on the web? - Stack Overflow
![alignment - css - vertical space being added on elements with display :inline-block - Stack Overflow alignment - css - vertical space being added on elements with display :inline-block - Stack Overflow](https://i.stack.imgur.com/fFhoO.png)