How to remove margin between DIV blocks?


Please do not understand where does the padding between the blocks? for him the 4 elements with a width of 25% to fit on 1 line. Patient:
July 2nd 19 at 18:02
4 answers
July 2nd 19 at 18:04
Due to the fact that you have inline-block, between the blocks are white-space characters. Can do .my-teasert { font-size : 0} for example. Or use float.
please explain.. inline-block always inserts white space characters or something I have not provided? - christina commented on July 2nd 19 at 18:07
always - sienna.Stark commented on July 2nd 19 at 18:10
: thank you - christina commented on July 2nd 19 at 18:13
: : it does not by itself inserts spaces, of course. You have a newline in your code, which is considered a whitespace character. If the code tags will go directly to each other, these problems will not be, but the code is, of course, will look terrible. - Davon80 commented on July 2nd 19 at 18:16
by the way, as the font-size felitsa if you need nesting, the simplest solution for total exterminatus empty text node is manifestacija markup code. - gustave_Kertzmann52 commented on July 2nd 19 at 18:19
July 2nd 19 at 18:06
because of display: inline-block
July 2nd 19 at 18:08
.my-teasers .layers-masonry-column{ margin-right:-4px}
July 2nd 19 at 18:10
the <div>text</div><!--

Find more questions by tags CSS