TheDarkKnight TheDarkKnight - 4 months ago 6x
CSS Question

Items jump round on hover


Try when you hover/mouseover one of the links in the tab, especially near EXTERIOR, ILLUMINATED, INTERIOR, PYLON , the items on the second row keep moves around.

I tried changing a few of the CSS on hover but it doesn't seems to work.
Anyone can help?


Remove float from .sortLink and use inline-block instead.

Use following css:

.sortLink {
    display: inline-block;
    vertical-align: top;
    color: #999;
    font-size: 14px;
    padding: 5px 8px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 5px 5px 0;
    transition-duration: 0.5s;