mardi 21 avril 2015

2 columns li inside ul, wont fill 100% of the ul width

I can't get UL's li elements to fill 100% of the width (or near).

Something strange happens, because the first one is next to parent's boreder, but the second column, has like a 20 px offset from the right parent's border.

enter image description here

.latest-posts .latest-posts-widget ul {
    border: solid 1px;
}

.latest-posts .latest-posts-widget ul li {
    display: inline-block;
    width: 49%;
    border: solid 1px;
}

It is affected by Bootstrap 3 Also I have to use 49% because 50% wont make 2 columns Live page is under development in http://ift.tt/1yMeisF

Aucun commentaire:

Enregistrer un commentaire