rozerro rozerro - 1 year ago 91
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

Answer Source

Instead of using float, try inline-block.

.link {
    display: inline-block;
    margin-right: 35px;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download