L
L
lexchz2015-07-18 23:40:38
css
lexchz, 2015-07-18 23:40:38

How to remove gap after block in mobile browser?

Hi all. Tell me how to remove a thin gap (visually it seems like half a pixel in thickness) formed between the site blocks in a mobile browser? There are no indents in the styles, and everything looks fine in desktop browsers, and everything looks fine in mobile Firefox. The problem is seen in mobile Chrome and Opera.
There is an assumption that the reason is the fractional value of the site height in pixels. I'm attaching a screenshot. On the screenshot - a thin gap between the penultimate and last blocks of the site.6252f690dd3c43f691e61beb87636694.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
expeerd, 2015-07-18
@lexchz

In the order of the crutch: make a negative margin at the bottom block, and compensate for the offset with padding.
Another option - if the positioning of the bottom block is absolute or fixed - you can also make a border near the bottom block from above by a pixel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question