rozerro rozerro - 9 months ago 46
CSS Question

A floating does not work properly

There are some menu items with floating

property. But if I make screen small then one of the menu items (which is named
e.g. third from the left) does not fully stick to left side.

Why is this?

This looks like

enter image description here


Instead of using float, try inline-block.

.link {
    display: inline-block;
    margin-right: 35px;