Lessons

The block goes off the screen

Here is a list of layout errors that cause some of the content to be cut off:

A frequent case when the page looks correct, but 1 element goes out of the screen. In this case, this is the site menu.
A frequent case when the page looks correct, but 1 element goes out of the screen. In this case, this is the site menu.
  1. Elements with the position: absolute/relative/fixed property do not have the left, right, bottom, and top properties set correctly. Because of what they are only partially visible.
  2. Negative values in the margin property shift the element so that it is cut off.
  3. The size of the picture is set so that it goes beyond the screen.
  4. The text does not fit in the allotted space and stretches the blocks so that they go beyond the boundaries of the screen.

All of these cases make the site look bad.

Tariff plans for working with the service

We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree